Struct DagScopeLevel

Struct Documentation

struct DagScopeLevel

A batch loop’s realized placement: its identity (depth, loop_slot) plus its layout (altitude_ordinal, latitude_ordinal).

Identity coordinates (depth, loop_slot) name the loop; layout coordinates say where a schedule placed it. altitude_ordinal is the nesting rank the schedule assigned the slot within its group (free/interchangeable); latitude_ordinal is the pass index within a forced-split nest: a nest holding members of more than one pass emits one sibling block per pass, and latitude_ordinal disambiguates them (see forced_split_levels, ordered_schedule.hpp). space is a color for fusion group-matching, never identity. See doc/dev/specs/2026-09-12-batched-array-dag-eval-as-built.md, section 5.1.

Public Functions

inline LoopKey key() const

Public Members

std::size_t depth

which loop-group (identity)

std::wstring space

color only, not identity

int loop_slot = 0

which member-slot within the group (identity)

int altitude_ordinal = 0

layout: nesting rank of the slot within its group

int latitude_ordinal = 0

layout: pass index

Friends

inline friend bool operator==(DagScopeLevel const &lhs, DagScopeLevel const &rhs)
inline friend bool operator!=(DagScopeLevel const &lhs, DagScopeLevel const &rhs)