Template Function sequant::log::scope_annot

Function Documentation

template<typename BatchContext>
std::string sequant::log::scope_annot(BatchContext const &active)

Scope annotation for the batch-loop enter/leave markers (and reused by slice_home_annot): the IndexBasis::base_key()s of the currently-open batch loops, outermost-first, e.g. scope={i,i,K}. active is a CacheManager batch_context() – a sequence of {Index mode, element-range} entries.