代码生成和GPU支持万博1manbetx
Audio Toolbox™ includes support to accelerate prototyping in MATLAB®and to generate code for deployment.
GPU Code Acceleration.To speed up your code while prototyping, Audio Toolbox includes functions that can execute on a Graphics Processing Unit (GPU). You can use thegpuArray
(Parallel Computing Toolbox)功能以将数据传输到GPU,然后调用gather
(Parallel Computing Toolbox)功能可从GPU检索输出数据。有关支持GPU上执行的音频工具箱函数列表,请参见万博1manbetxFunction List (gpuArray
support)。你需要Parallel Computing Toolbox™ to enable GPU support.
C/C ++代码生成。After you develop your application, you can generate portable C/C++ source code, standalone executables, or standalone applications from your MATLAB code. C/C++ code generation enables you to run your simulation on machines that do not have MATLAB installed and to speed up processing while you work in MATLAB. For a list of Audio Toolbox functions that support C/C++ code generation, seeFunction List (C/C++ Code Generation)。你需要MATLAB Coder™生成C/C ++代码。
GPU代码生成。After you develop your application, you can generate optimized CUDA®NVIDIA的代码®MATLAB代码的GPU。该代码可以作为源代码,静态库或动态库集成到您的项目中,并可用于GPU上的原型。您还可以在MATLAB中使用生成的CUDA代码来加速机器学习,深度学习或其他应用程序中MATLAB代码的计算密集型部分。有关支持GPU代码生成的音频工具箱函数列表,请参见万博1manbetx功能列表(GPU代码生成)。你需要MATLAB Coder和GPU CODER™生成CUDA代码。
Apps
MATLAB Coder | Generate C code or MEX function fromMATLAB代码 |
GPU编码器 | Generate GPU code fromMATLAB代码 |
Topics
- Generate C Code at the Command Line(MATLAB编码器)
通过使用MATLAB代码生成C/C ++代码
代码gen
command. - Run MATLAB Functions on a GPU(Parallel Computing Toolbox)
如果您提供一个,MATLAB和其他工具箱中的数百个功能会自动在GPU上运行
gpuArray
(Parallel Computing Toolbox) argument. - 与MATLAB编码器进行深度学习的先决条件(MATLAB编码器)
Install products and configure environment for code generation for deep learning networks.
- 释放的G万博1manbetxPU支持(Parallel Computing Toolbox)
Support for NVIDIA GPU architectures.
- 识别和显示口头指令在Android Device(万博1manbet万博1manbetxxsimulink支持包适用于Android设备)
此示例显示了如何为Android™设备使用Simulink®支持软件万博1manbetx万博1manbetx包来部署深度学习算法,该算法识别和显示通过您的Android设备(例如电话或平板电脑)使用的命令。