Main Content

Stack size per GPU thread

Available stack size per thread on GPU

Since R2020b

Model Configuration Pane: Simulation Target / GPU Acceleration

Description

The Stack size per GPU thread parameter specifies the stack limit per GPU thread.

Dependencies

  • This parameter requires a GPU Coder™ license.

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

Settings

1024 (default) | integer

Specify the maximum stack limit per GPU thread as an integer value.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter:SimGPUStackLimitPerThread
Type: integer
Value: any valid value
Default: 1024

Version History

Introduced in R2020b