How to increase gpu usage?

4 Ansichten (letzte 30 Tage)
ryunosuke tazawa
ryunosuke tazawa am 14 Feb. 2022
Kommentiert: ryunosuke tazawa am 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?

Akzeptierte Antwort

Joss Knight
Joss Knight am 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 Kommentar
ryunosuke tazawa
ryunosuke tazawa am 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?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)


Mehr zu GPU Computing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by