The utilization of GPU is low in deep learning

15 次查看(过去 30 天)
Hello, I’m using NVIDIA GeForce GTX 1080 Ti to run “single image super resolution network” code The utilization average for gpu was 25%, I added this code:
feature('GpuAllocPoolSizeKb', intmax('int32'));
And the utilization increased to 33%
Is there something more I can do to increase the utilization? Also, I don’t think MATLAB runs in the same speed of my GPU Note: my MATLAB version is R2019b, and I have student license

回答(1 个)

Joss Knight
Joss Knight 2020-3-3
Try following some of the advice in the following MATLAB Answer: https://uk.mathworks.com/matlabcentral/answers/463367-gpu-utilization-is-not-100
  5 个评论
Lamya Mohammad
Lamya Mohammad 2020-3-5
Thank you, I’ll try them for the next training. For the feature function, can I use it anywhere in the code?
Joss Knight
Joss Knight 2020-3-5
You can use it anywhere as long as it is called after the first command that does something on the GPU in a MATLAB session, such as calling gpuDevice or creating a gpuArray.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 GPU Computing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by