Function sequant::eval::detail::enumerate_realized_levels¶
Defined in File ordered_schedule.hpp
Function Documentation¶
-
inline void sequant::eval::detail::enumerate_realized_levels(ScopeBlock const &block, container::vector<DagScopeLevel> &out)¶
Pre-order walk collecting every non-root
ScopeBlock'sDagScopeLevelintoout, in schedule (structural) order — the canonical enumerationSlicedModeAssignment::levelsholds. Deterministic given a fixedblock(the sameOrderedSchedulealways yields the same sequence), and duplicate-free by construction: distinctScopeBlockobjects in the tree are, perassert_global_level_axis_uniqueness'sinvariant (consulted bycompute_sliced_mode_assignmentbefore this runs), each other’s only witness for a given(depth, space, ordinal) — i.e. no two different blocks visited here ever carry an equallevel.