필터 지우기
필터 지우기

GPU Device doesn't recognized in MATLAB 2024a

조회 수: 93 (최근 30일)
Abolfazl Nejatian
Abolfazl Nejatian 2024년 4월 6일
댓글: Qi Chen 2024년 5월 6일
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
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
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
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개)

카테고리

Help CenterFile Exchange에서 Get Started with GPU Coder에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by