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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/797964/image.png)
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!