Problems running gpuArray function - CUDA driver
10 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(2 个)
Catalytic
2021-1-12
3 个评论
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 Center 和 File Exchange 中查找有关 GPU Computing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!