Problems running gpuArray function - CUDA driver
이전 댓글 표시
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개)
Catalytic
2021년 1월 12일
0 개 추천
댓글 수: 3
Matt J
2021년 1월 12일
I'm not sure the CUDA Toolkit version from that table is required unless you are using it to compile CUDA mex files that Matlab will invoke.
Patrick Lehmann
2021년 1월 12일
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
카테고리
도움말 센터 및 File Exchange에서 GPU Computing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!