Main Content

Dynamic memory allocation threshold


Specify the memory allocation threshold.

Category: Simulation Target > GPU Acceleration


Default: 200

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


  • 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