I have downloaded CUDA-SDK-samples, CUDA-Included-Driver,CUDA-toolkit from NVIDIA website. Also, the version of gcc is 4.8, and nvcc is already installed in ububtu.
Detailed Information of Ubunut is like this:
Linux cuda 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
When I try to check the NVIDIA driver using ‘nvidia-smi’ command, error msg appears:
Unable to determine the device handle for GPU 0000:07:00.0: Unknown Error
So, I used ‘deviceQueryDrv’ and result of the query is:
./deviceQueryDrv Starting... CUDA Device Query (Driver API) statically linked version cuInit(0) returned 101 -> CUDA_ERROR_INVALID_DEVICE (device specified is not a valid CUDA device) Result = FAIL
At first, I thought this msg means that CUDA is not supported on this GPU. However, it is in the list of NVIDIA-CUDA-SUPPORTED-PRODUCT. The informaition of this GPU is like this:
07:00.0 VGA compatible controller: NVIDIA Corporation Device 1001 (rev a1) (prog-if 00 [VGA controller]) Subsystem: NVIDIA Corporation Device 1078 Flags: bus master, fast devsel, latency 0, IRQ 40 Memory at dc000000 (32-bit, non-prefetchable) Memory at c8000000 (64-bit, prefetchable) Memory at d0000000 (64-bit, prefetchable) I/O ports at 4000 [virtual] Expansion ROM at dd000000 [disabled] Capabilities:  Power Management version 3 Capabilities:  MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities:  Express Endpoint, MSI 00 Capabilities:  Virtual Channel Capabilities:  Power Budgeting <?> Capabilities:  Advanced Error Reporting Capabilities:  Vendor Specific Information: ID=0001 Rev=1 Len=024 <?> Capabilities:  #19 Kernel driver in use: nvidia
NVIDIA Corporation Device 1001 is called ‘Titan Z’ and the driver installed in this computer is 331.xx.
I cannot figure out which part is wrong.