Hi,
I just installed CUDA 7 on a Xen server.
My GPU is GTX 750 ti.
GPU driver and CUDA are installed properly i believe.
When I try to run deviceQuery from sample, it gives me:
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
cudaGetDeviceCount returned 38
-> no CUDA-capable device is detected
Result = FAIL
I am lost at this step as I have been writing CUDA program for a year now but I have never done it in Xen Server. Any pointer would be appreciated. The essential driver outputs (lspci, mvcc -V, nvidia-smi) are shown below, and I believe they all behave properly.
<i>lspci |grep -i nvidia</i> returns:
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)
01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1)
<i>nvidia-smi</i> returns:
+------------------------------------------------------+
| NVIDIA-SMI 346.46 Driver Version: 346.46 |
|-------------------------------+----------------------+----------------------+
| 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 GTX 750 Ti Off | 0000:01:00.0 N/A | N/A |
|ERR! 29C P8 N/A / N/A | 7MiB / 2047MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 C+G Not Supported |
+-----------------------------------------------------------------------------+
<i>nvcc -V</i> returns:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Mon_Feb_16_22:59:02_CST_2015
Cuda compilation tools, release 7.0, V7.0.27