Then just to resume in other words, with the GeForce GT540M I should use Matlab R2017b with CUDA Toolkit 8.0
may I use R2019b with CUDA 9.1
5 views (last 30 days)
Show older comments
Marcantonio Sommacal on 29 Jan 2020
Commented: Walter Roberson on 15 Jul 2020
Table 1. CUDA Toolkit and Compatible Driver Versions
CUDA Toolkit Windows x86_64 Driver Version
CUDA 10.2.89 >= 441.22
CUDA 10.1 (10.1.105 general release, and updates) >= 418.96
CUDA 10.0.130 >= 411.31
CUDA 9.2 (9.2.148 Update 1) >= 398.26
CUDA 9.2 (9.2.88) >= 397.44
CUDA 9.1 (9.1.85) >= 391.29
CUDA 9.0 (9.0.76) >= 385.54
CUDA 8.0 (8.0.61 GA2) >= 376.51
CUDA 8.0 (8.0.44) >= 369.30
CUDA 7.5 (7.5.16) >= 353.66
CUDA 7.0 (7.0.28 >= 347.62
For my GeForce GT540M the last driver version is 391.35 so I should use CUDA Toolkit 9.1. Is Matlab R2019b compatible with this CUDA Toolkit version?
That is correct -- there is no support for Fermi cards beyond that toolkit version / MATLAB release.
More Answers (3)
Jason Ross on 29 Jan 2020
Edited: Jason Ross on 29 Jan 2020
You can generally upgrade a driver to a newer version, the CUDA toolkit a newer driver supports is backwards-compatible with previous versions.
It doesn't work the other way -- if your driver is too old and you are trying to use a MATLAB that has a dependency on a newer toolkit version, an error will be produced telling you to update your driver. Looking at this page it looks like you will get that error. I confirmed on the nvidia page that the latest driver only supports CUDA 9.1.
Also note that you only need to install the driver to have MATLAB use CUDA. Installations of the toolkit and SDK are not required.
Edited: Jason Ross on 30 Jan 2020
nVidia provides backwards compatibility for older toolkit drivers in newer drivers. So this provides backwards compatibility for software developed using older toolkits with newer drivers. This implicitly assumes that the hardware is also supported by nVidia. For example, if you had a Titan V GPU, you can upgrade to a newer driver (which as of this reply supports 10.2) and older releases of MATLAB using earlier releases should continue to function correctly.
In the case of the GPU in your laptop, Fermi entered "legacy" status in April 2018 (meaning no enhancements, e.g. support for newer toolkit versions) and the legacy support phase ended this month. This means that Fermi GPUs are unsupported by newer toolkit versions.
Walter Roberson on 15 Jul 2020
Intel HD 3000 graphics is not a GPU, and cannot be used for GPU processing. Also, MATLAB only supports NVIDIA cards.
If you have a Fermi series NVIDIA card, then it will work up to R2017b. If you are not using a student license, then a license for any newer release of MATLAB (such as R2018a) entitles you to use earlier releases (such as R2017b.)
(Well, student licenses do as well, but students often cannot get access to the older release.)
Find more on Get Started with GPU Coder 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!