I am a new CUDA user. I am facing some trouble compiling the CUDA programs. Somebody please help me out
I copied the SOBOL QRNG folder within the “GPU Computing” onto my desktop.
In terminal with the path pointing to the SOBOL QRNG folder on my desktop, I typed
nvcc sobol_gpu.cu
I get the following error:
Undefined symbols:
“_main”, referenced from:
start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
What am I doing wrong?