Effacer les filtres
Effacer les filtres

MATLAB cannot recognize GPU device

2 vues (au cours des 30 derniers jours)
Jane
Jane le 10 Juil 2014
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?

Réponses (1)

Marcus Strobel
Marcus Strobel le 10 Jan 2015
Modifié(e) : Marcus Strobel le 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 :-)

Catégories

En savoir plus sur GPU Computing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by