MATLAB GPU Processing: AMD Radeon

122 views (last 30 days)
karem adam
karem adam on 14 Apr 2021
Edited: Khalid Mahmood on 18 Apr 2021
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
Khalid Mahmood
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: Khalid Mahmood on 18 Apr 2021
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 only: https://www.nvidia.co.uk/Download/index.aspx?lang=en-uk
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
  1 Comment
Joss Knight
Joss Knight on 18 Apr 2021
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

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!

Translated by