How to increase gpu usage?

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

1 voto

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

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)

Community Treasure Hunt

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

Start Hunting!

Translated by