code wiki / (root) / nx_vecexec_gate.nx

nx_vecexec_gate.nx

buildroot/runtime/nx_vecexec_gate.nx

4599 B95 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_vecexec_gate.nx -- proves the vectorized operators are CORRECT (identical to a scalar reference) and that they run over the zero-copy colframe. Correctness is deterministic and lives here; THROUGHPUT is nondeterministic and is reported by the organ's `bench` verb, never faked in the gate. Hand-computed known answers on a tiny frame + a cross-check against the scalar path on a larger random frame. D001 verdict via nx_gate_verdict. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_gate_verdict.nx nx_vecexec.nx nx_vecexec_gate.nx

imports: nx_gate_verdict.nxnx_vecexec.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gv_ctr sys_mmap gv_head gv_puts sys_write vg_frame2 cf_encoded_bytes cf_slen cf_align8 cf_encode cf_align8 ↻ gv_check gv_puts ↻ vg_eq vx_sum cf_nrows cf_col cf_data_off vx_count_ge cf_nrows ↻ cf_col ↻ vx_filter_ge cf_nrows ↻ cf_col ↻ vx_sum_where_ge vx_filter_ge ↻ vx_sum_sel cf_col ↻ vx_scalar_sum_where_ge cf_nrows ↻ cf_col ↻ vx_pred_ge gv_verdict gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal

structs

none

consts

none

functions

9func vg_eq(a: i64, b: i64) -> i64 { if a == b { return 1 } return 0 }
called by 1: main
12func vg_frame2(a: *i64, b: *i64, na: *u8, nb: *u8, n: i64) -> *u8
called by 1: main calls 2: cf_encoded_bytescf_encode
25func main() -> i64