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
4 views (last 30 days)
Marcantonio Sommacal on 29 Jan 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?
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.