GPU Device doesn't recognized in MATLAB 2024a
58 次查看(过去 30 天)
显示 更早的评论
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 个评论
Qi Chen
2024-5-6
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
2024-5-6
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
采纳的回答
Poorna
2024-4-6
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!