gpu memory cannot be released
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Joss Knight
le 12 Nov 2021
Modifié(e) : Joss Knight
le 12 Nov 2021
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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur GPU Computing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!