How to increase gpu usage?

7 次查看(过去 30 天)
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?

采纳的回答

Joss Knight
Joss Knight 2022-2-14
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 个评论
ryunosuke tazawa
ryunosuke tazawa 2022-2-19
Thanks to you, I was able to understand the GPU.
By the way, is there any way to shorten the simulation time?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with GPU Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by