MATLAB cannot recognize GPU device
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm using MATLAB R2014a on Ubuntu 14.04 LTS and am trying to use my NVIDIA Tesla K20c (which should be supported on MATLAB) for GPU computing. My computer recognizes this because typing "nvidia-smi -a" and "nvcc --version" gives the expected output, but when I use the command "gpuDevice" in MATLAB, I get the error message "Error using gpuDevice (line 26) No supported GPU device was found on this computer. To learn more about supported GPU devices, see www.mathworks.com/gpudevice".
What should I do to make MATLAB recognize this device?
0 Kommentare
Antworten (1)
Marcus Strobel
am 10 Jan. 2015
Bearbeitet: Marcus Strobel
am 10 Jan. 2015
Hi Jane,
I've had the same problem with a Geforce 750 TI. If the Nvidia drivers work correctly u need to install the CUDA developer kit. There are some step-by-step manuals (for example: http://www.r-tutor.com/gpu-computing/cuda-installation/cuda6.5-ubuntu) but in the end it takes u these steps:
1) Download the Cuda kit 6.5 from http://developer.nvidia.com/cuda-downloads -> Linux x86 -> Ubuntu 14.04, x86_64-bit, deb
2) "$ sudo dpkg -i cuda-repo-ubuntu1404_6.5-14_amd64.deb"
3) "$ sudo apt-get update"
4) "$ sudo apt-get install cuda"
5) reboot :-)
0 Kommentare
Siehe auch
Kategorien
Mehr zu GPU Computing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!