gpu memory cannot be released

2 ビュー (過去 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 Center および File ExchangeGPU Computing についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by