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 comentarios

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

Iniciar sesión para comentar.

Respuestas (1)

Khalid Mahmood
Khalid Mahmood el 15 de Abr. de 2021
Editada: Walter Roberson el 30 de Abr. de 2022

1 voto

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 comentarios

Joss Knight
Joss Knight el 18 de Abr. de 2021
Editada: Walter Roberson el 30 de Abr. de 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 el 30 de Abr. de 2022
He is using AMD GPU. So does that mean that Matlab cannot utilize AMD GPUs?
Walter Roberson
Walter Roberson el 30 de Abr. de 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.

Iniciar sesión para comentar.

Categorías

Productos

Etiquetas

Preguntada:

el 14 de Abr. de 2021

Comentada:

el 30 de Abr. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by