MATLAB: How to make Matlab use Nvidia??

alexnetcpudeep learningnvidiatimetransfer learning

My computer has a CPU and a Nvidia Quadro. I tried script from "transfer learning with AlexNet" and it took me 1 h to finish it. And as the script was running it said that it was running on a single CPU. How can I make sure that Matlab uses the Nvidia that is installed on my computer????
I would really appreciate the help

Best Answer

"You can train a convolutional neural network on either a CPU, a GPU, or multiple GPUs and/or in parallel. Training on a GPU or in parallel requires the Parallel Computing Toolbox™. Using a GPU requires a CUDA® enabled NVIDIA® GPU with compute capability 3.0 or higher. Specify the training parameters including the execution environment using the trainingOptions function."
Some models of Quadro have compute capacity as low as 1.0; you did not happen to mention which one you use. You need to have the Parallel Computing toolbox, And you have to request that the GPU be used.