GPU Device doesn't recognized in MATLAB 2024a
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
More Answers (0)
Categories
Find more on Deep Learning Toolbox 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!