gpu memory cannot be released

3 visualizaciones (últimos 30 días)
敬 杨
敬 杨 el 12 de Nov. de 2021
Comentada: 敬 杨 el 15 de Nov. de 2021
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:

Respuesta aceptada

Joss Knight
Joss Knight el 12 de Nov. de 2021
Editada: Joss Knight el 12 de Nov. de 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.
  1 comentario
敬 杨
敬 杨 el 15 de Nov. de 2021
Thank you for your reply, Thank you!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre GPU Computing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by