CUDA Runtime API error 38: no CUDA-capable device is detected

前端 未结 5 1779
悲哀的现实
悲哀的现实 2021-02-04 05:22

The Situation

I have a 2 gpu server (Ubuntu 12.04) where I switched a Tesla C1060 with a GTX 670. Than I installed CUDA 5.0 over the 4.2. Afterwards I c

5条回答
  •  闹比i
    闹比i (楼主)
    2021-02-04 06:05

    I had very similar problem on Debian and it turns out that loaded nvidia module had different version than libcuda1.

    To check for installed nvidia module you should do:

      $ sudo modinfo nvidia-current | grep version
      version:        319.82
    

    If it doesn't match version of libcuda1 this the root of your problems.

提交回复
热议问题