Main Content

Stack size per GPU thread


Specify the stack limit per GPU thread.

Category: Code Generation > GPU Code


Default: 1024

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


  • This parameter requires a GPU Coder™ license.

  • To enable this parameter, select Generate GPU code on the Code Generation pane.

Command-Line Information

Command-Line Information

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

Related Topics