Azzera filtri
Azzera filtri

MATLAB cannot recognize GPU device

2 visualizzazioni (ultimi 30 giorni)
Jane
Jane il 10 Lug 2014
Modificato: Marcus Strobel il 10 Gen 2015
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?

Risposte (1)

Marcus Strobel
Marcus Strobel il 10 Gen 2015
Modificato: Marcus Strobel il 10 Gen 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 :-)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by