i want to try the cuda,while in hello.cu i have program like below,while i canโt have the right answer
after the compile and i got this
i want to try the cuda,while in hello.cu i have program like below,while i canโt have the right answer
add:
cudaDeviceSynchronize();
before the cudaDeviceReset();
line.
then try:
compute-sanitizer ./hello
Hi,Robert,thank you for you answer,now i use the compute-snitizer,and i got the question below
install the latest driver for your GPU
or switch to a CUDA version that is 12.0 or older.
thank,i use the Nvtoolkit12.0 and the problem was solved