Function sequant::eval::detail::ordered_range_of

Function Documentation

inline std::optional<std::pair<std::size_t, std::size_t>> sequant::eval::detail::ordered_range_of(eval::BatchContext const &ctx, LoopKey const &key)

The current batch range of loop instance key, read off ctx (the enclosing realized loops plus, inside a block’s batch loop, that block’s own entry). Nullopt when the loop is not open here &#8212; which every caller turns into a throw naming what it was trying to bind.