ops: rmsnorm_p, gelu_mul, logit_softcap, scale in lockstep across libref/libavx/libr4d + OPS.md rows

Elementwise ops with numeric selftest cases against the f64 oracle (both legs
of logit_softcap: bf16 and the f32 band the sampling chain carries). libr4d
gains env-gated verification probes alongside them (R4D_VERIFY_OFF
recompute-on-host checks; default off — instruments, not features).
This commit is contained in:
sfjes committed 2026-10-10 00:36:07 -07:00
1 parent 73620ef00e
commit c37ce73d72
20 files changed
+2260 -51

No files matched your search

+3
View File
@@ -1858,6 +1858,9 @@ idle scrubs, routing and issue dumps), `RADIANCE_OP_ORACLE*` (named ops checked
the operands the model issued; `scripts/oracle.sh` drives it) and `RADIANCE_OP_REPEAT` (named ops
run a second time on the same inputs, to ask whether a kernel is a function of them). They are
instruments, not features; grep `getenv` if you need one, and read the comment beside it first.
`libr4d` keeps the same culture under `R4D_DIAG` (master switch for selection/store/hidden-state
traces), `R4D_VERIFY_ATTN` and `R4D_VERIFY_OFF` (device kernels recomputed on the host and diffed),
and `RADIANCE_TRACE_RESID` (an arch-side residual ring); all default off.
---