Main Content

Include error checks in generated code

Description

Add run-time error-checking functionality to the generated CUDA® code.

Category: Simulation Target > GPU Acceleration

Settings

Default: Off

On

Generates code with error-checking for CUDA API and kernel calls and performs run-time checks.

Off

The generated CUDA code does not contain error-checking functionality.

Dependencies

  • This parameter requires a GPU Coder™ license.

  • This parameter is enabled by GPU acceleration on the Simulation Target pane.

Command-Line Information

Parameter: SimGPUErrorChecks
Type: character vector
Value: 'on' | 'off'
Default: 'off'

Related Topics