Why does gpuDeviceCount report 0 in the latest release of MATLAB?
11 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2023 年 3 月 21 日
回答済み: MathWorks Support Team
2023 年 3 月 21 日
I have just upgraded to the latest release of MATLAB on a machine with GPUs. But gpuDeviceCount is now returning 0. If I run gpuDeviceCount in my older release of MATLAB I get the correct answer. Why is this happening?
採用された回答
MathWorks Support Team
2023 年 3 月 21 日
gpuDeviceCount and gpuDeviceTable are designed to never error and will report 0, or an empty table, when either no GPU is detected or MATLAB is unable to use the GPU.
To diagnose the exact cause please execute:
>> gpuDevice()
This will give an error message with details on why MATLAB cannot access the GPU. The most common fix is to update to the latest graphics drivers for your card.
0 件のコメント
その他の回答 (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!