code wiki / _hdl_build / nx_f32_hw_matmul_gate.nx
nx_f32_hw_matmul_gate.nx
buildroot/runtime/_hdl_build/nx_f32_hw_matmul_gate.nx
about
nx_f32_hw_matmul_gate.nx -- proves the hardware-float GEMM is correct.
T1 kat : hw 2x2 [[1,2],[3,4]]@[[5,6],[7,8]] == [[19,22],[43,50]]
T2 differential : hw == software nx_f32_matmul BIT-FOR-BIT on an 8x8 (binary32 cross-check)
T3 bad-dim : m=0 -> NX_HWMM_ERR
GREEN only if all three hold. Evidence -> knowledge/status/f32_hw_matmul_gate.log.
Sovereign: imports nx_f32_hw_matmul (hw, -> nx_f32_hw SSE) + nx_f32_matmul (sw ref, -> nx_f32)
+ nx_framed_append + nx_syscalls. license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_f32_hw_matmul.nxnx_f32_matmul.nxnx_framed_append.nxnx_syscalls.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
| 15 | const HG_LOG: *u8 = "knowledge/status/f32_hw_matmul_gate.log" |
functions
| 17 | func hg_cat(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64 = 0; while s[i] != 0 as u8 { dst[off + i] = s[i]; i = i + 1 } return off + i } |
| 18 | func hg_catn(dst: *u8, off: i64, v: i64) -> i64 |
| 28 | func hg_row(name: *u8, pass: i64) -> i64 |
| 41 | func main() -> i64 |