code wiki / _hdl_build / nx_parallel_ingest_test.nx

nx_parallel_ingest_test.nx

buildroot/runtime/_hdl_build/nx_parallel_ingest_test.nx

2849 B61 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic parallel
docsdependenciesstructsconstsfunctions

about

nx_parallel_ingest_test.nx -- ingest 256 capability results in PARALLEL with a bounded pool, prove it matches the sequential answer (correct), and show the resource bound: at most K workers live at once, a compact 256-byte bank, parent RAM flat. Speedup measured.

dependencies 1 imports · 0 importers

nx_parallel_ingest.nx nx_parallel_ingest_test.nx

imports: nx_parallel_ingest.nx

imported by: nobody (leaf or entry point)

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

main pi_main pi_puts par_mmap_shared sys_now_us sys_mmap sys_clock_gettime_mono par_ingest sys_mmap ↻ sys_fork par_work sys_mmap ↻ bl_find sys_mmap ↻ bl_enum bl_is_unary bl_eval bl_enum ↻ sys_exit sys_wait4 par_work ↻ pi_num

structs

none

consts

none

functions

7func pi_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: pi_main
8func pi_num(v: i64) -> i64
called by 1: pi_main
17func pi_main(r: *i64) -> i64
55func main() -> i64
calls 1: pi_main