GPU Device doesn't recognized in MATLAB 2024a
57 views (last 30 days)
Show older comments
I've encountered an issue where my GPU device isn't being recognized in MATLAB 2024a, although it was detected without any problems in MATLAB 2023b. What steps can I take to troubleshoot and resolve this issue?
here is the 2023b
2 Comments
Qi Chen
on 6 May 2024
I just had the exactly same issue. In 2023b, here is my GPU. I checked Device Manger and I had the latest driver from NVIDIA. Anyone can help?
>> gpuDevice
ans =
CUDADevice with properties:
Name: 'NVIDIA T1200 Laptop GPU'
Index: 1
ComputeCapability: '7.5'
SupportsDouble: 1
GraphicsDriverVersion: '528.79'
DriverModel: 'WDDM'
ToolkitVersion: 11.8000
MaxThreadsPerBlock: 1024
MaxShmemPerBlock: 49152 (49.15 KB)
MaxThreadBlockSize: [1024 1024 64]
MaxGridSize: [2.1475e+09 65535 65535]
SIMDWidth: 32
TotalMemory: 4294639616 (4.29 GB)
AvailableMemory: 2860231543 (2.86 GB)
CachePolicy: 'balanced'
MultiprocessorCount: 16
ClockRateKHz: 1785000
ComputeMode: 'Default'
GPUOverlapsTransfers: 1
KernelExecutionTimeout: 1
CanMapHostMemory: 1
DeviceSupported: 1
DeviceAvailable: 1
DeviceSelected: 1
Qi Chen
on 6 May 2024
Just a follow up. I found that using the Windows device manager to verify whether the latest version of GPU driver is installed is insufficient. I had to go to https://www.nvidia.com/Download/index.aspx to install the latest driver. After that, the issue was fixed. Please see below my latest GPU driver. Note that the GraphicsDriverVersion is different now.
>> gpuDevice
ans =
CUDADevice with properties:
Name: 'NVIDIA T1200 Laptop GPU'
Index: 1
ComputeCapability: '7.5'
SupportsDouble: 1
GraphicsDriverVersion: '552.22'
DriverModel: 'WDDM'
ToolkitVersion: 12.2000
MaxThreadsPerBlock: 1024
MaxShmemPerBlock: 49152 (49.15 KB)
MaxThreadBlockSize: [1024 1024 64]
MaxGridSize: [2.1475e+09 65535 65535]
SIMDWidth: 32
TotalMemory: 4294639616 (4.29 GB)
AvailableMemory: 3451777024 (3.45 GB)
CachePolicy: 'balanced'
MultiprocessorCount: 16
ClockRateKHz: 1785000
ComputeMode: 'Default'
GPUOverlapsTransfers: 1
KernelExecutionTimeout: 1
CanMapHostMemory: 1
DeviceSupported: 1
DeviceAvailable: 1
DeviceSelected: 1
Accepted Answer
Poorna
on 6 Apr 2024
Hi Abolfazl,
I see that MATLAB R2024a "gpuDevice" function is not detecting the GPU device. As mentioned in the Error message, did you try updating the gpu device driver to the latest version. If not, I suggest you upgrade the device drivers to the latest verion.Having the latest gpu device drivers is one of the requirements to use gpu computing capabilities in MATLAB. You can follow the below link to download latest device drivers for Nvidia GPU devices: https://www.nvidia.com/Download/index.aspx
Refer to the following documentation to know more about the MATLAB GPU computing requirements:
Hope this Helps!
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing 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!