Safe build - Error checking in the generated code - MATLAB (original) (raw)

Main Content

Error checking in the generated code

Description

App Configuration Pane: GPU Code

Configuration Objects: coder.gpuConfig

The Safe build parameter adds error-checking for CUDA® API and kernel calls in the generated code.

Settings

off (default) | on

Off

Generates code that does not contain error-checking functionality.

On

Generates code with error-checking for CUDA API and kernel calls.

Programmatic Use

Property: SafeBuild
Values: true |false
Default: false

Version History

Introduced in R2018a