メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

Dynamic memory allocation threshold

Size above which private variables are allocated on heap instead of stack

モデル コンフィギュレーション ペイン: Simulation Target / GPU Acceleration

Description

The Dynamic memory allocation threshold parameter specifies the memory allocation threshold.

Dependencies

  • This parameter requires a GPU Coder™ license.

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

Settings

200 (既定値) | integer

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

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

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

バージョン履歴

R2020b で導入