Clear Filters
Clear Filters

MATLAB GPU Processing: AMD Radeon

122 views (last 30 days)
karem adam
karem adam on 14 Apr 2021
Commented: Walter Roberson on 30 Apr 2022
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
Mohammad Sami
Mohammad Sami on 14 Apr 2021
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
Vojtech Langer
Vojtech Langer on 30 Apr 2022
He is using AMD GPU. So does that mean that Matlab cannot utilize AMD GPUs?
Walter Roberson
Walter Roberson on 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.

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!