"no CUDA-capable device is detected" with CUDA-capable GPU installed Win7

13.1k views Asked by At

I have installed cuda.7.0.28 into my laptop. I tried to run one of the sample file. I ran deviceQuery project and got this message:

cudaGetDeviceCount returned 38
-> no CUDA-capable device is detected
Result = FAIL

Then, I ran nvidia-smi.exe file and got this message:

enter image description here

As you see, it is written that "Not Supported". What should I do?

3

There are 3 answers

4
Dennis C Furlaneto On

nvidia-smi returning 'not supported' does not necessarily mean that your GPU does not have the ability to run CUDA code. It means that you don't have the ability to see the active CUDA process name using nvidia-smi.

Cuda-z might be of help here. Take a look at what it is here: http://cuda-z.sourceforge.net/

Also, I have to say I had quite a few problems getting CUDA running on Windows. If you really need to run it on Windows, make sure you go through this first: http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-microsoft-windows/#axzz3cNkYKZDP

Have you tried to run it on linux on the same machine? It was much easier to get it workinge.

0
Fuzzybear On

NVIDIA now provide a toolkit to install CUDA on windows (Linux or Mac also). It does a handy check of your system, to see if it meets necessary requirements for CUDA if you are unsure about your GPU

https://developer.nvidia.com/cuda-80-ga2-download-archive

0
Ethan Brown On

I've noticed that when my nvidia driver is updated during the system package update process (on Ubuntu) that I'll get this message. It is resolved by a reboot, or likely an X restart although I haven't tried that.

This was disconcerting the first time it happened since it was one of those "Hey! My code just ran fine. WTF happened?" moments.