How to increase gpu usage?

4 visualizaciones (últimos 30 días)
ryunosuke tazawa
ryunosuke tazawa el 14 de Feb. de 2022
Comentada: ryunosuke tazawa el 19 de Feb. de 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?

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with GPU Coder en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by