nx_zimage_sdpaonly_verify.nx
buildroot/runtime/nx_zimage_sdpaonly_verify.nx
about
nx_zimage_sdpaonly_verify.nx -- SOVEREIGN Z-Image attention sub-piece 2c: SDPA, verified vs oracle.
Rewritten with NT=4 UNROLLED locals (no sc[] scratch, no nested t2 loop) to dodge the codegen crash.
Reads oracle q_roped/k_roped + qkv(V) -> per-head softmax(q.k/sqrt128) v -> ao_pre.
license_tier: ORIGINAL
dependencies 7 imports · 0 importers
imports: nx_syscalls.nxnx_le.nxnx_f32.nxnx_f32_div.nxnx_f32_cvt.nxnx_f32_exp.nxnx_strconv.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
| 12 | const K_MAGIC_3840: i64 = 3840 |
| 13 | const K_MAGIC_11520: i64 = 11520 |
| 14 | const K_MAGIC_7680: i64 = 7680 |
functions
| 16 | func zso_load(name: *u8, nl: i64, n_floats: i64) -> *u8 |
| 40 | func main() -> i64 |