Main Content

Target library

Deep learning library to use during simulation

Since R2020b

Model Configuration Pane: Simulation Target

Description

The Target library parameter specifies the deep learning library to use during simulation. To enable this parameter, select C++ for the Language.

Dependencies

  • MKL-DNN is available when GPU acceleration on the Simulation Target pane is disabled and Language is set to C++.

  • cuDNN or TensorRT requires a GPU Coder™ license.

  • cuDNN or TensorRT is available when GPU acceleration on the Simulation Target pane is enabled.

Settings

MKL-DNN | cuDNN | TensorRT

Default: MKL-DNN if GPU acceleration is off. cuDNN if GPU acceleration is on.

MKL-DNN

Use this option for simulation that uses the Intel® Math Kernel Library for Deep Neural Networks (Intel MKL-DNN).

cuDNN

Use this option for simulation that uses the CUDA® Deep Neural Network library (cuDNN).

TensorRT

Use this option for simulation that takes advantage of the NVIDIA® TensorRT – high performance deep learning inference optimizer and run-time library.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: SimDLTargetLibrary
Type: character vector
Value: 'MKL-DNN' | 'cuDNN' | 'TensorRT'
Default: MKL-DNN

Version History

Introduced in R2020b