Struct never_volatile¶
Defined in File eval.hpp
Struct Documentation¶
-
struct never_volatile¶
Default node-volatility predicate for make_batched_custom_evaluator: no node is volatile, so batching is gated only by the index predicate. A caller may instead supply a predicate flagging volatile (e.g. amplitude-dependent) leaf nodes; the evaluator then declines to batch any node whose subtree contains such a leaf, so only persistent (build-once) subtrees are streamed over the batch axis (a volatile subtree is rebuilt every evaluation, so batching it would pay the partition + relaxed-screening cost on every pass for no lasting memory benefit).