I've installed CUDA 6.5 on my system (I did not want to use 5.5 since there are some features after version 6 that I need).
My system is a Notebook with an NVIDIA GPU, namely
lspci | grep -i
nvidia 03:00.0 3D controller: NVIDIA Corporation
GM108M [GeForce 840M] (rev a2)
I assume, that I installed CUDA correctly since I did not get any errors during the installation, and this seems to be correct
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2014 NVIDIA
Corporation Built on Thu_Jul_17_21:41:27_CDT_2014 Cuda compilation
tools, release 6.5, V6.5.12
NSight is also there.
I am able to compile simple examples and run them, however, there is no GPU computation performed and also no device detected ( cudaGetDeviceCount=0 ). I'm using the example presented here at this website. But instead of printing "Hello World", I get "Hello Hello". This lets me assume, that the computation on the kernel simply does not happen.
I don't know if this is strange:
nvidia-smi
Sun Aug 24 13:00:55 2014
+------------------------------------------------------+
| NVIDIA-SMI 340.32 Driver Version: 340.32 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce 840M Off | 0000:03:00.0 N/A | N/A |
| N/A 48C P0 N/A / N/A | 480MiB / 2047MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Compute processes: GPU Memory |
| GPU PID Process name Usage |
|=============================================================================|
| 0 Not Supported |
+-----------------------------------------------------------------------------+
Why does it say Not Supported for Compute processes?
I would like to know if I forgot to configure something for CUDA to work properly.
I REALLY want to avoid reinstalling NVIDIA drivers for my GPU since this has caused a lot of problems in the past. I'm afraid I could destroy something.
Here's an image of my NVIDIA settings.
and additionally
uname -a
Linux Zenbook 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
If you need further information, please let me know. Thank you very much!
For what is is worth:
nvidia-smi
prints the same for me, the diff being facts:
I have a GTX 780 and nvidia-settings correctly tells I have version 340.17 of the drivers.
$ uname -a
Linux wkbox 3.16.0-031600-generic #201408031935 SMP Sun Aug 3 23:36:11 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Why does it say Not Supported for Compute processes?
Maybe just a 'less obvious' way to tell there are no running processes?
Have you checked this:
http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/
... there seems to be some minute details on when to expect it to work or not.
No comments:
Post a Comment