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_combine
def pointwise_splitk_combine[params: ContextParams, //, State: ReduceOp](ctx: Context[params], reduce_index: Int) -> State
Joins the row's num_splits partials for reduce reduce_index into the finalized global state. Every worker runs this independently.
Parameters:
- βparams (
ContextParams): Comptime dispatch parameters. - βState (
ReduceOp): The monoid type being combined.
Args:
- βctx (
Context[params]): The dispatch bundle. - βreduce_index (
Int): Order index of the reduce within the body.
Returns:
State: The finalized row-wide state.