The utilization of GPU is low in deep learning

조회 수: 5 (최근 30일)
Lamya Mohammad
Lamya Mohammad 2020년 2월 29일
댓글: Joss Knight 2020년 3월 5일
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