code wiki / _hdl_build / nx_lwq24_probe.nx
nx_lwq24_probe.nx
buildroot/runtime/_hdl_build/nx_lwq24_probe.nx
about
nx_lwq24_probe.nx -- LAYERED probe for the LWC-2 FILL FAIL (2026-08-01).
P1: fq4m_fill_q24 + fq4m_rows_cached_q24 SERIALLY (no pool, no lazy-weight) vs the scalar oracle.
P2: the full nx_f32_lazy_matmul dispatch on the same data.
Whichever layer first diverges owns the bug. Same exact-regime synthesis as nx_lw_cache_gate
(d=1.0 f16, dmin=0, sc=1 -> dequant == q4 integers; int activations).
expect_exit: 0 license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 2 imports · 0 importers
imports: nx_f32_lazy_weight.nxnx_fmt.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 9 | const PB_MAGIC_1103515245: i64 = 1103515245 |
| 10 | const PB_MAGIC_12345: i64 = 12345 |
| 11 | const PB_MAGIC_2147483647: i64 = 2147483647 |
| 12 | const PB_MAGIC_20260708: i64 = 20260708 |
| 13 | const PB_MAGIC_424242: i64 = 424242 |
| 15 | const PB_M: i64 = 3 |
| 16 | const PB_K: i64 = 512 |
| 17 | const PB_N: i64 = 37 |
functions
| 19 | func p_lcg(s: i64) -> i64 |
| 24 | func p_block_dense(buf: *u8, off: i64, seed: i64) -> i64 |
| 45 | func p_fill_weights(buf: *u8, n_rows: i64, k: i64, seed: i64) -> i64 |
| 60 | func p_fill_a(p: *i64, count: i64, seed: i64, half: i64) -> i64 |
| 72 | func p_diff(a: *i64, b: *i64, count: i64) -> i64 called by 1: main |
| 81 | func main() -> i64 |