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][The real "Hello World!" for CUDA!]. 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.
[Settings][http://i.stack.imgur.com/nDOXh.png]
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!