How to increase gpu usage?

3 visualizzazioni (ultimi 30 giorni)
ryunosuke tazawa
ryunosuke tazawa il 14 Feb 2022
Commentato: ryunosuke tazawa il 19 Feb 2022
Now I am doing simulation with reiforcement tool box by using GPU.
But, gpu usage can not become high.
I checked some points.
1, setting of gpu: gpu is connected to matlab.
2, It also declares ‘device’ and ‘gpu’.
But the usage doesn't go up, is there any other problem?

Risposta accettata

Joss Knight
Joss Knight il 14 Feb 2022
To get GPU utilization high you need to give it a lot of high resolution work to do. Often RL problems, especially the ones in our examples, are low compute. Not all computation is suitable for GPU parallelization.
  1 Commento
ryunosuke tazawa
ryunosuke tazawa il 19 Feb 2022
Thanks to you, I was able to understand the GPU.
By the way, is there any way to shorten the simulation time?

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Get Started with GPU Coder in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by