For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo function
pointwise_splitk_store_partial
def pointwise_splitk_store_partial[State: ReduceOp, params: ContextParams, //](mut state: State, ctx: Context[params], reduce_index: Int)
Stores this worker's raw width-1 partial for reduce reduce_index.
Finalization (join_parallel) is deferred to the combine, which runs it
once on the fully joined state, as the reduce-shaped split-axis tier does.
Parameters:
- State (
ReduceOp): The monoid type being reduced. - params (
ContextParams): Comptime dispatch parameters.
Args:
- state (
State): This worker's stripe state; collapsed to width 1 on return. - ctx (
Context[params]): The dispatch bundle. - reduce_index (
Int): Order index of the reduce within the body.