So I’m compiling using
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Thu_Feb_10_18:23:41_PST_2022
Cuda compilation tools, release 11.6, V11.6.112
Build cuda_11.6.r11.6/compiler.30978841_0
and
nvc++ 22.3-0 64-bit target on x86-64 Linux -tp zen2
NVIDIA Compilers and Tools
Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SC(double, double &, double &, double &, double &):
1, include “astro.cu”
1016, Generating NVIDIA GPU code
Special_Astro_TripleProduct(Vector3 &, const Vector3 &, const Vector3 &, const Vector3 &):
1, include “astro.cu”
Vector3::CrossProduct(const Vector3&, const Vector3&):
1, include “astro.cu”
Vector3::mag() const:
1, include “astro.cu”
Vector3::dot(const Vector3&) const:
1, include “astro.cu”
obj/Util/astro.s: Assembler messages:
obj/Util/astro.s:4000: Error: junk at end of line, first unrecognized character is `,’
obj/Util/astro.s:4000: Warning: ignoring changed section attributes for .nvFatBinSegment
nvc++ -DDSFMT_MEXP=19937 -DUSE_MYSQL -I/usr/local/cuda/include -IHeaders -ta:tesla:cc70,managed -Minfo=accel -I/usr/include/mysql -Mkeepasm -c -o obj/Util/astro.o /tmp/tmp.cc
When I look at line 4000 of obj/Util/astro.s… it looks like this?
.size .Y0001.42794, 255152
.type .Y0002.42795,@object # @.Y0002.42795
.section .nvFatBinSegment,"a",@progbits,unique,1
.p2align 3
I assume “,unique,1” is the issue. Why is this happening, any way to fix/avoid this issue to get me compiling?