Struct EvalBatchInfo

Struct Documentation

struct EvalBatchInfo

Per-node batching state of an EvalExpr. Almost all nodes carry none of it, hence EvalExpr stores it out of line and only on demand. The inline capacities cover the typical number of batched indices per node.

Public Types

using mode_vector = container::svector<std::pair<Index, BatchModeType>, inline_capacity>
using index_vector = container::svector<Index, inline_capacity>

Public Members

mode_vector node_slice_mask = {}
mode_vector batch_loops_opened_here = {}
index_vector sliced_modes = {}
index_vector occurrence_home = {}
std::size_t value_key = 0
std::size_t batch_effective_count = 1
bool batch_order_aware = false

Public Static Attributes

static constexpr std::size_t inline_capacity = 4