Problems running gpuArray function - CUDA driver

조회 수: 11 (최근 30일)
Patrick Lehmann
Patrick Lehmann 2021년 1월 12일
편집: Matt J 2021년 1월 13일
Hi all,
I have the following code lines execuding an error message:
>> size(img)
ans =
215 205 156 8
>> img_gpu = gpuArray(img);
Unable to load CUDA driver. The library name used was nvcuda.dll. The error was:
nvcuda.dll is not a valid Win32 application.
Update or reinstall your GPU driver. For more information on GPU support, see GPU Support by Release.
I have updated my GPU driver and installed the CUDA Toolkit 11.2 on my Windows 10 with a Intel(R) UHD Graphics 620. I have Matlab 2020a for 64-bit.
I found the similiar problem documented here.
Can somone recommend me a solution?
Thanks,
Patrick

답변 (2개)

Matt J
Matt J 2021년 1월 12일
Make sure you've rebooted the computer after the installation.
  댓글 수: 1
Patrick Lehmann
Patrick Lehmann 2021년 1월 12일
Yes, I have tried that several times. I have a feeling that my GPU is maybe not suitable for this application.

댓글을 달려면 로그인하십시오.


Catalytic
Catalytic 2021년 1월 12일
Matlab R2020a requires CUDA Toolkit 10.1.
  댓글 수: 3
Patrick Lehmann
Patrick Lehmann 2021년 1월 12일
I have tried that, rebooted and it still doesn't work. I also want to point out again, that I have a GPU by Intel
Jason Ross
Jason Ross 2021년 1월 13일
You need an nVidia GPU to use GPU functions in MATLAB. https://www.mathworks.com/help/parallel-computing/gpu-support-by-release.html

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by