RunOption
- class RunOption(rounds: int = 1, *, timeout: int = 0)
Dynamic options when the module run.
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 perRun, falling back to theHDPL_API_TIMEOUTenv var, then the built-in 100 s default.
Methods
Constructor for the RunOption class.
Get the core_mask option.
Get the rounds option.
Set the core_mask option.
Set the rounds option.
Set the per-launch sync timeout in microseconds.
Get the per-launch sync timeout in microseconds.