필터 지우기
필터 지우기

MATLAB cannot recognize GPU device

조회 수: 2 (최근 30일)
Jane
Jane 2014년 7월 10일
편집: Marcus Strobel 2015년 1월 10일
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?

답변 (1개)

Marcus Strobel
Marcus Strobel 2015년 1월 10일
편집: Marcus Strobel 2015년 1월 10일
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 :-)

카테고리

Help CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by