how to use gpu in matlab online?

39 次查看(过去 30 天)
divya balu
divya balu 2021-2-24
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
gpuDevice
Error using gpuDevice (line 26)
Unable to load CUDA driver. The library name used was libcuda.so.1. The error was:
libcuda.so.1: 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.

回答(2 个)

Raymond Norris
Raymond Norris 2021-2-24
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 个评论
Raymond Norris
Raymond Norris 2021-2-24
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.

请先登录,再进行评论。


Hisham
Hisham 2021-2-26
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 个评论
Atallah Baydoun
Atallah Baydoun 2022-2-9
Hey Hisham,
Do you know if Matlab online has been enabled with a GPU in 2022 or it remains without GPU?
Thanks!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 GPU Computing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by