Problems running gpuArray function - CUDA driver
Mostra commenti meno recenti
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
Risposte (2)
Matt J
il 12 Gen 2021
0 voti
Make sure you've rebooted the computer after the installation.
1 Commento
Patrick Lehmann
il 12 Gen 2021
Catalytic
il 12 Gen 2021
0 voti
3 Commenti
Matt J
il 12 Gen 2021
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
il 12 Gen 2021
Jason Ross
il 13 Gen 2021
You need an nVidia GPU to use GPU functions in MATLAB. https://www.mathworks.com/help/parallel-computing/gpu-support-by-release.html
Categorie
Scopri di più su GPU Computing in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!