Archived
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:
1 parent
a1b7643310
commit
dccc6329a9
10 files changed
+40
-8
No files matched your search
@@ -153,6 +153,7 @@ RAD_ADV_FN void adv_row(const AdvanceArgs& a, int i) {
|
||||
S.ctx = head + 1;
|
||||
S.n_acc = acc + 1;
|
||||
S.tok[0] = y[acc == 0 ? 0 : S.path[acc - 1]];
|
||||
S.hrow = rtok + (acc == 0 ? 0 : S.path[acc - 1]); /* rows are nodes, in order */
|
||||
S.npath = acc;
|
||||
return;
|
||||
}
|
||||
@@ -167,6 +168,7 @@ RAD_ADV_FN void adv_row(const AdvanceArgs& a, int i) {
|
||||
const int32_t head = ctx[i] + (rtok - k) + acc;
|
||||
S.acc = acc;
|
||||
S.head = head;
|
||||
S.hrow = rtok + acc;
|
||||
S.ctx = head + 1;
|
||||
S.n_acc = acc + 1;
|
||||
S.tok[0] = y[acc];
|
||||
@@ -296,6 +298,7 @@ RAD_ADV_FN void adv_row(const AdvanceArgs& a, int i) {
|
||||
for (int32_t j = 1; j < n; ++j) tok[k + j] = aux;
|
||||
for (int32_t j = 0; j < n; ++j) adv_pos(a, pos, k + j, base + j);
|
||||
ctx[i] = base;
|
||||
if (a.arow_off >= 0) adv_i32(a, a.arow_off)[i] = S.hrow;
|
||||
adv_groups(a, i, k, base, n);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user