Struct BatchContextEntry¶
Defined in File cache_manager.hpp
Struct Documentation¶
-
struct BatchContextEntry¶
One entry of a
CacheManager::BatchContext:the enclosing realized batch loop’s axis, DAG-scope nest position, and element range.A free (non-template) type — like
DagScopeLevel/ModeToLevel(dag_scope.hpp), which it embeds — since none of its fields depend on the owningCacheManager'sTreeNode/force_hash_collisionstemplate parameters.axisis what the forest-descent resolution path (evaluate_impl'sEnter-stageslice_to_use) resolves against: it looks a fetched node’s mode up by this exactIndex(viaindex_position(nd, axis)).levelis the DAG-scope nest position a level-based resolution path consults instead.rangeis the loop’s current element block.exact_axisdistinguishes the two producers: the ordered executor (which co-evaluates a whole type-bucketed block under one canonicalblock.axis) leaves itnullopt, while the forest evaluator (which pushes each member’s own physical axis) fills it with that same axis — redundant withaxisin practice, but keeping the two fields separate lets a level-based resolution tell the two strategies apart without re-deriving which one produced this entry.