abi, sched: RadBatch::anchor_rows, ABI 36

A block drafter's query pass gets, for each drafting sequence, the row of its last committed
position in the context pass just run (StepSlot::hrow, written by the advance on the card).
LiLiCorr's correlator reads the context state there. Appended after bidi_used; main ships
ABI 35 and an appended field is read past the end of an older engine's copy, so the version is
36 and the layout table follows. The pass key reads the pointer.
This commit is contained in:
keptn42 committed 2026-11-04 22:08:06 +01:00
1 parent a1b7643310
commit dccc6329a9
10 files changed
+40 -8

No files matched your search

+8 -2
View File
@@ -1,4 +1,4 @@
/* abi_layout_table.h -- every abi/ struct's size and field offsets at RAD_ABI_VERSION 35 and
/* abi_layout_table.h -- every abi/ struct's size and field offsets at RAD_ABI_VERSION 36 and
* RAD_FORMAT_VER 2, as { type, field, offset, size } rows ("" is the struct itself). A snapshot
* of the headers on x86-64 Linux, which abi_layout_test.cpp holds the layout to; regenerate it
* from the test's printout only together with a version bump. */
@@ -35,7 +35,7 @@
{ "RadArgs", "world_size", 60, 4 },
{ "RadArgs", "kv_used_max_h", 64, 4 },
{ "RadArgs", "wgp_count", 68, 4 },
{ "RadBatch", "", 0, 432 },
{ "RadBatch", "", 0, 480 },
{ "RadBatch", "phase", 0, 4 },
{ "RadBatch", "step", 4, 4 },
{ "RadBatch", "n_tok", 8, 8 },
@@ -95,6 +95,12 @@
{ "RadBatch", "sgen_b", 408, 8 },
{ "RadBatch", "kv_used_max_h", 416, 8 },
{ "RadBatch", "positions_h", 424, 8 },
{ "RadBatch", "n_bidi", 432, 8 },
{ "RadBatch", "bidi_row", 440, 8 },
{ "RadBatch", "bidi_n", 448, 8 },
{ "RadBatch", "bidi_seq", 456, 8 },
{ "RadBatch", "bidi_used", 464, 8 },
{ "RadBatch", "anchor_rows", 472, 8 },
{ "RadBufDecl", "", 0, 80 },
{ "RadBufDecl", "dtype", 0, 4 },
{ "RadBufDecl", "rank", 4, 4 },