How to increase gpu usage?

11 views (last 30 days)
ryunosuke tazawa
ryunosuke tazawa on 14 Feb 2022
Commented: ryunosuke tazawa on 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?

Accepted Answer

Joss Knight
Joss Knight on 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 Comment
ryunosuke tazawa
ryunosuke tazawa on 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?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!