Does MEX acceleration for Deep Learning need a GPU Coder license?

Does MEX acceleration for Deep Learning need a GPU Coder license?
I see the following error message:
coder.checkGpuInstall
Compatible GPU : PASSED
CUDA Environment : PASSED
Runtime : PASSED
cuFFT : PASSED
cuSOLVER : PASSED
cuBLAS : PASSED
cuDNN Environment : PASSED
Error using coder.checkGpuInstall (line 32)
Undefined variable "coder" or class "coder.gpuConfig".
"The 
'mex'
 option is only available when you are using a GPU. You must also have a C/C++ compiler installed. For setup instructions, see MEX Setup (GPU Coder).\n
'mex' acceleration does not support all layers. For a list of supported layers, see Supported Layers (GPU Coder)."

 Accepted Answer

MEX acceleration for the Deep Learning Toolbox does not require the GPU Coder Toolbox, it only needs the following Support Package: https://www.mathworks.com/matlabcentral/fileexchange/68642-gpu-coder-interface-for-deep-learning-libraries
We will state this clearer in a future release of our documentation.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!