dmlc/mshadow

"Cannot find CUDA device" error

yuconglin opened this issue · 1 comments

Hi Dear Supporters:
I was trying to run the test binary under mshadow/test,
the codes are https://github.com/dmlc/mshadow/blob/master/test/test.cu,
and I came across the error:
[11:44:24] ../mshadow/./tensor_gpu-inl.h:20: Check failed: (device_count) > (0) Cannot find CUDA device. Please check CUDA-Configuration
Aborted (core dumped)

 but I do have cuda device:
 ylin67@ylin67-Precision-M6800 ~/softwares/dmlc/mshadow/test master$ nvidia-smi

Fri May 19 11:50:07 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.39 Driver Version: 375.39 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro K4100M Off | 0000:01:00.0 On | N/A |
| N/A 54C P0 22W / N/A | 744MiB / 4035MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 10288 G ...s-passed-by-fd --v8-snapshot-passed-by-fd 124MiB |
| 0 26525 G /usr/bin/X 442MiB |
| 0 27142 G compiz 176MiB |
+-----------------------------------------------------------------------------+

 the commit hash: c037b06ddd810d39322cd056650f8b1f4763dd9d
 Can anyone help? Thanks a lot
szha commented

This code base has been donated to the Apache MXNet project per #373, and repo is deprecated. Future development and issue tracking should continue in Apache MXNet.