Dynamic memory allocation threshold

Description

Specify the memory allocation threshold.

Category: Simulation Target > GPU Acceleration

Settings

Default: 200

Specify the size above which the private variables are allocated on the heap instead of the stack, as an integer value.

Dependencies

  • This parameter requires a GPU Coder™ license.

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

Command-Line Information

Parameter: SimGPUMallocThreshold
Type: integer
Value: any valid value
Default: 200

Related Topics