MCPcopy Create free account
hub / github.com/Niko1221/Strata / batch_self_commit_on

Function batch_self_commit_on

engine/src/core/verify.cpp:374–374  ·  view source on GitHub ↗

#783 PR-d: per-token K/V and indexer appends again STRATA_BATCH_SELF_COMMIT=1 (opt-in): a batch window whose rows are each another slot's one token keeps them itself, as a one-token window does (record_window): the GDN conv histories and states advance inside the window graph, and no commit graph runs after it. Such a window's commit is unconditional (each slot keeps its one row), and the rest of

Source from the content-addressed store, hash-verified

372// Read at the first use, not at program start: the engine sets the Windows gfx1151 parallel-request defaults (arch_defaults.cpp) in main(),
373// after namespace-scope constants are initialised, so a constant here would never see them.
374bool batch_self_commit_on() { static const bool v = env_on("STRATA_BATCH_SELF_COMMIT"); return v; }
375#define g_batch_self_commit (batch_self_commit_on())
376// STRATA_QSA_SLOTS=1 (opt-in): in a batch window, a QSA layer's block scores, top-k and attention run as one launch
377// each over the window's rows (up to 8 per launch, each row reading its own slot's indexer keys and K/V) instead of

Callers

nothing calls this directly

Calls 1

env_onFunction · 0.70

Tested by

no test coverage detected