Mojo struct
WaitAndAdvanceContextSplitK
struct WaitAndAdvanceContextSplitK[work_origin: MutOrigin]
Context for waiting on CLC barrier and advancing work iterator (Split-K).
Encapsulates the CLC response barrier synchronization:
- Construction: Waits for CLC response, fetches next work
- enter: Returns current work_info for processing
- exit: Assigns fetched work as current
Fieldsβ
- βwork_info_ptr (
Pointer[WorkInfo, work_origin]): - βnext_work (
WorkInfo):
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable,
RegisterPassable,
TrivialRegisterPassable
Methodsβ
__init__β
__init__(work_info_ptr: Pointer[WorkInfo, work_origin], next_work: WorkInfo) -> Self
__enter__β
__exit__β
__exit__(mut self)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!