MATLAB cannot recognize GPU device
3 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Marcus Strobel
on 10 Jan 2015
Edited: Marcus Strobel
on 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 Comments
See Also
Categories
Find more on GPU Computing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!