Can't install right CUDA driver version for MATLAB
19 views (last 30 days)
I'm using MATLAB 2020a in a windows 10 VMclient. The machine has a virutal GPU, GRID P40-1Q, and its driver version (as seen in C:\NVIDIA) is 392.05.
When trying to run the 'gpuDevice' command in matlabs command window I'm getting the following error:
"Error using gpuDevice (line 26)
CUDA driver version 9.1 is not supported. Update CUDA driver to
version 10.1 or greater. For more information on GPU supprot, see GPU Support by Release."
I've installed the lastest CUDA Toolkit (currently 10.2) but the driver didn't update. I also tried to install only the driver (both from 10.2 and 10.1 toolkits) but it did'nt work. I tried to install Teslas newest driver but got compatibility error. I also installed Gefore Experience for auto detecting the needed driver version, and it recomanded on another version of the Tesla driver, but that did not work as well.
After my fault attemepts, I've been told by the IT Team who manages the VM that the newest CUDA driver version which supports the virtual GPU is 9.1.
Is there any way to use this GPU with MATLAB?
Jason Ross on 28 Apr 2020
To use a virtual GPU, the hypervisor must be running the same version of the driver as on the VM. So you will need to update the hypervisor's version of the CUDA driver to 10.1 or greater before the guests can update.
nVidia does have updated driver/virtualization software that supports CUDA 10.1 or greater (currently, "NVIDIA Virtual GPU Software v10.0 through 10.1 Revision 03"), as follows: