docs, comments, tests: a consistency pass after the kernel move and the 404

Stale text that outlived the fixes around it: the deleted unit's filename in
libr4d's gated-residual comments, hc_project missing from that unit's header,
"THE SPEED PROJECTION" heading the page's control-vector code, ABI 22 comments
beside a table that says 23, a projection_test header crediting rad-kbench with a
case it does not have, a comment stating the wrong scale arithmetic, a duplicated
<cstring>, and GUIDE's "off in all cases" (the admin switch flips it). libavx's
README transcript is refreshed from a real run (807 checked, at every level).

And the test the alias order needed: a body carrying both `control_vector` and
`experimental_speed_projection`, with the field's own name winning.
This commit is contained in:
C_Tamas authored and StillDeadcode committed 2026-10-21 09:26:17 +02:00
1 parent d09d733b07
commit cd1f2f59cc
7 files changed
+28 -15

No files matched your search

+3 -3
View File
@@ -477,9 +477,6 @@ static const RadOperandSpec oGdnConvRecurrentUpdate[] = {
{ "o_scale", RAD_OPD_OUT, 1 },
};
/* The gated residual. `hc_enter` and `hc_write` share a parameter list; `hc_read` adds the two
* switches its operand list depends on: `inject` 0 is the final mixer and `group` 0 a read whose
* consumer wants bf16. Both default on, as every trunk connection uses both. */
/* The control vector's projection (r4d_hc_bf16.hip, with the other gated-residual kernels): a bf16
* stream, one unit f32 direction for every stream, an int32 switch per row. */
static const RadParamSpec pHcProject[] = { P_INT("M"), P_INT("n"), P_INT("hc"), P_F64("scale"),
@@ -490,6 +487,9 @@ static const RadOperandSpec oHcProject[] = {
static const RadConstraint cHcProject[] = {
C_GE("M", 1), C_GE("n", 1), C_GE("hc", 2), C_LE("hc", 8), C_IN("dtype", "bf16"),
};
/* The gated residual. `hc_enter` and `hc_write` share a parameter list; `hc_read` adds the two
* switches its operand list depends on: `inject` 0 is the final mixer and `group` 0 a read whose
* consumer wants bf16. Both default on, as every trunk connection uses both. */
static const RadParamSpec pHcPlain[] = {
P_INT("M"), P_INT("n"), P_INT("hc"), P_STR("dtype"),
};