MATLAB GPU Processing: AMD Radeon

Hello
I try to deal with transfer learning + pre-trained model + dataset (my dataset is in medical image).
Computer features: Core i7 processor , Intel HD graphic 620 & AMD Readeon(TM) R7 M340, Matlab 2020a
The error message is " Error using gpuDevice Unable to load CUDA driver. The library name used was nvcuda.dll. The error was: The specified module could not be found. Update or reinstall your GPU driver."
How can fix my error ??

2 Kommentare

Mohammad Sami
Mohammad Sami am 14 Apr. 2021
You will have to use CPU as MATLAB only supports Nvidia GPU.
Khalid Mahmood
Khalid Mahmood am 14 Apr. 2021
Bearbeitet: Khalid Mahmood am 14 Apr. 2021
1) Matlab supports only CUDA enabled NVIDIA GPUs
3) For every Matlab version, you have to download a specific CUDA toolkit.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Khalid Mahmood
Khalid Mahmood am 15 Apr. 2021
Bearbeitet: Walter Roberson am 30 Apr. 2022

1 Stimme

To select an NVIDIA GPU
1) Go to site: https://developer.nvidia.com/cuda-gpus, and select a GPU according to your needs
2) Add GPU in computer/labtop motherboard
3) Download a specific CUDA Driver
Driver is enough for most Matlab users, as Joss Knight has clarified.
Only advanced users (like game developers) will need full CUDA toolkit.
4) Use Matlab command dev=gpuDevice to find whether everything went fine

3 Kommentare

Joss Knight
Joss Knight am 18 Apr. 2021
Bearbeitet: Walter Roberson am 30 Apr. 2022
Hi, just to clarify here, it is not the whole toolkit you need, just the driver. https://www.nvidia.co.uk/Download/index.aspx?lang=en-uk
Vojtech Langer
Vojtech Langer am 30 Apr. 2022
He is using AMD GPU. So does that mean that Matlab cannot utilize AMD GPUs?
Walter Roberson
Walter Roberson am 30 Apr. 2022
The only kind of GPU supported by MATLAB is some of the newer NVIDIA -- Kepler with CUDA 3.5 to Ampere with CUDA 8.x .
No AMD GPU are supported. The Apple M1 GPU is also not supported.
Unfortunately, adding support for GPU families turns out to involve a fair bit of work, and the infrastructure for AMD GPU and Apple M1 GPU just is not available in a useful form.

Melden Sie sich an, um zu kommentieren.

Kategorien

Produkte

Gefragt:

am 14 Apr. 2021

Kommentiert:

am 30 Apr. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by