gpu memory cannot be released

조회 수: 3 (최근 30일)
敬 杨
敬 杨 2021년 11월 12일
댓글: 敬 杨 2021년 11월 15일
Matlab 2021b version running on win 11, after using GPU computing, gpuDevice(1) and reset(gpuDevice(1)) cannot be used to release dedicated GPU memory.
GPU information:

채택된 답변

Joss Knight
Joss Knight 2021년 11월 12일
편집: Joss Knight 2021년 11월 12일
This memory contains device binaries, i.e. program code, as well as workspace set aside for the CUDA libraries and not available for use by MATLAB. You can release some of it by deselecting the device (gpuDevice([])). The rest can only be made available to other processes by never loading the CUDA driver, which means avoiding selecting or using the device at all within a MATLAB session.
  댓글 수: 1
敬 杨
敬 杨 2021년 11월 15일
Thank you for your reply, Thank you!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by