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 Comments

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

Sign in to comment.

Answers (1)

Khalid Mahmood
Khalid Mahmood on 15 Apr 2021
Edited: Walter Roberson on 30 Apr 2022
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 Comments

Joss Knight
Joss Knight on 18 Apr 2021
Edited: Walter Roberson on 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
He is using AMD GPU. So does that mean that Matlab cannot utilize AMD GPUs?
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.

Sign in to comment.

Products

Asked:

on 14 Apr 2021

Commented:

on 30 Apr 2022

Community Treasure Hunt

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

Start Hunting!