Main Content

Model Configuration Parameters: GPU Acceleration

R2026b

The Simulation Target > GPU Acceleration category includes parameters for configuring GPU-specific settings of the generated code.

These parameters require a GPU Coder™ license.

On the Configuration Parameters dialog box, the following configuration parameters are on the Simulation Target > GPU Acceleration pane.

ParameterDescription

Custom compute capability (GPU Coder)

Specify the name of the NVIDIA® virtual GPU architecture for code generation.

Stack size per GPU thread (GPU Coder)

Specify the maximum stack limit per GPU thread.

Include error checks in generated code (GPU Coder)

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

Additional compiler flags (GPU Coder)

Specify additional flags to the nvcc compiler.

See Also

Topics