__init__

RunOption.__init__(rounds: int = 1, *, timeout: int = 0)

Constructor for the RunOption class. Internal use only.

Parameters:
  • rounds (int) -- The number of inner loop iterations within the kernel.

  • timeout (int) -- Per-launch sync timeout in microseconds. 0 (the default) means "not set": the Module layer resolves the effective timeout once per Run, falling back to the HDPL_API_TIMEOUT env var, then the built-in 100 s default.