Main Content

GPU Code Generation from MATLAB Applications

Generate CUDA® code for deployment on desktop or embedded targets

Use GPU Coder™ together with Deep Learning Toolbox™ to generate CUDA MEX or standalone CUDA code that runs on desktop or embedded targets. You can deploy the generated standalone CUDA code that uses the CUDA deep neural network library (cuDNN), the TensorRT™ high performance inference library, or the ARM® Compute library for Mali GPU.

Functions

codegenGenerate C/C++ code from MATLAB code
coder.getDeepLearningLayersGet the list of layers supported for code generation for a specific deep learning library
coder.loadDeepLearningNetworkLoad deep learning network model
coder.loadNetworkDistributionDiscriminatorLoad network distribution discriminator for code generation (Since R2023a)
coder.DeepLearningConfigCreate deep learning code generation configuration objects

Apps

GPU CoderGenerate GPU code from MATLAB code

Topics

Overview

Applications