Using external GPU with MatLab 2020a

6 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Get 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