Using external GPU with MatLab 2020a

6 ビュー (過去 30 日間)
Andres Ramirez
Andres Ramirez 2020 年 4 月 2 日
回答済み: Joss Knight 2020 年 4 月 4 日
Hello, I am using an external TITAN V GPU housed in an AKiTiO brand expansion chassis that connects to the laptop through Thunderbolt 3. I am using MatLab 2020a and I have installed the CUDA versions and the recommended driver for the TITAN V GPU. , matlab if it recognizes the gpu, but when simulating a CNN, the training time is very slow and is almost the same as the one generated with the internal GPU (GTX 980M) that my laptop has.
Why is this happening? How could I solve it?
See if someone from Matlab Staff can help me.
Thanks for your attention.
Cheers.

回答 (1 件)

Joss Knight
Joss Knight 2020 年 4 月 4 日
There may be nothing you can do. Data transfer times to an external GPU are much higher. It might help to increase the MiniBatchSize training option, or enable DispatchInBackground.
Of course, it's plausible that your network is very small and not using the GPU efficiently, so all you're seeing is the same overhead and the device makes no difference. What is the input size to your network?

カテゴリ

Help Center および File ExchangeGet Started with GPU Coder についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by