struct
SushiAI::Graph::PlanOptions
The three knobs the planner has, and nothing else.
- Declared in
include/SushiAI/graph/memory_plan.hpp
Public attributes
std::size_t alignment = SushiRuntime::Core::DEFAULT_ALIGNMENTGranularity each packed value start offset is rounded to.
Defaults to allocator alignment to preserve vectorization and reproducibility.
std::size_t reuse_node_limit = 8192Above this many nodes, reuse is declined rather than approximated.
The reachability closure is O(V^2/64) bytes; the default keeps it to about 8 MiB. See the file comment.
bool reuse = trueWhether to overlap live ranges at all; false gives every buffer its own slot.
SushiRuntime::span< const ValueId > pinned {}Values that must keep their own allocation regardless of lifetime.
Read only during build; permits callers to veto arena packing.

