Clear Filters
Clear Filters

how to use gpu in matlab online?

39 views (last 30 days)
divya balu
divya balu on 24 Feb 2021
Commented: Atallah Baydoun on 9 Feb 2022
i need to run my program on gpu System. i have online login and password. i dont know how to access the GPU through online. i have shown my error in bold. can anyone help me with steps or example or videos related to this? thanks in advance
Error using gpuDevice (line 26)
Unable to load CUDA driver. The library name used was The error was: cannot open shared object file: No such file or directory
Update or reinstall your GPU driver. For more information on GPU support, see GPU Support by Release.

Answers (2)

Raymond Norris
Raymond Norris on 24 Feb 2021
The issus is that you're running MATLAB on a machine that (most likely) doesn't haeve a GPU on it. You'll need to run MATLAB on an NVIDIA-enbaled GPU machine.
  1 Comment
Raymond Norris
Raymond Norris on 24 Feb 2021
Sorry, I just overlooked that you're running MATLAB Online. MATLAB Online doesn't currently run on a GPU. As an alternatively, consider running MATLAB on AWS/Azure on your own, where you can select different hardware, including GPUs. Take a look at our Reference Architectures.
A couple of notes:
  1. MATLAB Online is MATLAB in a browser. The Reference Architectures are running MATLAB in a desktop environment, hosted on AWS/Azure.
  2. MATLAB Online is free to use. The Reference Architecture will incur cloud costs.

Sign in to comment.

Hisham on 26 Feb 2021
Hi Divya:
In addition to Raymond's response, if you have access to a GPU through Amazon Web Services, as well as MATLAB Parallel Server, you can access this through MATLAB Online using Cloud Center. A small video showing this capability can be found at:
  1 Comment
Atallah Baydoun
Atallah Baydoun on 9 Feb 2022
Hey Hisham,
Do you know if Matlab online has been enabled with a GPU in 2022 or it remains without GPU?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!