For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo struct
MHATileState
struct MHATileState
Tracks the mutable per-CTA state of the tile scheduler during kernel execution.
Holds the current linear work-tile index, a shared-memory pointer used to communicate the active index across threads, and the maximum valid index bounding the work grid.
Fieldsβ
- βidx (
UInt32): - βsidx_ptr (
Pointer[UInt32, MutAnyOrigin, address_space=AddressSpace.SHARED, _safe=False]): - βmax_idx (
UInt32):
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDeletable,
Movable,
RegisterPassable,
TrivialRegisterPassable
Methodsβ
__init__β
def __init__(idx: UInt32, sidx_ptr: Pointer[UInt32, MutAnyOrigin, address_space=AddressSpace.SHARED, _safe=False], max_idx: UInt32) -> Self
is_validβ
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!