gpu memory cannot be released
조회 수: 3 (최근 30일)
이전 댓글 표시
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:
댓글 수: 0
채택된 답변
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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 GPU Computing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!