Автор: MathWorks
Издательство: The MathWorks, Inc.
Год: 2021
Страниц: 476
Язык: английский
Формат: pdf (true)
Размер: 10.1 MB
Generate CUDA code for NVIDIA GPUs.
GPU Coder generates optimized CUDA code from MATLAB code and Simulink models. The generated code includes CUDA kernels for parallelizable parts of your Deep Learning (DL), embedded vision, and signal processing algorithms. For high performance, the generated code calls optimized NVIDIA CUDA libraries, including TensorRT, cuDNN, cuFFT, cuSolver, and cuBLAS. The code can be integrated into your project as source code, static libraries, or dynamic libraries, and it can be compiled for desktops, servers, and GPUs embedded on NVIDIA Jetson, NVIDIA DRIVE, and other platforms. You can use the generated CUDA within MATLAB to accelerate Deep Learning networks and other computationally intensive portions of your algorithm. GPU Coder lets you incorporate handwritten CUDA code into your algorithms and into the generated code.
When used with Embedded Coder®, GPU Coder lets you verify the numerical behavior of the generated code via software-in-the-loop (SIL) and processor-in-the-loop (PIL) testing.
GPU CoderTM supports many of the MATLAB language features supported by MATLAB CoderTM, see “MATLAB Language Features Supported for C/C++ Code Generation”. However, some features may be supported in a restricted mode and others not supported. In the following sections, we highlight some of the important features that affect GPU code generation and then list the features that not supported by GPU Coder.
Contents:
Functions Supported for GPU Code Generation
Kernel Creation from MATLAB Code
Kernel Creation from Simulink Models
Troubleshooting
Deep Learning.
Targeting Embedded GPU Devices
Скачать MATLAB GPU Coder User's Guide (R2021a)