Matlab Does not recognise NVIDIA GPU Card in the PC

64 views (last 30 days)
I am trying to use GPU NVIDIA Quadro 2000 with matlab 2017a but every time I am using gpuDeviceCount the answer is 0.
I have tried to update the driver of the gpu but the version was the latest one.
wish to solve my problem Thanks
Walter Roberson
Walter Roberson on 6 Oct 2017
Questions here are answered by volunteers. There are currently over 140 new questions being asked every day, and activity on about another 100 older questions, so there is activity on over 225 questions every day. Sometimes volunteers overlook questions; sometimes they just do not have time to look at over 225 questions every day -- a lot of the volunteers also have paid jobs that they have to attend to.
And... not all of the volunteers know everything about every topic, so whether you get a response or not can depend on whether the right volunteer happens to read your Question.
I have personally worked on over 65 different Questions within the last 24 hours. Your Question came in while I was sleeping, as did your reminder prompt about 2 hours later; when I woke up, I had a responsibility to deal first with the Questions I was already working on. With all the new Questions coming in, I did not see your Question until now.

Sign in to comment.

Answers (2)

Walter Roberson
Walter Roberson on 6 Oct 2017
Is that:
  • Quadro P2000 (CUDA capability 6.1)
  • Quadro M2000 (CUDA capability 5.3)
  • Quadro K2000 (CUDA capability 3.0)
What operating system are you using, and which distribution / release are you using? Which CUDA did you install?
If you just recently installed CUDA then you would have downloaded CUDA 9.0, which was not supported by MATLAB R2017a. MATLAB R2017a supported CUDA 8.0; you can download that from

Edric Ellis
Edric Ellis on 9 Oct 2017
Edited: Edric Ellis on 9 Oct 2017
Further to Walter's pertinent questions, I'd like to add: it's important to distinguish the CUDA driver from the CUDA toolkit.
CUDA Driver:
  • The CUDA driver allows the computer to access the GPU device for computation
  • All users must install a CUDA driver
  • It is always advisable to use the latest CUDA driver (NVIDIA ensure backwards-compatibility for CUDA drivers which mean that newer drivers are intended to work completely correctly with older applications)
CUDA Toolkit:
  • The CUDA toolkit provides support for compiling CUDA sources
  • Most users don't actually need to install the CUDA toolkit
  • The CUDA toolkit is needed only for compiling CUDA sources (e.g. for use with mexcuda or CUDAKernel)
  • If you do install the CUDA toolkit, ensure that the version matches the version used by MATLAB. The version used by MATLAB is described in the Parallel Computing Toolbox release notes
If after installing the latest CUDA driver, MATLAB cannot recognise the GPU device, then contact MathWorks support who are able to take you through additional debugging steps.



Community Treasure Hunt

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

Start Hunting!

Translated by