I am very very new to CUDA programming. I am going through the examples that came with the SDK. I was able to compile the code, but when I run it, I get the following error:
"clock.cu(177) : CUDA Runtime API error 38: no CUDA-capable device is detected".
I have GeForce 8400M GS on my machine, and according to this list, it is a CUDA-supported GPU: http://developer.nvidia.com/cuda-gpus.
There are several things you can check to fix that error:
Make sure that your
/dev/nvidia*‘s permission is 666(
crw-rw-rw-) and owner root:rootIf you installed the SDK using
sudo, then you may need to changeto root first to execute the code
Make sure you’ve installed the compatible NVIDIA’s driver available in CUDA zone for your CUDA Toolkit