Problems running gpuArray function - CUDA driver

10 Ansichten (letzte 30 Tage)
Patrick Lehmann
Patrick Lehmann am 12 Jan. 2021
Bearbeitet: Matt J am 13 Jan. 2021
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

Antworten (2)

Matt J
Matt J am 12 Jan. 2021
Make sure you've rebooted the computer after the installation.
  1 Kommentar
Patrick Lehmann
Patrick Lehmann am 12 Jan. 2021
Yes, I have tried that several times. I have a feeling that my GPU is maybe not suitable for this application.

Melden Sie sich an, um zu kommentieren.


Catalytic
Catalytic am 12 Jan. 2021
Matlab R2020a requires CUDA Toolkit 10.1.
  3 Kommentare
Patrick Lehmann
Patrick Lehmann am 12 Jan. 2021
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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu GPU Computing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by