FusedMap

data class FusedMap(val opIds: List<OpId>) : DraftStage

Two or more adjacent Map stages fused into a single pipeline unit by the E-2 optimizer.

The E-2 fuseAdjacent rewrite (in :kuilt-warp-planning) collapses a run of consecutive Map stages into one FusedMap so the E-5 runtime can apply them in a single pass. All constituent transforms are monotone — per CALM, adjacent monotone stages commute, so fusion is safe by construction and never changes the convergent result.

opIds holds the original operation names in execution order. opId (from DraftStage) returns opIds.first() as a representative identifier; use opIds for the complete ordered list. The E-3 cost model should iterate opIds to count fused operations.

Parameters

opIds

ordered list of the original Map operation identifiers; must be non-empty.

Constructors

Link copied to clipboard
constructor(opIds: List<OpId>)

Properties

Link copied to clipboard

Whether this stage requires coordination to apply correctly.

Link copied to clipboard
open override val opId: OpId

The symbolic name of the operation this stage references. Code never moves; only names do.

Link copied to clipboard