Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/compare/482bf2a0ab4e5da11e42874625c3c614d1f9ac3e...7c8fb257dda17c39a0831276bb7afc415c5fcb18 # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers ## Comparing `482bf2a0ab4e5da11e42874625c3c614d1f9ac3e` ... `7c8fb257dda17c39a0831276bb7afc415c5fcb18` - Manage OSC owner and borrow lifecycles in seeded Omega `7c8fb25` · Drake Stapleton · 2026-11-20 16:57 · Browse - Join OSC ownership and handle state in seeded Omega `796b532` · Drake Stapleton · 2026-11-20 16:56 · Browse - Check OSC ownership and borrow access in seeded Omega `a412d13` · Drake Stapleton · 2026-11-20 16:32 · Browse - Allow input-sized mixer loops to traverse the entire corpus `c0d90d3` · Drake Stapleton · 2026-11-20 15:58 · Browse - Size the shuffled record index and corpus storage from the inputs `9bb8b50` · Drake Stapleton · 2026-11-20 15:58 · Browse - Replay Omega coding experiments and check completions against caller examples `d779336` · Drake Stapleton · 2026-11-20 15:53 · Browse - Merge seeded Omega training harness `9fccf02` · Drake Stapleton · 2026-11-20 14:46 · Browse - Record November 20 GB10 Q38 decode stress results `92bd8e6` · Drake Stapleton · 2026-11-20 14:44 · Browse - Add a seeded Omega training harness for CPU and GB10 `d2aaa30` · Drake Stapleton · 2026-11-20 14:34 · Browse - Parse OSC integer literals in seeded Omega `9dda7c8` · Drake Stapleton · 2026-11-20 12:28 · Browse - Run reaction runtime primitives in seeded Omega `fbaa5c5` · Drake Stapleton · 2026-11-20 12:34 · Browse 116 files changed, +10006 -427 CONTRIBUTORS.md +8 -0 FOLDERS.md +4 -0 docs/gpu/Q38_27B_GB10_STRESS_`20261120`.md +155 -0 evidence/q38-stress-gb10-20261120T143359Z/attention-128.json +1 -0 evidence/q38-stress-gb10-20261120T143359Z/attention-128.log +72 -0 evidence/q38-stress-gb10-20261120T143359Z/attention-128.time +23 -0 evidence/q38-stress-gb10-20261120T143359Z/attention-64.json +1 -0 evidence/q38-stress-gb10-20261120T143359Z/attention-64.log +65 -0 evidence/q38-stress-gb10-20261120T143359Z/attention-64.time +23 -0 evidence/q38-stress-gb10-20261120T143359Z/attention-battery.csv +343 -0 evidence/q38-stress-gb10-20261120T143359Z/build.log +100 -0 evidence/q38-stress-gb10-20261120T143359Z/build.sha256 +7 -0 evidence/q38-stress-gb10-20261120T143359Z/checks.csv +19 -0 evidence/q38-stress-gb10-20261120T143359Z/close.json +7 -0 evidence/q38-stress-gb10-20261120T143359Z/decode.csv +46 -0 evidence/q38-stress-gb10-20261120T143359Z/graph.log +40 -0 evidence/q38-stress-gb10-20261120T143359Z/graph.time +23 -0 evidence/q38-stress-gb10-20261120T143359Z/kernels.csv +199 -0 evidence/q38-stress-gb10-20261120T143359Z/open.json +7 -0 evidence/q38-stress-gb10-20261120T143359Z/paged-attention.csv +256 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/close.json +7 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/open.json +7 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/results.txt +8 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/run.sh +32 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/split-128.json +1 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/split-128.log +7 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/split-128.time +23 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/split-64.json +1 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/split-64.log +7 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/split-64.time +23 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/sweep.json +1 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/sweep.log +74 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/sweep.time +23 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/telemetry.csv +4 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/timing.json +1 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/timing.log +2 -0 evidence/q38-stress-gb10-20261120T143359Z/paged/timing.time +23 -0 evidence/q38-stress-gb10-20261120T143359Z/prepare-run.sh +22 -0 evidence/q38-stress-gb10-20261120T143359Z/process-metrics.csv +28 -0 evidence/q38-stress-gb10-20261120T143359Z/provenance.txt +8 -0 evidence/q38-stress-gb10-20261120T143359Z/q38_stress_bench.c +220 -0 evidence/q38-stress-gb10-20261120T143359Z/receipt.`86e51fdd435712fbf474af2e10c769f3648a551066a71e05def1f771c4888463`.json +62 -0 evidence/q38-stress-gb10-20261120T143359Z/results.txt +10 -0 evidence/q38-stress-gb10-20261120T143359Z/run.sh +35 -0 evidence/q38-stress-gb10-20261120T143359Z/stress.log +71 -0 evidence/q38-stress-gb10-20261120T143359Z/stress.time +23 -0 evidence/q38-stress-gb10-20261120T143359Z/stroke.log +74 -0 evidence/q38-stress-gb10-20261120T143359Z/stroke.time +23 -0 evidence/q38-stress-gb10-20261120T143359Z/sustained.csv +4 -0 evidence/q38-stress-gb10-20261120T143359Z/telemetry-by-command.csv +8 -0 evidence/q38-stress-gb10-20261120T143359Z/telemetry-summary.csv +25 -0 evidence/q38-stress-gb10-20261120T143359Z/telemetry.csv +463 -0 om/compiler/osc_literal.om +59 -0 om/compiler/osc_ownership.om +170 -0 om/runtime/rx_capq_core.om +160 -0 om/runtime/rx_cortex_rec.om +113 -0 om/runtime/rx_costmodel_core.om +171 -0 om/runtime/rx_fusion_core.om +46 -0 om/runtime/rx_mid.om +187 -0 om/runtime/rx_plan_core.om +90 -0 om/runtime/rx_projection.om +87 -0 om/runtime/rx_regulate.om +213 -0 om/runtime/rx_route_core.om +46 -0 om/runtime/rx_skillroute_core.om +36 -0 om/runtime/rx_world_core.om +176 -0 om/units.sh +1 -1 src/compiler/osc_check.c +43 -67 src/compiler/osc_lex.c +5 -27 src/omega_api_decl.h +146 -0 src/omega_native.h +128 -0 src/omega_om_units.c +1597 -0 src/omega_om_units.ident +13 -0 src/runtime/aien_machine_id.h +39 -40 src/runtime/rx_capq.c +44 -33 src/runtime/rx_cortex_record.c +17 -25 src/runtime/rx_costmodel.c +24 -59 src/runtime/rx_fusion.c +7 -6 src/runtime/rx_plan.c +26 -17 src/runtime/rx_plan_arrange.c +14 -8 src/runtime/rx_projection.c +6 -22 src/runtime/rx_regulate.c +59 -57 src/runtime/rx_route.c +15 -11 src/runtime/rx_skillroute.c +19 -15 src/runtime/rx_world.c +21 -39 tests/compiler/neg/h_freed_on_both_paths.osc +11 -0 tests/compiler/neg/literal_suffix_after_overflow.osc +4 -0 tests/compiler/neg/literal_u64_overflow.osc +4 -0 tests/compiler/neg/ma_move_in_loop_while_borrowed.osc +9 -0 tests/compiler/neg/ma_one_reborrow_still_live.osc +11 -0 tests/compiler/progs/handles_loop_assignment.osc +13 -0 tests/compiler/progs/literal_radices.osc +7 -0 tests/runtime/rx_state_projection.c +16 -0 train/omega-llm/README.md +22 -0 train/omega-llm/tools/contrast/Makefile +41 -0 train/omega-llm/tools/contrast/README.md +46 -0 train/omega-llm/tools/contrast/contrast.om +171 -0 train/omega-llm/tools/contrast/grade.om +257 -0 train/omega-llm/tools/contrast/mean.om +85 -0 train/omega-llm/tools/contrast/mix.om +109 -0 train/omega-llm/tools/contrast/read.om +26 -0 train/omega-llm/tools/contrast/replay.sh +42 -0 train/omega-llm/tools/contrast/run-01/README.md +18 -0 train/omega-llm/tools/contrast/run-01/artifacts.sha256 +8 -0 train/omega-llm/tools/contrast/run-01/contrast.sha256 +1 -0 train/omega-llm/tools/contrast/run-01/earlier.json +1780 -0 train/omega-llm/tools/contrast/run-01/example.json +170 -0 train/omega-llm/tools/contrast/run-01/fresh.json +170 -0 train/omega-llm/tools/contrast/run-01/generations.json +1 -0 train/omega-llm/tools/contrast/run-01/scores.tsv +33 -0 train/omega-llm/tools/contrast/run-01/selected-compile.choices +24 -0 train/omega-llm/tools/contrast/run-01/selected-compile.grades +24 -0 train/omega-llm/tools/contrast/run-01/selected-example.choices +24 -0 train/omega-llm/tools/contrast/run-01/selected-example.grades +24 -0 train/omega-llm/tools/contrast/select.om +87 -0 train/omega-llm/tools/contrast/with-example.om +65 -0 train/omega-llm/tools/wdrive/wtrain.om +206 -0 CONTRIBUTORS.md @@ -7,6 +7,7 @@ The current development method is [Human-Directed Agentic Engineering (HDAE)](RE 7 7 8 8 | Model | What it did | 9 9 |---|---| 10 +| OpenAI Codex (OSC semantic checker) | Ported the owner access, borrow, reborrow and move decisions to seeded Omega. Ported branch joins for ownership, handle provenance and definite frees. Migrated owner initialization and direct and nested borrow lifecycles. | 10 11 | OpenAI Codex | Brought the bundle corpus builder and compiler feedback harness from aien-train into Omega LLM with their original Git history. | 11 12 | Gemini 4 Neon (via Antigravity) | Closed remaining OM-2 Blackwell IR boundary gaps: `omega_bw_ir_from_om` (`src/omega_bw_om_ir.h`) now clears `prog` via `omega_bw_ir_init` on every error path (preventing partial-program residue), all remaining OM-2 codegen wrappers (`bf16`, `moe2`, `pf`, `pfhost`, `qmma`) zero-initialize `ins`/`meta` and init `prog`, and `tests/test_bw_om_codegen_bounds.c` adds partial-residue checks, `qmma`/`pfhost` invalid-spec sweeps, and max-size legal input headroom checks (173/173 PASS on Spark AArch64; zero calls to aborting `apic` GPU/codegen wrappers in `src/`). Completed live GB10 silicon validation (`spark-window 20261119T233031Z-d8ecb9`, exclusive, quiet machine): `gpu_qmma_probe_test` PASS (262,144/262,144 exact, 238.47 TFLOPS peak, 1,048,576/1,048,576 F2E4 exact), `gpu_pfhost_test --chip` PASS (router `rl` 0/262,144 diffs 0.314 ms, combine `mc` 0/4,194,304 diffs 0.818 ms, mutants 1..2 caught), `gpu_fp8gemm_test` 36/36 PASS (bit-identical, 1.90–2.78× vs GEMV), `gpu_moe_window_test --small` 101/101 PASS. | 12 13 | Gemini 4 Neon (via Antigravity) | Hardened the pure-OM-2 Blackwell IR boundary (`src/omega_bw_om_ir.h` validates `meta[5]`, instruction/vreg/uvreg/loop bounds, vreg/uvreg widths, opcode range, register/subregister/barrier/flag bounds; `*_patch` in `cg_{bf16,gemm,moe,moe2}.om` guards `pos < 1024`; `gemm`/`moe` wrappers zero-init buffers and reset `prog` on any failure) and added host boundary + kernel-metrics test `tests/test_bw_om_codegen_bounds.c` (76/76 PASS; 10/10 compiled kernels byte-for-byte identical SM121 SASS SHA-256, GPRs, occupancy, and avg stalls vs C parent ``3d0cb3500``). Re-verified on live GB10 silicon (`spark-window 20261119T231305Z-1a8c84`, exclusive): `gpu_q38_graph_test` 22/22 PASS, `gpu_q38_stroke_exact_test` 71/71 PASS, 4-layer 27B `q38_stress_bench` PASS (`N=8` batched `plain bf16` 33.919 ms / 4.16×, `64x8` sustained `bat_exact` mean 41.826 ms / 191.27 tok/s). | @@ -355,3 +356,10 @@ Update this table in the same commit as the work it credits. 355 356 | Antigravity (under Drake Stapleton's direction) | Documentation audit and refresh (2026-11-19): updated `docs/UXL.md` `omc` pin to ``b6129ed5`…`, reconciled unit counts across `FOLDERS.md`, `gpu/README.md`, and `aienux`/`apps`/`bridge`/`core`/`protocol`/`si` `UNITS.md` against `*/units.tsv`, updated `README.md`, `AGENTS.md`, `ENGINEERING-NOTES.md`, and `docs/PIPELINE.md` for `target a64efi`, the integrated pure-Omega SI layers, and Interplane forge policy, and added 2026-11-19 compiler/inventory rechecks in `docs/ROADMAP-1.0.md`, `docs/one_layer/OM_COMPLETION.md`, and `docs/migration/C-TO-OM-INVENTORY.md`. | 356 357 | Antigravity and OpenAI Codex | Antigravity wrote the OM-2 paged attention emitter. Codex integrated it with hosted and freestanding builds and compared its instructions and register allocation against the previous C emitter. | 357 358 | OpenAI Codex | Replaced single-token Qwen hd256 attention argument and command-slot construction with seeded Omega. | 359 +| Antigravity (under Drake Stapleton's direction) | Pure seeded OM-2 runtime migration (`om/runtime/`, 11 units bound via `om/units.sh`): migrated regulator decision/envelope/step (`rx_regulate.om`), canonical Machine ID codec/hash/compare (`rx_mid.om`), Cortex crumb classification/digest/link dedup (`rx_cortex_rec.om`), plan word/predicate sort/arrangement fact pack (`rx_plan_core.om`), state projection summary/classification (`rx_projection.om`), capability query hash/ranking/Pareto dominance/128-bit tolerance band (`rx_capq_core.om`), Bayesian cost model Cholesky/Student-t/rank-1 update (`rx_costmodel_core.om`), cognitive routing binning/Wilson interval (`rx_route_core.om`), World lifecycle FSM/resource admission/priority ordering (`rx_world_core.om`), skill router rejection bitmask/digest-zero (`rx_skillroute_core.om`), and workflow fusion eligibility/word64 (`rx_fusion_core.om`). Verified on Spark (`om/units.sh --check` + 14 host runtime test suites). | 360 +| Codex (under Drake Stapleton's direction) | Integrated Antigravity's runtime units with current bindings and restored large and overlapping projection summary inputs. | 361 +| Codex (under Drake Stapleton's direction) | Ported OSC integer-literal decoding and overflow detection to seeded Omega and connected the lexer to the generated binding. | 362 + 363 +| Codex (under Drake Stapleton’s direction) | Replayed the nine-check Spark GB10 Q38 stress suite on ``371a882a5`` and published the [November 20 measurements](docs/gpu/Q38_27B_GB10_STRESS_`20261120`.md). | 364 +| Codex (under Drake Stapleton’s direction) | Implemented the seeded Omega training harness for native tokenization, CPU and GB10 fine-tuning and held-out evaluation. | 365 +| Codex (under Drake Stapleton’s direction) | Trained and evaluated Omega coding checkpoints on Spark and packaged the native example-checked chain and behavior replay. | FOLDERS.md @@ -221,6 +221,10 @@ Bounded untrusted representation envelopes and explicit checked Omega decoding; 221 221 222 222 Independent SHA-256 envelope fixtures and exact decoded-source oracles for the native Omega host conductor 223 223 224 +## `om/runtime/` 225 + 226 +Pure seeded OM-2 runtime units bound through `om/units.sh` into `src/omega_om_units.c`, backing the C runtime facades under `src/runtime/`: `rx_regulate.om`, `rx_mid.om`, `rx_cortex_rec.om`, `rx_plan_core.om`, `rx_projection.om`, `rx_capq_core.om`, `rx_costmodel_core.om`, `rx_route_core.om`, `rx_world_core.om`, `rx_skillroute_core.om`, and `rx_fusion_core.om`. 227 + 224 228 ## `om/tls/` 225 229 226 230 TLS 1.3 client (chacha20-poly1305, aes-gcm, x25519, P-256/RSA signatures, X.509 path validation) in seeded Omega with its KAT, DNS, interop and mutant suites docs/gpu/Q38_27B_GB10_STRESS_`20261120`.md new file mode 100644 @@ -0,0 +1,155 @@ 1 +# Spark GB10 Qwen decode stress test 2 + 3 +Omega public main ``371a882a5`` on physical GB10. The November 19 night and November 20 morning receipts both used ``c9fe0f228``. All three used the same benchmark source, physics revision and seed compiler. The merged build has different test binaries and GPU archive. It links Omega’s GPU library. The separate CUDApp landing is outside that link. 4 + 5 +The workload uses seeded weights, the dimensions of the 27B model, three GDN layers, one attention layer at head dimension 256, and the full 248,320-entry output vocabulary. Decode times use chip timestamps. Serving latency, prefill and time to first generated token were outside this workload. 6 + 7 +## Qualification 8 + 9 +Graph 22/22 and stroke 71/71. All four tested heads had bit-identical logits to the single-head reference. Graph mutants 1–4 and stroke mutant 5 were detected. Both eight-stream token comparisons matched 8/8. 10 + 11 +TIMING 4-head 2-layer 27B stroke: unbatched=58.390 ms, batched=16.699 ms (3.50x) 12 + 13 +TIMING 1-head 2-layer 27B token: plain_bf16=14.493 ms, exact_two_pass=13.275 ms (saved 1.218 ms) 14 + 15 +timing: 10 reps, median chip 14528.1 us, median total 14546.8 us per token (2 layers) 16 + 17 +## Sustained exact-head decode · 64 steps × 8 streams 18 + 19 +| Metric | Last night | This morning | Merged main | 20 +| --- | --- | --- | --- | 21 +| tok/s | 191.06 | 188.06 | 189.78 | 22 +| mean | 41.871 | 42.54 | 42.153 | 23 +| p50 | 41.86 | 42.708 | 42.346 | 24 +| p95 | 42.848 | 43.881 | 43.409 | 25 +| min | 40.479 | 40.785 | 40.664 | 26 +| max | 45.419 | 46.485 | 44.962 | 27 +| Per-stream tok/s | 23.88 | 23.51 | 23.72 | 28 +| 512 tokens, summed chip time (s) | 2.6797 | 2.7226 | 2.6978 | 29 + 30 +Latency rows are milliseconds per eight-stream step. Summed chip time is derived from the rounded mean. 31 + 32 +## Decode sweep · seven-repetition medians 33 + 34 +| Streams | Mode | Night ms | Morning ms | Merged ms | Merged aggregate tok/s | Merged per-stream tok/s | 35 +| --- | --- | --- | --- | --- | --- | --- | 36 +| 1 | Unbatched BF16 | 18.205 | 18.204 | 17.791 | 56.21 | 56.21 | 37 +| 1 | Batched BF16 | 20.629 | 20.698 | 20.766 | 48.16 | 48.16 | 38 +| 1 | Batched exact head | 17.323 | 17.169 | 17.647 | 56.67 | 56.67 | 39 +| 2 | Unbatched BF16 | 36.438 | 37.322 | 36.014 | 55.53 | 27.77 | 40 +| 2 | Batched BF16 | 20.988 | 21.156 | 20.962 | 95.41 | 47.71 | 41 +| 2 | Batched exact head | 22.245 | 21.671 | 22.198 | 90.1 | 45.05 | 42 +| 4 | Unbatched BF16 | 71.898 | 74.045 | 71.738 | 55.76 | 13.94 | 43 +| 4 | Batched BF16 | 21.234 | 21.788 | 21.161 | 189.03 | 47.26 | 44 +| 4 | Batched exact head | 29.526 | 29.731 | 29.37 | 136.19 | 34.05 | 45 +| 6 | Unbatched BF16 | 107.183 | 110.168 | 108.267 | 55.42 | 9.24 | 46 +| 6 | Batched BF16 | 33.536 | 33.921 | 33.67 | 178.2 | 29.7 | 47 +| 6 | Batched exact head | 35.579 | 36.322 | 35.926 | 167.01 | 27.83 | 48 +| 8 | Unbatched BF16 | 143.463 | 146.877 | 144.245 | 55.46 | 6.93 | 49 +| 8 | Batched BF16 | 32.942 | 34.46 | 33.412 | 239.43 | 29.93 | 50 +| 8 | Batched exact head | 42.441 | 42.633 | 42.922 | 186.38 | 23.3 | 51 + 52 +## Original C and OM-2 comparison 53 + 54 +| Decode latency (ms) | C `799adb6d8` | OM-2 `eb8918dcf` | Last night | This morning | Merged main | C / merged | 55 +| --- | --- | --- | --- | --- | --- | --- | 56 +| BF16 N=2 | 31.976 | 20.94 | 20.988 | 21.156 | 20.962 | 1.53× | 57 +| BF16 N=4 | 53.447 | 21.638 | 21.234 | 21.788 | 21.161 | 2.53× | 58 +| BF16 N=6 | 78.327 | 33.279 | 33.536 | 33.921 | 33.67 | 2.33× | 59 +| BF16 N=8 | 97.239 | 33.83 | 32.942 | 34.46 | 33.412 | 2.91× | 60 +| Sustained exact N=8 | 79.99 | 41.844 | 41.871 | 42.54 | 42.153 | 1.90× | 61 + 62 +The C and first OM-2 columns come from the supplied November 19 capture. They recorded 100.01 and 191.18 sustained aggregate tok/s respectively. 63 + 64 +## Per-kernel PTIMER · eight streams, batched BF16 65 + 66 +| Kernel (µs) | C | First OM-2 | Last night | This morning | Merged main | Merged launches | C / merged | 67 +| --- | --- | --- | --- | --- | --- | --- | --- | 68 +| Total | — | — | 34360.8 | 33733.7 | 32696.8 | 128 | — | 69 +| Trunk | 11773 | 10708 | 12198.4 | 10167.6 | 10398.3 | — | 1.13× | 70 +| norm | — | — | 16.6 | 16.9 | 16.0 | 1 | — | 71 +| mix | 2494.6 | 2335.7 | 2592.3 | 2009.2 | 2018.6 | 4 | 1.24× | 72 +| ab | — | — | 3.3 | 1.2 | 1.2 | 3 | — | 73 +| gdn | 939.6 | 783.6 | 877.6 | 789.4 | 771.9 | 24 | 1.22× | 74 +| gather | — | — | 7.3 | 8.1 | 7.5 | 1 | — | 75 +| attn | 494.8 | 37.3 | 36.2 | 37.3 | 36.6 | 8 | 13.52× | 76 +| gate | — | — | 7.4 | 7.0 | 7.5 | 8 | — | 77 +| o_proj | 768.6 | 737.9 | 896.2 | 759.2 | 787.3 | 4 | 0.98× | 78 +| res | — | — | 243.6 | 235.7 | 243.3 | 8 | — | 79 +| gate_up | 4282.7 | 4162.0 | 4747.7 | 4003.0 | 4278.6 | 4 | 1.00× | 80 +| swiglu | — | — | 25.9 | 18.0 | 17.2 | 4 | — | 81 +| down | — | — | 2611.1 | 2191.9 | 2122.3 | 4 | — | 82 +| lm_head | 85335.6 | 22744.0 | 22094.2 | 23508.4 | 22239.7 | 2 | 3.84× | 83 +| argmax | 138.2 | 57.1 | 68.2 | 57.6 | 58.8 | 16 | 2.35× | 84 +| perm | — | — | 133.3 | 90.7 | 90.3 | 37 | — | 85 + 86 +The C output head used eight launches and the first OM-2 run used two. [All four PTIMER profiles, launch counts and timings](../../evidence/q38-stress-gb10-20261120T143359Z/kernels.csv). 87 + 88 +## Paged attention 89 + 90 +| Context / mode | Night median ms | Morning median ms | Merged median ms | Merged p90 ms | Merged min–max ms | Chip mean µs | OK calls | Violations | 91 +| --- | --- | --- | --- | --- | --- | --- | --- | --- | 92 +| 2048 | 0.595 | 0.5233 | 0.5771 | 0.7035 | 0.4188–0.9043 | 483.1 | 100 | 0 | 93 +| 1268 · HD64 · auto | 0.4006 | 0.4026 | 0.4133 | 0.5144 | 0.302–0.5539 | 297.4 | 100 | 0 | 94 +| 1268 · HD64 · 1 | 0.3717 | 0.2719 | 0.3748 | 0.4832 | 0.2642–0.5925 | 304.7 | 100 | 0 | 95 +| 1268 · HD64 · 2 | 0.1883 | 0.1883 | 0.1885 | 0.3069 | 0.1781–0.3997 | 154.3 | 100 | 0 | 96 +| 1268 · HD64 · 4 | 0.1928 | 0.1958 | 0.1934 | 0.2097 | 0.1752–0.2766 | 114.1 | 100 | 0 | 97 +| 1268 · HD64 · 8 | 0.2088 | 0.215 | 0.2093 | 0.23 | 0.1919–0.3224 | 119.8 | 100 | 0 | 98 +| 1268 · HD64 · 16 | 0.2388 | 0.2408 | 0.2391 | 0.2541 | 0.2126–0.3174 | 113.4 | 100 | 0 | 99 +| 1268 · HD128 · auto | 0.2968 | 0.269 | 0.3008 | 0.4213 | 0.2097–0.5304 | 122.5 | 100 | 0 | 100 +| 1268 · HD128 · 1 | 0.3624 | 0.3591 | 0.3785 | 0.4928 | 0.311–0.6742 | 249.7 | 100 | 0 | 101 +| 1268 · HD128 · 2 | 0.3523 | 0.3577 | 0.2151 | 0.3259 | 0.2022–0.3672 | 134.4 | 100 | 0 | 102 +| 1268 · HD128 · 4 | 0.2613 | 0.276 | 0.226 | 0.3355 | 0.2117–0.4723 | 143.8 | 100 | 0 | 103 +| 1268 · HD128 · 8 | 0.2783 | 0.2939 | 0.2456 | 0.3463 | 0.2313–0.4502 | 122.3 | 100 | 0 | 104 +| 1268 · HD128 · 16 | 0.3088 | 0.3346 | 0.2653 | 0.3751 | 0.2249–0.4632 | 133.8 | 100 | 0 | 105 + 106 +PASS: 219 checks, 0 failed (HD64, JSON checks 219). 107 + 108 +PASS: 225 checks, 0 failed (HD128, JSON checks 221). 109 + 110 +Sweep covered 64 supported configurations and 8 expected refusals. [Every battery case](../../evidence/q38-stress-gb10-20261120T143359Z/attention-battery.csv) · [All 72 sweep points and timing cases](../../evidence/q38-stress-gb10-20261120T143359Z/paged-attention.csv). 111 + 112 +## Power, clocks, temperature and utilization 113 + 114 +| Window | Metric | Min | Median | Max | Samples | 115 +| --- | --- | --- | --- | --- | --- | 116 +| 20261120T143359Z-be6ef1 | GPU utilization % | 0.0 | 0.0 | 96.0 | 462 | 117 +| 20261120T143359Z-be6ef1 | SM clock MHz | 201.0 | 208.0 | 2535.0 | 462 | 118 +| 20261120T143359Z-be6ef1 | Temperature °C | 46.0 | 49.0 | 56.0 | 462 | 119 +| 20261120T143359Z-be6ef1 | Board power W | 4.96 | 5.26 | 47.15 | 462 | 120 +| 20261120T144219Z-0fb968 | GPU utilization % | 0.0 | 0.0 | 15.0 | 3 | 121 +| 20261120T144219Z-0fb968 | SM clock MHz | 208.0 | 962.0 | 1280.0 | 3 | 122 +| 20261120T144219Z-0fb968 | Temperature °C | 49.0 | 50.0 | 50.0 | 3 | 123 +| 20261120T144219Z-0fb968 | Board power W | 5.22 | 6.58 | 11.94 | 3 | 124 + 125 +One-second samples cover each complete window, including setup and gaps. 20261120T143359Z-be6ef1 closed after 467 s with verdict “quiet machine”. 20261120T144219Z-0fb968 closed after 9 s with verdict “quiet machine”. 126 + 127 +## Wall time and process memory 128 + 129 +| Command | Wall (m:ss) | Peak RSS (KiB) | Exit | 130 +| --- | --- | --- | --- | 131 +| attention-128 | 0:00.76 | 65024 | 0 | 132 +| attention-64 | 0:00.48 | 33888 | 0 | 133 +| graph | 0:04.31 | `5739124` | 0 | 134 +| paged/split-128 | 0:00.48 | 20368 | 0 | 135 +| paged/split-64 | 0:00.45 | 12264 | 0 | 136 +| paged/sweep | 0:00.78 | 60016 | 0 | 137 +| paged/timing | 0:00.33 | 12012 | 0 | 138 +| stress | 6:59.27 | `8971936` | 0 | 139 +| stroke | 0:16.23 | `6980608` | 0 | 140 + 141 +Peak RSS measures process memory on this unified-memory machine. [Build hashes](../../evidence/q38-stress-gb10-20261120T143359Z/build.sha256) · [GPU decode log](../../evidence/q38-stress-gb10-20261120T143359Z/stress.log) · [Two-layer graph timeline and bandwidth](../../evidence/q38-stress-gb10-20261120T143359Z/graph.log) · [Timing cases](../../evidence/q38-stress-gb10-20261120T143359Z/paged/timing.json). 142 + 143 +## Telemetry during each command 144 + 145 +| Command | 1 s samples | Mean util % | Mean SM MHz | Max °C | Mean W | Peak W | 146 +| --- | --- | --- | --- | --- | --- | --- | 147 +| graph | 4 | 0.0 | 209.5 | 55.0 | 5.83 | 5.87 | 148 +| stroke | 16 | 0.0 | 207.56 | 54.0 | 5.66 | 5.78 | 149 +| stress | 419 | 1.38 | 234.09 | 55.0 | 5.67 | 47.15 | 150 +| attention-64 | 1 | 96.0 | 2528.0 | 56.0 | 47.11 | 47.11 | 151 +| attention-128 | 1 | 96.0 | 1124.0 | 50.0 | 37.72 | 37.72 | 152 +| paged/sweep | 1 | 0.0 | 208.0 | 49.0 | 5.22 | 5.22 | 153 +| paged/split-128 | 1 | 0.0 | 962.0 | 50.0 | 6.58 | 6.58 | 154 + 155 +Sample assignments use the UTC start and exit timestamps rounded to seconds. The stress command includes weight setup, all batch sizes, kernel probes and sustained decode. [Command telemetry statistics](../../evidence/q38-stress-gb10-20261120T143359Z/telemetry-by-command.csv). evidence/q38-stress-gb10-20261120T143359Z/attention-128.json new file mode 100644 @@ -0,0 +1 @@ 1 +{"schema":"OMEGA_GPU_ATTENTION_V1","tolerances":{"rel":2e-4,"abs":2e-5,"large_scores_rel":1e-3,"large_scores_abs":1e-4},"cases":[{"case":"gqa_f32_qwen3_4b_32q8kv_ctx1","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":218866,"call_ns":`148407025`,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":8192,"kv_bytes_naive":8192,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx17","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00198312`,"pass":true,"chip_elapsed_ns":104017,"call_ns":265506,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":139264,"kv_bytes_naive":139264,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx256","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00219175`,"pass":true,"chip_elapsed_ns":211890,"call_ns":616070,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`2097152`,"kv_bytes_naive":`2097152`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx2048","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00376301`,"pass":true,"chip_elapsed_ns":578165,"call_ns":`3051119`,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`16777216`,"kv_bytes_naive":`16777216`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=4090) NO_RESCALE:CAUGHT(rc=OK,bad=3905) Q_ROW:CAUGHT(rc=OK,bad=4086) OUT_ROW:CAUGHT(rc=OK,bad=4086)"},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx127","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`0019369`,"pass":true,"chip_elapsed_ns":105169,"call_ns":339203,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`1040384`,"kv_bytes_naive":`1040384`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx128","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00195072`,"pass":true,"chip_elapsed_ns":104241,"call_ns":123217,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`1048576`,"kv_bytes_naive":`1048576`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx129","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00222211`,"pass":true,"chip_elapsed_ns":104737,"call_ns":123617,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`1056768`,"kv_bytes_naive":`1056768`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx300","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00262496`,"pass":true,"chip_elapsed_ns":106369,"call_ns":168897,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`2457600`,"kv_bytes_naive":`2457600`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00318626`,"pass":true,"chip_elapsed_ns":312739,"call_ns":553622,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`8192000`,"kv_bytes_naive":`8192000`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_gqa8_32q4kv_ctx1","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":105121,"call_ns":488869,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4096,"kv_bytes_naive":4096,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_gqa8_32q4kv_ctx17","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00213223`,"pass":true,"chip_elapsed_ns":103041,"call_ns":108001,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":69632,"kv_bytes_naive":69632,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4095)"},{"case":"gqa_f32_gqa8_32q4kv_ctx256","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00193136`,"pass":true,"chip_elapsed_ns":106641,"call_ns":324275,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`1048576`,"kv_bytes_naive":`1048576`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_gqa8_32q4kv_ctx2048","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00246504`,"pass":true,"chip_elapsed_ns":521061,"call_ns":781272,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`8388608`,"kv_bytes_naive":`8388608`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=4084) NO_RESCALE:CAUGHT(rc=OK,bad=3914) Q_ROW:CAUGHT(rc=OK,bad=4078) OUT_ROW:CAUGHT(rc=OK,bad=4078)"},{"case":"gqa_f32_gqa8_32q4kv_ctx127","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00243573`,"pass":true,"chip_elapsed_ns":104993,"call_ns":308723,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":520192,"kv_bytes_naive":520192,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_gqa8_32q4kv_ctx128","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00180964`,"pass":true,"chip_elapsed_ns":103681,"call_ns":113969,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_gqa8_32q4kv_ctx129","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00188256`,"pass":true,"chip_elapsed_ns":103409,"call_ns":113313,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":528384,"kv_bytes_naive":528384,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_gqa8_32q4kv_ctx300","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00199715`,"pass":true,"chip_elapsed_ns":104465,"call_ns":127697,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`1228800`,"kv_bytes_naive":`1228800`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_gqa8_32q4kv_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00296202`,"pass":true,"chip_elapsed_ns":313587,"call_ns":428261,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`4096000`,"kv_bytes_naive":`4096000`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_qwen3_4b_32q8kv_base0_rows1","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":106449,"call_ns":396596,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":8192,"kv_bytes_naive":8192,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_qwen3_4b_32q8kv_base17_rows5","n":20480,"rc":"OK","violations":0,"worst_scaled_err":0.`00238734`,"pass":true,"chip_elapsed_ns":105313,"call_ns":391892,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":180224,"kv_bytes_naive":901120,"kv_blocks_unique":1,"kv_blocks_logical":5,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_qwen3_4b_32q8kv_base300_rows40","n":163840,"rc":"OK","violations":0,"worst_scaled_err":0.`00342033`,"pass":true,"chip_elapsed_ns":531077,"call_ns":`1201676`,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":`2785280`,"kv_bytes_naive":`111411200`,"kv_blocks_unique":1,"kv_blocks_logical":40,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=163639) NO_RESCALE:CAUGHT(rc=OK,bad=96453) Q_ROW:CAUGHT(rc=OK,bad=163612) OUT_ROW:CAUGHT(rc=OK,bad=163612)"},{"case":"gqa_rows_f32_gqa8_32q4kv_base0_rows1","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":108513,"call_ns":354804,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4096,"kv_bytes_naive":4096,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_gqa8_32q4kv_base17_rows5","n":20480,"rc":"OK","violations":0,"worst_scaled_err":0.`00296019`,"pass":true,"chip_elapsed_ns":103313,"call_ns":121538,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":90112,"kv_bytes_naive":450560,"kv_blocks_unique":1,"kv_blocks_logical":5,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_gqa8_32q4kv_base300_rows40","n":163840,"rc":"OK","violations":0,"worst_scaled_err":0.`0038327`,"pass":true,"chip_elapsed_ns":543846,"call_ns":711095,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":`1392640`,"kv_bytes_naive":`55705600`,"kv_blocks_unique":1,"kv_blocks_logical":40,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=163626) NO_RESCALE:CAUGHT(rc=OK,bad=98605) Q_ROW:CAUGHT(rc=OK,bad=163626) OUT_ROW:CAUGHT(rc=OK,bad=163626)"},{"case":"gqa_f32_large_scores_32q4kv_ctx256","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.114366,"pass":true,"chip_elapsed_ns":110370,"call_ns":401380,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`1048576`,"kv_bytes_naive":`1048576`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"NO_MAX:CAUGHT(rc=OK,bad=4096)"},{"case":"gqa_f32_mha_16q16kv_ctx300","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00289382`,"pass":true,"chip_elapsed_ns":212146,"call_ns":528374,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`4915200`,"kv_bytes_naive":`4915200`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":3,"mutants_caught":3,"mutant_note":"Q_ROW:CAUGHT(rc=OK,bad=2045) OUT_ROW:CAUGHT(rc=OK,bad=2048) KV_HEAD:CAUGHT(rc=OK,bad=2045)"},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx1","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":106161,"call_ns":330980,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":65536,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4096)"},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx17","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00234242`,"pass":true,"chip_elapsed_ns":105745,"call_ns":316436,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":131072,"kv_bytes_naive":131072,"kv_blocks_unique":2,"kv_blocks_logical":2,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4096)"},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx256","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00164,"pass":true,"chip_elapsed_ns":107745,"call_ns":359459,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`1048576`,"kv_bytes_naive":`1048576`,"kv_blocks_unique":16,"kv_blocks_logical":16,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx2048","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`000652093`,"pass":true,"chip_elapsed_ns":111105,"call_ns":781672,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`8388608`,"kv_bytes_naive":`8388608`,"kv_blocks_unique":128,"kv_blocks_logical":128,"mutants_run":5,"mutants_caught":5,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4088) NO_RESCALE:CAUGHT(rc=OK,bad=3458) Q_ROW:CAUGHT(rc=OK,bad=4088) OUT_ROW:CAUGHT(rc=OK,bad=4088)"},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx127","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00206248`,"pass":true,"chip_elapsed_ns":107617,"call_ns":369492,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":8,"kv_blocks_logical":8,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx128","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00186796`,"pass":true,"chip_elapsed_ns":114097,"call_ns":131554,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":8,"kv_blocks_logical":8,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx129","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00209681`,"pass":true,"chip_elapsed_ns":108561,"call_ns":426804,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":589824,"kv_bytes_naive":589824,"kv_blocks_unique":9,"kv_blocks_logical":9,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx300","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00196382`,"pass":true,"chip_elapsed_ns":107569,"call_ns":147666,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`1245184`,"kv_bytes_naive":`1245184`,"kv_blocks_unique":19,"kv_blocks_logical":19,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00109341`,"pass":true,"chip_elapsed_ns":114162,"call_ns":536054,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":655360,"kv_bytes_naive":`4128768`,"kv_blocks_unique":10,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx1","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":106465,"call_ns":393396,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":32768,"kv_bytes_naive":32768,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4096)"},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx17","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00184997`,"pass":true,"chip_elapsed_ns":107825,"call_ns":402532,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":65536,"kv_blocks_unique":2,"kv_blocks_logical":2,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4094)"},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx256","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00174993`,"pass":true,"chip_elapsed_ns":106785,"call_ns":336707,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":16,"kv_blocks_logical":16,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx2048","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`000692334`,"pass":true,"chip_elapsed_ns":216546,"call_ns":742455,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`4194304`,"kv_bytes_naive":`4194304`,"kv_blocks_unique":128,"kv_blocks_logical":128,"mutants_run":5,"mutants_caught":5,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4092) SLOT:CAUGHT(rc=OK,bad=4081) NO_RESCALE:CAUGHT(rc=OK,bad=3413) Q_ROW:CAUGHT(rc=OK,bad=4082) OUT_ROW:CAUGHT(rc=OK,bad=4082)"},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx127","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00233987`,"pass":true,"chip_elapsed_ns":105569,"call_ns":318451,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":262144,"kv_bytes_naive":262144,"kv_blocks_unique":8,"kv_blocks_logical":8,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx128","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00222576`,"pass":true,"chip_elapsed_ns":105633,"call_ns":115873,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":262144,"kv_bytes_naive":262144,"kv_blocks_unique":8,"kv_blocks_logical":8,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx129","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00158538`,"pass":true,"chip_elapsed_ns":105681,"call_ns":328163,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":294912,"kv_bytes_naive":294912,"kv_blocks_unique":9,"kv_blocks_logical":9,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx300","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00184017`,"pass":true,"chip_elapsed_ns":106689,"call_ns":125745,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":622592,"kv_bytes_naive":622592,"kv_blocks_unique":19,"kv_blocks_logical":19,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00133,"pass":true,"chip_elapsed_ns":106594,"call_ns":396708,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":327680,"kv_bytes_naive":`2064384`,"kv_blocks_unique":10,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split1_32q8kv_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00241483`,"pass":true,"chip_elapsed_ns":208322,"call_ns":541622,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`4128768`,"kv_bytes_naive":`4128768`,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split2_32q8kv_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00192453`,"pass":true,"chip_elapsed_ns":105825,"call_ns":406548,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`4128768`,"kv_bytes_naive":`4128768`,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4089)"},{"case":"paged_bf16_split4_32q8kv_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`0012482`,"pass":true,"chip_elapsed_ns":106977,"call_ns":397492,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`4128768`,"kv_bytes_naive":`4128768`,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split8_32q8kv_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`000781902`,"pass":true,"chip_elapsed_ns":107041,"call_ns":421061,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`4128768`,"kv_bytes_naive":`4128768`,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split16_32q8kv_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`000781902`,"pass":true,"chip_elapsed_ns":107249,"call_ns":457652,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`4128768`,"kv_bytes_naive":`4128768`,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split1_32q8kv_ctx100","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00257739`,"pass":true,"chip_elapsed_ns":103521,"call_ns":111345,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":131072,"kv_bytes_naive":458752,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split2_32q8kv_ctx100","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00257739`,"pass":true,"chip_elapsed_ns":103889,"call_ns":306611,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":131072,"kv_bytes_naive":458752,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split4_32q8kv_ctx100","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00257739`,"pass":true,"chip_elapsed_ns":103137,"call_ns":122209,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":131072,"kv_bytes_naive":458752,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split8_32q8kv_ctx100","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00257739`,"pass":true,"chip_elapsed_ns":103905,"call_ns":138786,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":131072,"kv_bytes_naive":458752,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split16_32q8kv_ctx100","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00257739`,"pass":true,"chip_elapsed_ns":103105,"call_ns":170817,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":131072,"kv_bytes_naive":458752,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_batch_3seq_32q8kv_ctx40_0_100","n":12288,"rc":"OK","violations":0,"worst_scaled_err":0.`00208243`,"pass":true,"chip_elapsed_ns":208994,"call_ns":232098,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":458752,"kv_bytes_naive":458752,"kv_blocks_unique":7,"kv_blocks_logical":7,"mutants_run":4,"mutants_caught":4,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8184) Q_ROW:CAUGHT(rc=OK,bad=8190) OUT_ROW:CAUGHT(rc=OK,bad=8190)"},{"case":"paged_bf16_shared_prefix_4seq_8q2kv_10pre","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.`00212011`,"pass":true,"chip_elapsed_ns":105505,"call_ns":320595,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":311296,"kv_bytes_naive":802816,"kv_blocks_unique":19,"kv_blocks_logical":49,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4093)"},{"case":"paged_bf16_shared_prefix_4seq_32q8kv_10pre","n":16384,"rc":"OK","violations":0,"worst_scaled_err":0.`00198582`,"pass":true,"chip_elapsed_ns":210178,"call_ns":495413,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":`1900544`,"kv_bytes_naive":`3211264`,"kv_blocks_unique":29,"kv_blocks_logical":49,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=16379) SLOT:CAUGHT(rc=OK,bad=16365)"}],"mutant_count":6,"mutants":{"NO_MAX":{"run":1,"caught":1},"KV_HEAD":{"run":12,"caught":12},"SLOT":{"run":12,"caught":12},"NO_RESCALE":{"run":6,"caught":6},"Q_ROW":{"run":8,"caught":8},"OUT_ROW":{"run":8,"caught":8}},"device_opens":1,"checks":221,"failed":0,"verdict":"OMEGA_GPU_ATTENTION_PASS"} evidence/q38-stress-gb10-20261120T143359Z/attention-128.log new file mode 100644 @@ -0,0 +1,72 @@ 1 +PASS gqa_f32_qwen3_4b_32q8kv_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=218866 call_ns=`148407025` calls=1 unwritten=0 kv_staged=8192/8192 blocks=1/1 | mutants 0/0 2 +PASS gqa_f32_qwen3_4b_32q8kv_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.`00198312` chip_ns=104017 call_ns=265506 calls=1 unwritten=0 kv_staged=139264/139264 blocks=1/1 | mutants 0/0 3 +PASS gqa_f32_qwen3_4b_32q8kv_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.`00219175` chip_ns=211890 call_ns=616070 calls=1 unwritten=0 kv_staged=`2097152`/`2097152` blocks=1/1 | mutants 0/0 4 +PASS gqa_f32_qwen3_4b_32q8kv_ctx2048 n=4096 rc=OK violations=0 worst_scaled_err=0.`00376301` chip_ns=578165 call_ns=`3051119` calls=1 unwritten=0 kv_staged=`16777216`/`16777216` blocks=1/1 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=4090) NO_RESCALE:CAUGHT(rc=OK,bad=3905) Q_ROW:CAUGHT(rc=OK,bad=4086) OUT_ROW:CAUGHT(rc=OK,bad=4086) 5 +PASS gqa_f32_qwen3_4b_32q8kv_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.`0019369` chip_ns=105169 call_ns=339203 calls=1 unwritten=0 kv_staged=`1040384`/`1040384` blocks=1/1 | mutants 0/0 6 +PASS gqa_f32_qwen3_4b_32q8kv_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.`00195072` chip_ns=104241 call_ns=123217 calls=1 unwritten=0 kv_staged=`1048576`/`1048576` blocks=1/1 | mutants 0/0 7 +PASS gqa_f32_qwen3_4b_32q8kv_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.`00222211` chip_ns=104737 call_ns=123617 calls=1 unwritten=0 kv_staged=`1056768`/`1056768` blocks=1/1 | mutants 0/0 8 +PASS gqa_f32_qwen3_4b_32q8kv_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.`00262496` chip_ns=106369 call_ns=168897 calls=1 unwritten=0 kv_staged=`2457600`/`2457600` blocks=1/1 | mutants 0/0 9 +PASS gqa_f32_qwen3_4b_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.`00318626` chip_ns=312739 call_ns=553622 calls=1 unwritten=0 kv_staged=`8192000`/`8192000` blocks=1/1 | mutants 0/0 10 +PASS gqa_f32_gqa8_32q4kv_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=105121 call_ns=488869 calls=1 unwritten=0 kv_staged=4096/4096 blocks=1/1 | mutants 0/0 11 +PASS gqa_f32_gqa8_32q4kv_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.`00213223` chip_ns=103041 call_ns=108001 calls=1 unwritten=0 kv_staged=69632/69632 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=4095) 12 +PASS gqa_f32_gqa8_32q4kv_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.`00193136` chip_ns=106641 call_ns=324275 calls=1 unwritten=0 kv_staged=`1048576`/`1048576` blocks=1/1 | mutants 0/0 13 +PASS gqa_f32_gqa8_32q4kv_ctx2048 n=4096 rc=OK violations=0 worst_scaled_err=0.`00246504` chip_ns=521061 call_ns=781272 calls=1 unwritten=0 kv_staged=`8388608`/`8388608` blocks=1/1 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=4084) NO_RESCALE:CAUGHT(rc=OK,bad=3914) Q_ROW:CAUGHT(rc=OK,bad=4078) OUT_ROW:CAUGHT(rc=OK,bad=4078) 14 +PASS gqa_f32_gqa8_32q4kv_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.`00243573` chip_ns=104993 call_ns=308723 calls=1 unwritten=0 kv_staged=520192/520192 blocks=1/1 | mutants 0/0 15 +PASS gqa_f32_gqa8_32q4kv_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.`00180964` chip_ns=103681 call_ns=113969 calls=1 unwritten=0 kv_staged=524288/524288 blocks=1/1 | mutants 0/0 16 +PASS gqa_f32_gqa8_32q4kv_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.`00188256` chip_ns=103409 call_ns=113313 calls=1 unwritten=0 kv_staged=528384/528384 blocks=1/1 | mutants 0/0 17 +PASS gqa_f32_gqa8_32q4kv_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.`00199715` chip_ns=104465 call_ns=127697 calls=1 unwritten=0 kv_staged=`1228800`/`1228800` blocks=1/1 | mutants 0/0 18 +PASS gqa_f32_gqa8_32q4kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.`00296202` chip_ns=313587 call_ns=428261 calls=1 unwritten=0 kv_staged=`4096000`/`4096000` blocks=1/1 | mutants 0/0 19 +PASS gqa_rows_f32_qwen3_4b_32q8kv_base0_rows1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=106449 call_ns=396596 calls=1 unwritten=0 kv_staged=8192/8192 blocks=1/1 | mutants 0/0 20 +PASS gqa_rows_f32_qwen3_4b_32q8kv_base17_rows5 n=20480 rc=OK violations=0 worst_scaled_err=0.`00238734` chip_ns=105313 call_ns=391892 calls=1 unwritten=0 kv_staged=180224/901120 blocks=1/5 | mutants 0/0 21 +PASS gqa_rows_f32_qwen3_4b_32q8kv_base300_rows40 n=163840 rc=OK violations=0 worst_scaled_err=0.`00342033` chip_ns=531077 call_ns=`1201676` calls=2 unwritten=0 kv_staged=`2785280`/`111411200` blocks=1/40 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=163639) NO_RESCALE:CAUGHT(rc=OK,bad=96453) Q_ROW:CAUGHT(rc=OK,bad=163612) OUT_ROW:CAUGHT(rc=OK,bad=163612) 22 +PASS gqa_rows_f32_gqa8_32q4kv_base0_rows1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=108513 call_ns=354804 calls=1 unwritten=0 kv_staged=4096/4096 blocks=1/1 | mutants 0/0 23 +PASS gqa_rows_f32_gqa8_32q4kv_base17_rows5 n=20480 rc=OK violations=0 worst_scaled_err=0.`00296019` chip_ns=103313 call_ns=121538 calls=1 unwritten=0 kv_staged=90112/450560 blocks=1/5 | mutants 0/0 24 +PASS gqa_rows_f32_gqa8_32q4kv_base300_rows40 n=163840 rc=OK violations=0 worst_scaled_err=0.`0038327` chip_ns=543846 call_ns=711095 calls=2 unwritten=0 kv_staged=`1392640`/`55705600` blocks=1/40 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=163626) NO_RESCALE:CAUGHT(rc=OK,bad=98605) Q_ROW:CAUGHT(rc=OK,bad=163626) OUT_ROW:CAUGHT(rc=OK,bad=163626) 25 +PASS gqa_f32_large_scores_32q4kv_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.114366 chip_ns=110370 call_ns=401380 calls=1 unwritten=0 kv_staged=`1048576`/`1048576` blocks=1/1 | mutants 1/1 NO_MAX:CAUGHT(rc=OK,bad=4096) 26 +PASS gqa_f32_mha_16q16kv_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.`00289382` chip_ns=212146 call_ns=528374 calls=1 unwritten=0 kv_staged=`4915200`/`4915200` blocks=1/1 | mutants 3/3 Q_ROW:CAUGHT(rc=OK,bad=2045) OUT_ROW:CAUGHT(rc=OK,bad=2048) KV_HEAD:CAUGHT(rc=OK,bad=2045) 27 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=106161 call_ns=330980 calls=1 unwritten=0 kv_staged=65536/65536 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=4096) 28 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.`00234242` chip_ns=105745 call_ns=316436 calls=1 unwritten=0 kv_staged=131072/131072 blocks=2/2 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4096) 29 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.00164 chip_ns=107745 call_ns=359459 calls=1 unwritten=0 kv_staged=`1048576`/`1048576` blocks=16/16 | mutants 0/0 30 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx2048 n=4096 rc=OK violations=0 worst_scaled_err=0.`000652093` chip_ns=111105 call_ns=781672 calls=1 unwritten=0 kv_staged=`8388608`/`8388608` blocks=128/128 | mutants 5/5 KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4088) NO_RESCALE:CAUGHT(rc=OK,bad=3458) Q_ROW:CAUGHT(rc=OK,bad=4088) OUT_ROW:CAUGHT(rc=OK,bad=4088) 31 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.`00206248` chip_ns=107617 call_ns=369492 calls=1 unwritten=0 kv_staged=524288/524288 blocks=8/8 | mutants 0/0 32 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.`00186796` chip_ns=114097 call_ns=131554 calls=1 unwritten=0 kv_staged=524288/524288 blocks=8/8 | mutants 0/0 33 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.`00209681` chip_ns=108561 call_ns=426804 calls=1 unwritten=0 kv_staged=589824/589824 blocks=9/9 | mutants 0/0 34 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.`00196382` chip_ns=107569 call_ns=147666 calls=1 unwritten=0 kv_staged=`1245184`/`1245184` blocks=19/19 | mutants 0/0 35 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.`00109341` chip_ns=114162 call_ns=536054 calls=1 unwritten=0 kv_staged=655360/`4128768` blocks=10/63 | mutants 0/0 36 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=106465 call_ns=393396 calls=1 unwritten=0 kv_staged=32768/32768 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=4096) 37 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.`00184997` chip_ns=107825 call_ns=402532 calls=1 unwritten=0 kv_staged=65536/65536 blocks=2/2 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4094) 38 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.`00174993` chip_ns=106785 call_ns=336707 calls=1 unwritten=0 kv_staged=524288/524288 blocks=16/16 | mutants 0/0 39 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx2048 n=4096 rc=OK violations=0 worst_scaled_err=0.`000692334` chip_ns=216546 call_ns=742455 calls=1 unwritten=0 kv_staged=`4194304`/`4194304` blocks=128/128 | mutants 5/5 KV_HEAD:CAUGHT(rc=OK,bad=4092) SLOT:CAUGHT(rc=OK,bad=4081) NO_RESCALE:CAUGHT(rc=OK,bad=3413) Q_ROW:CAUGHT(rc=OK,bad=4082) OUT_ROW:CAUGHT(rc=OK,bad=4082) 40 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.`00233987` chip_ns=105569 call_ns=318451 calls=1 unwritten=0 kv_staged=262144/262144 blocks=8/8 | mutants 0/0 41 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.`00222576` chip_ns=105633 call_ns=115873 calls=1 unwritten=0 kv_staged=262144/262144 blocks=8/8 | mutants 0/0 42 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.`00158538` chip_ns=105681 call_ns=328163 calls=1 unwritten=0 kv_staged=294912/294912 blocks=9/9 | mutants 0/0 43 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.`00184017` chip_ns=106689 call_ns=125745 calls=1 unwritten=0 kv_staged=622592/622592 blocks=19/19 | mutants 0/0 44 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00133 chip_ns=106594 call_ns=396708 calls=1 unwritten=0 kv_staged=327680/`2064384` blocks=10/63 | mutants 0/0 45 +PASS paged_bf16_split1_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.`00241483` chip_ns=208322 call_ns=541622 calls=1 unwritten=0 kv_staged=`4128768`/`4128768` blocks=63/63 | mutants 0/0 46 +PASS paged_bf16_split2_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.`00192453` chip_ns=105825 call_ns=406548 calls=1 unwritten=0 kv_staged=`4128768`/`4128768` blocks=63/63 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4089) 47 +PASS paged_bf16_split4_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.`0012482` chip_ns=106977 call_ns=397492 calls=1 unwritten=0 kv_staged=`4128768`/`4128768` blocks=63/63 | mutants 0/0 48 +PASS paged_bf16_split8_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.`000781902` chip_ns=107041 call_ns=421061 calls=1 unwritten=0 kv_staged=`4128768`/`4128768` blocks=63/63 | mutants 0/0 49 +PASS paged_bf16_split16_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.`000781902` chip_ns=107249 call_ns=457652 calls=1 unwritten=0 kv_staged=`4128768`/`4128768` blocks=63/63 | mutants 0/0 50 +PASS paged_bf16_split1_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.`00257739` chip_ns=103521 call_ns=111345 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 51 +PASS paged_bf16_split2_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.`00257739` chip_ns=103889 call_ns=306611 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 52 +PASS paged_bf16_split4_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.`00257739` chip_ns=103137 call_ns=122209 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 53 +PASS paged_bf16_split8_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.`00257739` chip_ns=103905 call_ns=138786 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 54 +PASS paged_bf16_split16_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.`00257739` chip_ns=103105 call_ns=170817 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 55 +PASS paged_bf16_batch_3seq_32q8kv_ctx40_0_100 n=12288 rc=OK violations=0 worst_scaled_err=0.`00208243` chip_ns=208994 call_ns=232098 calls=2 unwritten=0 kv_staged=458752/458752 blocks=7/7 | mutants 4/4 KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8184) Q_ROW:CAUGHT(rc=OK,bad=8190) OUT_ROW:CAUGHT(rc=OK,bad=8190) 56 +PASS paged_bf16_shared_prefix_4seq_8q2kv_10pre n=4096 rc=OK violations=0 worst_scaled_err=0.`00212011` chip_ns=105505 call_ns=320595 calls=1 unwritten=0 kv_staged=311296/802816 blocks=19/49 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4093) 57 +PASS paged_bf16_shared_prefix_4seq_32q8kv_10pre n=16384 rc=OK violations=0 worst_scaled_err=0.`00198582` chip_ns=210178 call_ns=495413 calls=2 unwritten=0 kv_staged=`1900544`/`3211264` blocks=29/49 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=16379) SLOT:CAUGHT(rc=OK,bad=16365) 58 +mutant NO_MAX: caught 1 of 1 59 +mutant KV_HEAD: caught 12 of 12 60 +mutant SLOT: caught 12 of 12 61 +mutant NO_RESCALE: caught 6 of 6 62 +mutant Q_ROW: caught 8 of 8 63 +mutant OUT_ROW: caught 8 of 8 64 +device_opens=1 65 + hd128 dominant token 5 (warp 0 of chunk 0): rc OK, 0 bad, worst 0 66 + hd128 dominant token 40 (warp 1 of chunk 0): rc OK, 0 bad, worst 0 67 + hd128 dominant token 70 (warp 2 of chunk 0): rc OK, 0 bad, worst 0 68 + hd128 dominant token 100 (warp 3 of chunk 0): rc OK, 0 bad, worst 0 69 + hd128 dominant token 127 (warp 3 of chunk 0): rc OK, 0 bad, worst 0 70 + hd128 dominant token 131 (warp 0 of chunk 1): rc OK, 0 bad, worst 0 71 + hd128 dominant token 299 (warp 1 of chunk 2): rc OK, 0 bad, worst 0 72 +PASS: 225 checks, 0 failed evidence/q38-stress-gb10-20261120T143359Z/attention-128.time new file mode 100644 @@ -0,0 +1,23 @@ 1 + Command being timed: "./build/gpu_attention_test --hd 128 --out /home/drakestapleton/handoffs/omega-q38-main-`371a882a5`-IV5N7v/attention-128.json" 2 + User time (seconds): 0.41 3 + System time (seconds): 0.23 4 + Percent of CPU this job got: 84% 5 + Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.76 6 + Average shared text size (kbytes): 0 7 + Average unshared data size (kbytes): 0 8 + Average stack size (kbytes): 0 9 + Average total size (kbytes): 0 10 + Maximum resident set size (kbytes): 65024 11 + Average resident set size (kbytes): 0 12 + Major (requiring I/O) page faults: 0 13 + Minor (reclaiming a frame) page faults: 12492 14 + Voluntary context switches: 318 15 + Involuntary context switches: 11 16 + Swaps: 0 17 + File system inputs: 0 18 + File system outputs: 80 19 + Socket messages sent: 0 20 + Socket messages received: 0 21 + Signals delivered: 0 22 + Page size (bytes): 4096 23 + Exit status: 0 evidence/q38-stress-gb10-20261120T143359Z/attention-64.json new file mode 100644 @@ -0,0 +1 @@ 1 +{"schema":"OMEGA_GPU_ATTENTION_V1","tolerances":{"rel":2e-4,"abs":2e-5,"large_scores_rel":1e-3,"large_scores_abs":1e-4},"cases":[{"case":"gqa_f32_tinyllama_32q4kv_ctx1","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":212658,"call_ns":`161680824`,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":2048,"kv_bytes_naive":2048,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_tinyllama_32q4kv_ctx17","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00189431`,"pass":true,"chip_elapsed_ns":104177,"call_ns":231506,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":34816,"kv_bytes_naive":34816,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_tinyllama_32q4kv_ctx256","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00189409`,"pass":true,"chip_elapsed_ns":208786,"call_ns":388372,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_tinyllama_32q4kv_ctx2048","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`0028582`,"pass":true,"chip_elapsed_ns":629879,"call_ns":`1425999`,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`4194304`,"kv_bytes_naive":`4194304`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=2041) NO_RESCALE:CAUGHT(rc=OK,bad=1959) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048)"},{"case":"gqa_f32_tinyllama_32q4kv_ctx65","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00174821`,"pass":true,"chip_elapsed_ns":104625,"call_ns":242530,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":133120,"kv_bytes_naive":133120,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_tinyllama_32q4kv_ctx128","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00197914`,"pass":true,"chip_elapsed_ns":103857,"call_ns":109361,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":262144,"kv_bytes_naive":262144,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_tinyllama_32q4kv_ctx129","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00177573`,"pass":true,"chip_elapsed_ns":103265,"call_ns":108209,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":264192,"kv_bytes_naive":264192,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_tinyllama_32q4kv_ctx300","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00259576`,"pass":true,"chip_elapsed_ns":191426,"call_ns":201922,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":614400,"kv_bytes_naive":614400,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_tinyllama_32q4kv_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00247545`,"pass":true,"chip_elapsed_ns":316259,"call_ns":363252,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`2048000`,"kv_bytes_naive":`2048000`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_llama32_1b_32q8kv_ctx1","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":105329,"call_ns":264643,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4096,"kv_bytes_naive":4096,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_llama32_1b_32q8kv_ctx17","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00174276`,"pass":true,"chip_elapsed_ns":102721,"call_ns":106257,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":69632,"kv_bytes_naive":69632,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2048)"},{"case":"gqa_f32_llama32_1b_32q8kv_ctx256","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00161378`,"pass":true,"chip_elapsed_ns":106609,"call_ns":252034,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`1048576`,"kv_bytes_naive":`1048576`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_llama32_1b_32q8kv_ctx2048","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`0029454`,"pass":true,"chip_elapsed_ns":516262,"call_ns":`1898228`,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`8388608`,"kv_bytes_naive":`8388608`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=2045) NO_RESCALE:CAUGHT(rc=OK,bad=1904) Q_ROW:CAUGHT(rc=OK,bad=2042) OUT_ROW:CAUGHT(rc=OK,bad=2042)"},{"case":"gqa_f32_llama32_1b_32q8kv_ctx65","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`0014332`,"pass":true,"chip_elapsed_ns":105569,"call_ns":237138,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":266240,"kv_bytes_naive":266240,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_llama32_1b_32q8kv_ctx128","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00186415`,"pass":true,"chip_elapsed_ns":62992,"call_ns":71824,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_llama32_1b_32q8kv_ctx129","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00185519`,"pass":true,"chip_elapsed_ns":104113,"call_ns":112961,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":528384,"kv_bytes_naive":528384,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_llama32_1b_32q8kv_ctx300","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00162705`,"pass":true,"chip_elapsed_ns":104657,"call_ns":129522,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`1228800`,"kv_bytes_naive":`1228800`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_llama32_1b_32q8kv_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00330327`,"pass":true,"chip_elapsed_ns":292963,"call_ns":418084,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`4096000`,"kv_bytes_naive":`4096000`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_tinyllama_32q4kv_base0_rows1","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":104625,"call_ns":340356,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":2048,"kv_bytes_naive":2048,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_tinyllama_32q4kv_base17_rows5","n":10240,"rc":"OK","violations":0,"worst_scaled_err":0.`00298047`,"pass":true,"chip_elapsed_ns":104353,"call_ns":354323,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":45056,"kv_bytes_naive":225280,"kv_blocks_unique":1,"kv_blocks_logical":5,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_tinyllama_32q4kv_base300_rows40","n":81920,"rc":"OK","violations":0,"worst_scaled_err":0.`00332929`,"pass":true,"chip_elapsed_ns":`1814642`,"call_ns":`2238822`,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":696320,"kv_bytes_naive":`27852800`,"kv_blocks_unique":1,"kv_blocks_logical":40,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=81807) NO_RESCALE:CAUGHT(rc=OK,bad=64191) Q_ROW:CAUGHT(rc=OK,bad=81812) OUT_ROW:CAUGHT(rc=OK,bad=81812)"},{"case":"gqa_rows_f32_llama32_1b_32q8kv_base0_rows1","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":104993,"call_ns":216642,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4096,"kv_bytes_naive":4096,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_llama32_1b_32q8kv_base17_rows5","n":10240,"rc":"OK","violations":0,"worst_scaled_err":0.`00177684`,"pass":true,"chip_elapsed_ns":103025,"call_ns":113185,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":90112,"kv_bytes_naive":450560,"kv_blocks_unique":1,"kv_blocks_logical":5,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_llama32_1b_32q8kv_base300_rows40","n":81920,"rc":"OK","violations":0,"worst_scaled_err":0.`00325614`,"pass":true,"chip_elapsed_ns":`1049194`,"call_ns":`1158988`,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":`1392640`,"kv_bytes_naive":`55705600`,"kv_blocks_unique":1,"kv_blocks_logical":40,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=81806) NO_RESCALE:CAUGHT(rc=OK,bad=65973) Q_ROW:CAUGHT(rc=OK,bad=81824) OUT_ROW:CAUGHT(rc=OK,bad=81824)"},{"case":"gqa_f32_large_scores_32q4kv_ctx256","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`0830785`,"pass":true,"chip_elapsed_ns":216242,"call_ns":344436,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"NO_MAX:CAUGHT(rc=OK,bad=2048)"},{"case":"gqa_f32_mha_16q16kv_ctx300","n":1024,"rc":"OK","violations":0,"worst_scaled_err":0.00184,"pass":true,"chip_elapsed_ns":105953,"call_ns":296003,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`2457600`,"kv_bytes_naive":`2457600`,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":3,"mutants_caught":3,"mutant_note":"Q_ROW:CAUGHT(rc=OK,bad=1024) OUT_ROW:CAUGHT(rc=OK,bad=1020) KV_HEAD:CAUGHT(rc=OK,bad=1023)"},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx1","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":105714,"call_ns":232643,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":16384,"kv_bytes_naive":16384,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2048)"},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx17","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00158694`,"pass":true,"chip_elapsed_ns":104161,"call_ns":222595,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":32768,"kv_bytes_naive":32768,"kv_blocks_unique":2,"kv_blocks_logical":2,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2047)"},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx256","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00106953`,"pass":true,"chip_elapsed_ns":105217,"call_ns":245634,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":262144,"kv_bytes_naive":262144,"kv_blocks_unique":16,"kv_blocks_logical":16,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx2048","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`000545881`,"pass":true,"chip_elapsed_ns":588902,"call_ns":943289,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`2097152`,"kv_bytes_naive":`2097152`,"kv_blocks_unique":128,"kv_blocks_logical":128,"mutants_run":5,"mutants_caught":5,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2047) SLOT:CAUGHT(rc=OK,bad=2038) NO_RESCALE:CAUGHT(rc=OK,bad=1901) Q_ROW:CAUGHT(rc=OK,bad=2046) OUT_ROW:CAUGHT(rc=OK,bad=2046)"},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx65","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00144367`,"pass":true,"chip_elapsed_ns":103729,"call_ns":246963,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":81920,"kv_bytes_naive":81920,"kv_blocks_unique":5,"kv_blocks_logical":5,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx128","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00159999`,"pass":true,"chip_elapsed_ns":103345,"call_ns":111329,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":131072,"kv_bytes_naive":131072,"kv_blocks_unique":8,"kv_blocks_logical":8,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx129","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00170812`,"pass":true,"chip_elapsed_ns":103217,"call_ns":111233,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":147456,"kv_bytes_naive":147456,"kv_blocks_unique":9,"kv_blocks_logical":9,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx300","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00140672`,"pass":true,"chip_elapsed_ns":104305,"call_ns":256915,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":311296,"kv_bytes_naive":311296,"kv_blocks_unique":19,"kv_blocks_logical":19,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00143935`,"pass":true,"chip_elapsed_ns":209858,"call_ns":401300,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":163840,"kv_bytes_naive":`1032192`,"kv_blocks_unique":10,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx1","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":104481,"call_ns":250786,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":32768,"kv_bytes_naive":32768,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2048)"},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx17","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00205197`,"pass":true,"chip_elapsed_ns":103617,"call_ns":221666,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":65536,"kv_blocks_unique":2,"kv_blocks_logical":2,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2046) SLOT:CAUGHT(rc=OK,bad=2048)"},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx256","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00105953`,"pass":true,"chip_elapsed_ns":105057,"call_ns":255218,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":16,"kv_blocks_logical":16,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx2048","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00055855`,"pass":true,"chip_elapsed_ns":245107,"call_ns":699671,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`4194304`,"kv_bytes_naive":`4194304`,"kv_blocks_unique":128,"kv_blocks_logical":128,"mutants_run":5,"mutants_caught":5,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2044) NO_RESCALE:CAUGHT(rc=OK,bad=1963) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048)"},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx65","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00171737`,"pass":true,"chip_elapsed_ns":104673,"call_ns":266322,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":163840,"kv_bytes_naive":163840,"kv_blocks_unique":5,"kv_blocks_logical":5,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx128","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00153626`,"pass":true,"chip_elapsed_ns":104641,"call_ns":114897,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":262144,"kv_bytes_naive":262144,"kv_blocks_unique":8,"kv_blocks_logical":8,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx129","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00162582`,"pass":true,"chip_elapsed_ns":105233,"call_ns":116161,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":294912,"kv_bytes_naive":294912,"kv_blocks_unique":9,"kv_blocks_logical":9,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx300","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00144548`,"pass":true,"chip_elapsed_ns":105809,"call_ns":299683,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":622592,"kv_bytes_naive":622592,"kv_blocks_unique":19,"kv_blocks_logical":19,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00094646`,"pass":true,"chip_elapsed_ns":210723,"call_ns":485173,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":327680,"kv_bytes_naive":`2064384`,"kv_blocks_unique":10,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split1_32q8kv_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`0028454`,"pass":true,"chip_elapsed_ns":207730,"call_ns":476549,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`2064384`,"kv_bytes_naive":`2064384`,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split2_32q8kv_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00202911`,"pass":true,"chip_elapsed_ns":206370,"call_ns":261187,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`2064384`,"kv_bytes_naive":`2064384`,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2041)"},{"case":"paged_bf16_split4_32q8kv_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00111551`,"pass":true,"chip_elapsed_ns":222019,"call_ns":398388,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`2064384`,"kv_bytes_naive":`2064384`,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split8_32q8kv_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`000737182`,"pass":true,"chip_elapsed_ns":311971,"call_ns":497701,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`2064384`,"kv_bytes_naive":`2064384`,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split16_32q8kv_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`000577315`,"pass":true,"chip_elapsed_ns":304163,"call_ns":510325,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":`2064384`,"kv_bytes_naive":`2064384`,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split1_32q8kv_ctx100","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`0018292`,"pass":true,"chip_elapsed_ns":104065,"call_ns":231010,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":229376,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split2_32q8kv_ctx100","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00134618`,"pass":true,"chip_elapsed_ns":103233,"call_ns":109825,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":229376,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split4_32q8kv_ctx100","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00134618`,"pass":true,"chip_elapsed_ns":102833,"call_ns":113169,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":229376,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split8_32q8kv_ctx100","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00134618`,"pass":true,"chip_elapsed_ns":102673,"call_ns":121538,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":229376,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split16_32q8kv_ctx100","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00134618`,"pass":true,"chip_elapsed_ns":102769,"call_ns":137057,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":229376,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_batch_3seq_32q8kv_ctx40_0_100","n":6144,"rc":"OK","violations":0,"worst_scaled_err":0.`00173417`,"pass":true,"chip_elapsed_ns":208851,"call_ns":222595,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":229376,"kv_bytes_naive":229376,"kv_blocks_unique":7,"kv_blocks_logical":7,"mutants_run":4,"mutants_caught":4,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4095) Q_ROW:CAUGHT(rc=OK,bad=4092) OUT_ROW:CAUGHT(rc=OK,bad=4092)"},{"case":"paged_bf16_shared_prefix_4seq_8q2kv_10pre","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.`00136352`,"pass":true,"chip_elapsed_ns":104481,"call_ns":250418,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":155648,"kv_bytes_naive":401408,"kv_blocks_unique":19,"kv_blocks_logical":49,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2046)"},{"case":"paged_bf16_shared_prefix_4seq_32q8kv_10pre","n":8192,"rc":"OK","violations":0,"worst_scaled_err":0.`00205105`,"pass":true,"chip_elapsed_ns":214227,"call_ns":447349,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":950272,"kv_bytes_naive":`1605632`,"kv_blocks_unique":29,"kv_blocks_logical":49,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8186)"}],"mutant_count":6,"mutants":{"NO_MAX":{"run":1,"caught":1},"KV_HEAD":{"run":12,"caught":12},"SLOT":{"run":12,"caught":12},"NO_RESCALE":{"run":6,"caught":6},"Q_ROW":{"run":8,"caught":8},"OUT_ROW":{"run":8,"caught":8}},"device_opens":1,"checks":219,"failed":0,"verdict":"OMEGA_GPU_ATTENTION_PASS"} evidence/q38-stress-gb10-20261120T143359Z/attention-64.log new file mode 100644 @@ -0,0 +1,65 @@ 1 +PASS gqa_f32_tinyllama_32q4kv_ctx1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=212658 call_ns=`161680824` calls=1 unwritten=0 kv_staged=2048/2048 blocks=1/1 | mutants 0/0 2 +PASS gqa_f32_tinyllama_32q4kv_ctx17 n=2048 rc=OK violations=0 worst_scaled_err=0.`00189431` chip_ns=104177 call_ns=231506 calls=1 unwritten=0 kv_staged=34816/34816 blocks=1/1 | mutants 0/0 3 +PASS gqa_f32_tinyllama_32q4kv_ctx256 n=2048 rc=OK violations=0 worst_scaled_err=0.`00189409` chip_ns=208786 call_ns=388372 calls=1 unwritten=0 kv_staged=524288/524288 blocks=1/1 | mutants 0/0 4 +PASS gqa_f32_tinyllama_32q4kv_ctx2048 n=2048 rc=OK violations=0 worst_scaled_err=0.`0028582` chip_ns=629879 call_ns=`1425999` calls=1 unwritten=0 kv_staged=`4194304`/`4194304` blocks=1/1 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=2041) NO_RESCALE:CAUGHT(rc=OK,bad=1959) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048) 5 +PASS gqa_f32_tinyllama_32q4kv_ctx65 n=2048 rc=OK violations=0 worst_scaled_err=0.`00174821` chip_ns=104625 call_ns=242530 calls=1 unwritten=0 kv_staged=133120/133120 blocks=1/1 | mutants 0/0 6 +PASS gqa_f32_tinyllama_32q4kv_ctx128 n=2048 rc=OK violations=0 worst_scaled_err=0.`00197914` chip_ns=103857 call_ns=109361 calls=1 unwritten=0 kv_staged=262144/262144 blocks=1/1 | mutants 0/0 7 +PASS gqa_f32_tinyllama_32q4kv_ctx129 n=2048 rc=OK violations=0 worst_scaled_err=0.`00177573` chip_ns=103265 call_ns=108209 calls=1 unwritten=0 kv_staged=264192/264192 blocks=1/1 | mutants 0/0 8 +PASS gqa_f32_tinyllama_32q4kv_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.`00259576` chip_ns=191426 call_ns=201922 calls=1 unwritten=0 kv_staged=614400/614400 blocks=1/1 | mutants 0/0 9 +PASS gqa_f32_tinyllama_32q4kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.`00247545` chip_ns=316259 call_ns=363252 calls=1 unwritten=0 kv_staged=`2048000`/`2048000` blocks=1/1 | mutants 0/0 10 +PASS gqa_f32_llama32_1b_32q8kv_ctx1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=105329 call_ns=264643 calls=1 unwritten=0 kv_staged=4096/4096 blocks=1/1 | mutants 0/0 11 +PASS gqa_f32_llama32_1b_32q8kv_ctx17 n=2048 rc=OK violations=0 worst_scaled_err=0.`00174276` chip_ns=102721 call_ns=106257 calls=1 unwritten=0 kv_staged=69632/69632 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=2048) 12 +PASS gqa_f32_llama32_1b_32q8kv_ctx256 n=2048 rc=OK violations=0 worst_scaled_err=0.`00161378` chip_ns=106609 call_ns=252034 calls=1 unwritten=0 kv_staged=`1048576`/`1048576` blocks=1/1 | mutants 0/0 13 +PASS gqa_f32_llama32_1b_32q8kv_ctx2048 n=2048 rc=OK violations=0 worst_scaled_err=0.`0029454` chip_ns=516262 call_ns=`1898228` calls=1 unwritten=0 kv_staged=`8388608`/`8388608` blocks=1/1 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=2045) NO_RESCALE:CAUGHT(rc=OK,bad=1904) Q_ROW:CAUGHT(rc=OK,bad=2042) OUT_ROW:CAUGHT(rc=OK,bad=2042) 14 +PASS gqa_f32_llama32_1b_32q8kv_ctx65 n=2048 rc=OK violations=0 worst_scaled_err=0.`0014332` chip_ns=105569 call_ns=237138 calls=1 unwritten=0 kv_staged=266240/266240 blocks=1/1 | mutants 0/0 15 +PASS gqa_f32_llama32_1b_32q8kv_ctx128 n=2048 rc=OK violations=0 worst_scaled_err=0.`00186415` chip_ns=62992 call_ns=71824 calls=1 unwritten=0 kv_staged=524288/524288 blocks=1/1 | mutants 0/0 16 +PASS gqa_f32_llama32_1b_32q8kv_ctx129 n=2048 rc=OK violations=0 worst_scaled_err=0.`00185519` chip_ns=104113 call_ns=112961 calls=1 unwritten=0 kv_staged=528384/528384 blocks=1/1 | mutants 0/0 17 +PASS gqa_f32_llama32_1b_32q8kv_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.`00162705` chip_ns=104657 call_ns=129522 calls=1 unwritten=0 kv_staged=`1228800`/`1228800` blocks=1/1 | mutants 0/0 18 +PASS gqa_f32_llama32_1b_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.`00330327` chip_ns=292963 call_ns=418084 calls=1 unwritten=0 kv_staged=`4096000`/`4096000` blocks=1/1 | mutants 0/0 19 +PASS gqa_rows_f32_tinyllama_32q4kv_base0_rows1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=104625 call_ns=340356 calls=1 unwritten=0 kv_staged=2048/2048 blocks=1/1 | mutants 0/0 20 +PASS gqa_rows_f32_tinyllama_32q4kv_base17_rows5 n=10240 rc=OK violations=0 worst_scaled_err=0.`00298047` chip_ns=104353 call_ns=354323 calls=1 unwritten=0 kv_staged=45056/225280 blocks=1/5 | mutants 0/0 21 +PASS gqa_rows_f32_tinyllama_32q4kv_base300_rows40 n=81920 rc=OK violations=0 worst_scaled_err=0.`00332929` chip_ns=`1814642` call_ns=`2238822` calls=2 unwritten=0 kv_staged=696320/`27852800` blocks=1/40 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=81807) NO_RESCALE:CAUGHT(rc=OK,bad=64191) Q_ROW:CAUGHT(rc=OK,bad=81812) OUT_ROW:CAUGHT(rc=OK,bad=81812) 22 +PASS gqa_rows_f32_llama32_1b_32q8kv_base0_rows1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=104993 call_ns=216642 calls=1 unwritten=0 kv_staged=4096/4096 blocks=1/1 | mutants 0/0 23 +PASS gqa_rows_f32_llama32_1b_32q8kv_base17_rows5 n=10240 rc=OK violations=0 worst_scaled_err=0.`00177684` chip_ns=103025 call_ns=113185 calls=1 unwritten=0 kv_staged=90112/450560 blocks=1/5 | mutants 0/0 24 +PASS gqa_rows_f32_llama32_1b_32q8kv_base300_rows40 n=81920 rc=OK violations=0 worst_scaled_err=0.`00325614` chip_ns=`1049194` call_ns=`1158988` calls=2 unwritten=0 kv_staged=`1392640`/`55705600` blocks=1/40 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=81806) NO_RESCALE:CAUGHT(rc=OK,bad=65973) Q_ROW:CAUGHT(rc=OK,bad=81824) OUT_ROW:CAUGHT(rc=OK,bad=81824) 25 +PASS gqa_f32_large_scores_32q4kv_ctx256 n=2048 rc=OK violations=0 worst_scaled_err=0.`0830785` chip_ns=216242 call_ns=344436 calls=1 unwritten=0 kv_staged=524288/524288 blocks=1/1 | mutants 1/1 NO_MAX:CAUGHT(rc=OK,bad=2048) 26 +PASS gqa_f32_mha_16q16kv_ctx300 n=1024 rc=OK violations=0 worst_scaled_err=0.00184 chip_ns=105953 call_ns=296003 calls=1 unwritten=0 kv_staged=`2457600`/`2457600` blocks=1/1 | mutants 3/3 Q_ROW:CAUGHT(rc=OK,bad=1024) OUT_ROW:CAUGHT(rc=OK,bad=1020) KV_HEAD:CAUGHT(rc=OK,bad=1023) 27 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=105714 call_ns=232643 calls=1 unwritten=0 kv_staged=16384/16384 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=2048) 28 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx17 n=2048 rc=OK violations=0 worst_scaled_err=0.`00158694` chip_ns=104161 call_ns=222595 calls=1 unwritten=0 kv_staged=32768/32768 blocks=2/2 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2047) 29 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx256 n=2048 rc=OK violations=0 worst_scaled_err=0.`00106953` chip_ns=105217 call_ns=245634 calls=1 unwritten=0 kv_staged=262144/262144 blocks=16/16 | mutants 0/0 30 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx2048 n=2048 rc=OK violations=0 worst_scaled_err=0.`000545881` chip_ns=588902 call_ns=943289 calls=1 unwritten=0 kv_staged=`2097152`/`2097152` blocks=128/128 | mutants 5/5 KV_HEAD:CAUGHT(rc=OK,bad=2047) SLOT:CAUGHT(rc=OK,bad=2038) NO_RESCALE:CAUGHT(rc=OK,bad=1901) Q_ROW:CAUGHT(rc=OK,bad=2046) OUT_ROW:CAUGHT(rc=OK,bad=2046) 31 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx65 n=2048 rc=OK violations=0 worst_scaled_err=0.`00144367` chip_ns=103729 call_ns=246963 calls=1 unwritten=0 kv_staged=81920/81920 blocks=5/5 | mutants 0/0 32 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx128 n=2048 rc=OK violations=0 worst_scaled_err=0.`00159999` chip_ns=103345 call_ns=111329 calls=1 unwritten=0 kv_staged=131072/131072 blocks=8/8 | mutants 0/0 33 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx129 n=2048 rc=OK violations=0 worst_scaled_err=0.`00170812` chip_ns=103217 call_ns=111233 calls=1 unwritten=0 kv_staged=147456/147456 blocks=9/9 | mutants 0/0 34 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.`00140672` chip_ns=104305 call_ns=256915 calls=1 unwritten=0 kv_staged=311296/311296 blocks=19/19 | mutants 0/0 35 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.`00143935` chip_ns=209858 call_ns=401300 calls=1 unwritten=0 kv_staged=163840/`1032192` blocks=10/63 | mutants 0/0 36 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=104481 call_ns=250786 calls=1 unwritten=0 kv_staged=32768/32768 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=2048) 37 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx17 n=2048 rc=OK violations=0 worst_scaled_err=0.`00205197` chip_ns=103617 call_ns=221666 calls=1 unwritten=0 kv_staged=65536/65536 blocks=2/2 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=2046) SLOT:CAUGHT(rc=OK,bad=2048) 38 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx256 n=2048 rc=OK violations=0 worst_scaled_err=0.`00105953` chip_ns=105057 call_ns=255218 calls=1 unwritten=0 kv_staged=524288/524288 blocks=16/16 | mutants 0/0 39 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx2048 n=2048 rc=OK violations=0 worst_scaled_err=0.`00055855` chip_ns=245107 call_ns=699671 calls=1 unwritten=0 kv_staged=`4194304`/`4194304` blocks=128/128 | mutants 5/5 KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2044) NO_RESCALE:CAUGHT(rc=OK,bad=1963) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048) 40 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx65 n=2048 rc=OK violations=0 worst_scaled_err=0.`00171737` chip_ns=104673 call_ns=266322 calls=1 unwritten=0 kv_staged=163840/163840 blocks=5/5 | mutants 0/0 41 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx128 n=2048 rc=OK violations=0 worst_scaled_err=0.`00153626` chip_ns=104641 call_ns=114897 calls=1 unwritten=0 kv_staged=262144/262144 blocks=8/8 | mutants 0/0 42 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx129 n=2048 rc=OK violations=0 worst_scaled_err=0.`00162582` chip_ns=105233 call_ns=116161 calls=1 unwritten=0 kv_staged=294912/294912 blocks=9/9 | mutants 0/0 43 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.`00144548` chip_ns=105809 call_ns=299683 calls=1 unwritten=0 kv_staged=622592/622592 blocks=19/19 | mutants 0/0 44 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.`00094646` chip_ns=210723 call_ns=485173 calls=1 unwritten=0 kv_staged=327680/`2064384` blocks=10/63 | mutants 0/0 45 +PASS paged_bf16_split1_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.`0028454` chip_ns=207730 call_ns=476549 calls=1 unwritten=0 kv_staged=`2064384`/`2064384` blocks=63/63 | mutants 0/0 46 +PASS paged_bf16_split2_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.`00202911` chip_ns=206370 call_ns=261187 calls=1 unwritten=0 kv_staged=`2064384`/`2064384` blocks=63/63 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2041) 47 +PASS paged_bf16_split4_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.`00111551` chip_ns=222019 call_ns=398388 calls=1 unwritten=0 kv_staged=`2064384`/`2064384` blocks=63/63 | mutants 0/0 48 +PASS paged_bf16_split8_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.`000737182` chip_ns=311971 call_ns=497701 calls=1 unwritten=0 kv_staged=`2064384`/`2064384` blocks=63/63 | mutants 0/0 49 +PASS paged_bf16_split16_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.`000577315` chip_ns=304163 call_ns=510325 calls=1 unwritten=0 kv_staged=`2064384`/`2064384` blocks=63/63 | mutants 0/0 50 +PASS paged_bf16_split1_32q8kv_ctx100 n=2048 rc=OK violations=0 worst_scaled_err=0.`0018292` chip_ns=104065 call_ns=231010 calls=1 unwritten=0 kv_staged=65536/229376 blocks=2/7 | mutants 0/0 51 +PASS paged_bf16_split2_32q8kv_ctx100 n=2048 rc=OK violations=0 worst_scaled_err=0.`00134618` chip_ns=103233 call_ns=109825 calls=1 unwritten=0 kv_staged=65536/229376 blocks=2/7 | mutants 0/0 52 +PASS paged_bf16_split4_32q8kv_ctx100 n=2048 rc=OK violations=0 worst_scaled_err=0.`00134618` chip_ns=102833 call_ns=113169 calls=1 unwritten=0 kv_staged=65536/229376 blocks=2/7 | mutants 0/0 53 +PASS paged_bf16_split8_32q8kv_ctx100 n=2048 rc=OK violations=0 worst_scaled_err=0.`00134618` chip_ns=102673 call_ns=121538 calls=1 unwritten=0 kv_staged=65536/229376 blocks=2/7 | mutants 0/0 54 +PASS paged_bf16_split16_32q8kv_ctx100 n=2048 rc=OK violations=0 worst_scaled_err=0.`00134618` chip_ns=102769 call_ns=137057 calls=1 unwritten=0 kv_staged=65536/229376 blocks=2/7 | mutants 0/0 55 +PASS paged_bf16_batch_3seq_32q8kv_ctx40_0_100 n=6144 rc=OK violations=0 worst_scaled_err=0.`00173417` chip_ns=208851 call_ns=222595 calls=2 unwritten=0 kv_staged=229376/229376 blocks=7/7 | mutants 4/4 KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4095) Q_ROW:CAUGHT(rc=OK,bad=4092) OUT_ROW:CAUGHT(rc=OK,bad=4092) 56 +PASS paged_bf16_shared_prefix_4seq_8q2kv_10pre n=2048 rc=OK violations=0 worst_scaled_err=0.`00136352` chip_ns=104481 call_ns=250418 calls=1 unwritten=0 kv_staged=155648/401408 blocks=19/49 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2046) 57 +PASS paged_bf16_shared_prefix_4seq_32q8kv_10pre n=8192 rc=OK violations=0 worst_scaled_err=0.`00205105` chip_ns=214227 call_ns=447349 calls=2 unwritten=0 kv_staged=950272/`1605632` blocks=29/49 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8186) 58 +mutant NO_MAX: caught 1 of 1 59 +mutant KV_HEAD: caught 12 of 12 60 +mutant SLOT: caught 12 of 12 61 +mutant NO_RESCALE: caught 6 of 6 62 +mutant Q_ROW: caught 8 of 8 63 +mutant OUT_ROW: caught 8 of 8 64 +device_opens=1 65 +PASS: 219 checks, 0 failed evidence/q38-stress-gb10-20261120T143359Z/attention-64.time new file mode 100644 @@ -0,0 +1,23 @@ 1 + Command being timed: "./build/gpu_attention_test --hd 64 --out /home/drakestapleton/handoffs/omega-q38-main-`371a882a5`-IV5N7v/attention-64.json" 2 + User time (seconds): 0.18 3 + System time (seconds): 0.21 4 + Percent of CPU this job got: 82% 5 + Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.48 6 + Average shared text size (kbytes): 0 7 + Average unshared data size (kbytes): 0 8 + Average stack size (kbytes): 0 9 + Average total size (kbytes): 0 10 + Maximum resident set size (kbytes): 33888 11 + Average resident set size (kbytes): 0 12 + Major (requiring I/O) page faults: 6 13 + Minor (reclaiming a frame) page faults: 7881 14 + Voluntary context switches: 457 15 + Involuntary context switches: 5 16 + Swaps: 0 17 + File system inputs: 1008 18 + File system outputs: 80 19 + Socket messages sent: 0 20 + Socket messages received: 0 21 + Signals delivered: 0 22 + Page size (bytes): 4096 23 + Exit status: 0 evidence/q38-stress-gb10-20261120T143359Z/attention-battery.csv new file mode 100644 @@ -0,0 +1,343 @@ 1 +run,test,case,n,rc,violations,worst_scaled_err,pass,chip_elapsed_ns,call_ns,chip_calls,unwritten_words,kv_bytes_staged,kv_bytes_naive,kv_blocks_unique,kv_blocks_logical,mutants_run,mutants_caught,mutant_note 2 +Last night,attention-64,gqa_f32_tinyllama_32q4kv_ctx1,2048,OK,0,0,True,214146,`139669343`,1,0,2048,2048,1,1,0,0, 3 +Last night,attention-64,gqa_f32_tinyllama_32q4kv_ctx17,2048,OK,0,0.`00189431`,True,103904,234529,1,0,34816,34816,1,1,0,0, 4 +Last night,attention-64,gqa_f32_tinyllama_32q4kv_ctx256,2048,OK,0,0.`00189409`,True,209041,375811,1,0,524288,524288,1,1,0,0, 5 +Last night,attention-64,gqa_f32_tinyllama_32q4kv_ctx2048,2048,OK,0,0.`0028582`,True,422404,`1245323`,1,0,`4194304`,`4194304`,1,1,4,4,"SLOT:CAUGHT(rc=OK,bad=2041) NO_RESCALE:CAUGHT(rc=OK,bad=1959) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048)" 6 +Last night,attention-64,gqa_f32_tinyllama_32q4kv_ctx65,2048,OK,0,0.`00174821`,True,104321,243266,1,0,133120,133120,1,1,0,0, 7 +Last night,attention-64,gqa_f32_tinyllama_32q4kv_ctx128,2048,OK,0,0.`00197914`,True,103473,108849,1,0,262144,262144,1,1,0,0, 8 +Last night,attention-64,gqa_f32_tinyllama_32q4kv_ctx129,2048,OK,0,0.`00177573`,True,102993,107937,1,0,264192,264192,1,1,0,0, 9 +Last night,attention-64,gqa_f32_tinyllama_32q4kv_ctx300,2048,OK,0,0.`00259576`,True,205810,214642,1,0,614400,614400,1,1,0,0, 10 +Last night,attention-64,gqa_f32_tinyllama_32q4kv_ctx1000,2048,OK,0,0.`00247545`,True,209602,245650,1,0,`2048000`,`2048000`,1,1,0,0, 11 +Last night,attention-64,gqa_f32_llama32_1b_32q8kv_ctx1,2048,OK,0,0,True,104689,247378,1,0,4096,4096,1,1,0,0, 12 +Last night,attention-64,gqa_f32_llama32_1b_32q8kv_ctx17,2048,OK,0,0.`00174276`,True,102896,106240,1,0,69632,69632,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=2048)" 13 +Last night,attention-64,gqa_f32_llama32_1b_32q8kv_ctx256,2048,OK,0,0.`00161378`,True,109889,268850,1,0,`1048576`,`1048576`,1,1,0,0, 14 +Last night,attention-64,gqa_f32_llama32_1b_32q8kv_ctx2048,2048,OK,0,0.`0029454`,True,515412,`1859920`,1,0,`8388608`,`8388608`,1,1,4,4,"SLOT:CAUGHT(rc=OK,bad=2045) NO_RESCALE:CAUGHT(rc=OK,bad=1904) Q_ROW:CAUGHT(rc=OK,bad=2042) OUT_ROW:CAUGHT(rc=OK,bad=2042)" 15 +Last night,attention-64,gqa_f32_llama32_1b_32q8kv_ctx65,2048,OK,0,0.`0014332`,True,109441,241682,1,0,266240,266240,1,1,0,0, 16 +Last night,attention-64,gqa_f32_llama32_1b_32q8kv_ctx128,2048,OK,0,0.`00186415`,True,104608,114768,1,0,524288,524288,1,1,0,0, 17 +Last night,attention-64,gqa_f32_llama32_1b_32q8kv_ctx129,2048,OK,0,0.`00185519`,True,60801,68545,1,0,528384,528384,1,1,0,0, 18 +Last night,attention-64,gqa_f32_llama32_1b_32q8kv_ctx300,2048,OK,0,0.`00162705`,True,105105,124689,1,0,`1228800`,`1228800`,1,1,0,0, 19 +Last night,attention-64,gqa_f32_llama32_1b_32q8kv_ctx1000,2048,OK,0,0.`00330327`,True,208369,291746,1,0,`4096000`,`4096000`,1,1,0,0, 20 +Last night,attention-64,gqa_rows_f32_tinyllama_32q4kv_base0_rows1,2048,OK,0,0,True,104625,296178,1,0,2048,2048,1,1,0,0, 21 +Last night,attention-64,gqa_rows_f32_tinyllama_32q4kv_base17_rows5,10240,OK,0,0.`00298047`,True,109489,347395,1,0,45056,225280,1,5,0,0, 22 +Last night,attention-64,gqa_rows_f32_tinyllama_32q4kv_base300_rows40,81920,OK,0,0.`00332929`,True,682182,`1230011`,2,0,696320,`27852800`,1,40,4,4,"SLOT:CAUGHT(rc=OK,bad=81807) NO_RESCALE:CAUGHT(rc=OK,bad=64191) Q_ROW:CAUGHT(rc=OK,bad=81812) OUT_ROW:CAUGHT(rc=OK,bad=81812)" 23 +Last night,attention-64,gqa_rows_f32_llama32_1b_32q8kv_base0_rows1,2048,OK,0,0,True,105249,273123,1,0,4096,4096,1,1,0,0, 24 +Last night,attention-64,gqa_rows_f32_llama32_1b_32q8kv_base17_rows5,10240,OK,0,0.`00177684`,True,103089,112593,1,0,90112,450560,1,5,0,0, 25 +Last night,attention-64,gqa_rows_f32_llama32_1b_32q8kv_base300_rows40,81920,OK,0,0.`00325614`,True,780119,876615,2,0,`1392640`,`55705600`,1,40,4,4,"SLOT:CAUGHT(rc=OK,bad=81806) NO_RESCALE:CAUGHT(rc=OK,bad=65973) Q_ROW:CAUGHT(rc=OK,bad=81824) OUT_ROW:CAUGHT(rc=OK,bad=81824)" 26 +Last night,attention-64,gqa_f32_large_scores_32q4kv_ctx256,2048,OK,0,0.`0830785`,True,193873,404419,1,0,524288,524288,1,1,1,1,"NO_MAX:CAUGHT(rc=OK,bad=2048)" 27 +Last night,attention-64,gqa_f32_mha_16q16kv_ctx300,1024,OK,0,0.00184,True,108657,314675,1,0,`2457600`,`2457600`,1,1,3,3,"Q_ROW:CAUGHT(rc=OK,bad=1024) OUT_ROW:CAUGHT(rc=OK,bad=1020) KV_HEAD:CAUGHT(rc=OK,bad=1023)" 28 +Last night,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx1,2048,OK,0,0,True,111920,293891,1,0,16384,16384,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=2048)" 29 +Last night,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx17,2048,OK,0,0.`00158694`,True,105473,246914,1,0,32768,32768,2,2,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2047)" 30 +Last night,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx256,2048,OK,0,0.`00106953`,True,105473,273154,1,0,262144,262144,16,16,0,0, 31 +Last night,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx2048,2048,OK,0,0.`000545881`,True,265010,540005,1,0,`2097152`,`2097152`,128,128,5,5,"KV_HEAD:CAUGHT(rc=OK,bad=2047) SLOT:CAUGHT(rc=OK,bad=2038) NO_RESCALE:CAUGHT(rc=OK,bad=1901) Q_ROW:CAUGHT(rc=OK,bad=2046) OUT_ROW:CAUGHT(rc=OK,bad=2046)" 32 +Last night,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx65,2048,OK,0,0.`00144367`,True,105041,257170,1,0,81920,81920,5,5,0,0, 33 +Last night,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx128,2048,OK,0,0.`00159999`,True,105009,113649,1,0,131072,131072,8,8,0,0, 34 +Last night,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx129,2048,OK,0,0.`00170812`,True,104305,113137,1,0,147456,147456,9,9,0,0, 35 +Last night,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx300,2048,OK,0,0.`00140672`,True,107297,268994,1,0,311296,311296,19,19,0,0, 36 +Last night,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx1000,2048,OK,0,0.`00143935`,True,209170,393747,1,0,163840,`1032192`,10,63,0,0, 37 +Last night,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx1,2048,OK,0,0,True,108097,246530,1,0,32768,32768,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=2048)" 38 +Last night,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx17,2048,OK,0,0.`00205197`,True,75393,194370,1,0,65536,65536,2,2,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=2046) SLOT:CAUGHT(rc=OK,bad=2048)" 39 +Last night,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx256,2048,OK,0,0.`00105953`,True,113489,266610,1,0,524288,524288,16,16,0,0, 40 +Last night,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx2048,2048,OK,0,0.`00055855`,True,211506,647109,1,0,`4194304`,`4194304`,128,128,5,5,"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2044) NO_RESCALE:CAUGHT(rc=OK,bad=1963) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048)" 41 +Last night,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx65,2048,OK,0,0.`00171737`,True,105201,246706,1,0,163840,163840,5,5,0,0, 42 +Last night,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx128,2048,OK,0,0.`00153626`,True,104881,115105,1,0,262144,262144,8,8,0,0, 43 +Last night,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx129,2048,OK,0,0.`00162582`,True,105025,115761,1,0,294912,294912,9,9,0,0, 44 +Last night,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx300,2048,OK,0,0.`00144548`,True,107088,268995,1,0,622592,622592,19,19,0,0, 45 +Last night,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx1000,2048,OK,0,0.`00094646`,True,106529,323619,1,0,327680,`2064384`,10,63,0,0, 46 +Last night,attention-64,paged_bf16_split1_32q8kv_ctx1000,2048,OK,0,0.`0028454`,True,215122,407140,1,0,`2064384`,`2064384`,63,63,0,0, 47 +Last night,attention-64,paged_bf16_split2_32q8kv_ctx1000,2048,OK,0,0.`00202911`,True,106689,162593,1,0,`2064384`,`2064384`,63,63,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2041)" 48 +Last night,attention-64,paged_bf16_split4_32q8kv_ctx1000,2048,OK,0,0.`00111551`,True,117233,301794,1,0,`2064384`,`2064384`,63,63,0,0, 49 +Last night,attention-64,paged_bf16_split8_32q8kv_ctx1000,2048,OK,0,0.`000737182`,True,224209,598118,1,0,`2064384`,`2064384`,63,63,0,0, 50 +Last night,attention-64,paged_bf16_split16_32q8kv_ctx1000,2048,OK,0,0.`000577315`,True,209745,473348,1,0,`2064384`,`2064384`,63,63,0,0, 51 +Last night,attention-64,paged_bf16_split1_32q8kv_ctx100,2048,OK,0,0.`0018292`,True,104001,239026,1,0,65536,229376,2,7,0,0, 52 +Last night,attention-64,paged_bf16_split2_32q8kv_ctx100,2048,OK,0,0.`00134618`,True,110289,117921,1,0,65536,229376,2,7,0,0, 53 +Last night,attention-64,paged_bf16_split4_32q8kv_ctx100,2048,OK,0,0.`00134618`,True,113329,131233,1,0,65536,229376,2,7,0,0, 54 +Last night,attention-64,paged_bf16_split8_32q8kv_ctx100,2048,OK,0,0.`00134618`,True,106545,129313,1,0,65536,229376,2,7,0,0, 55 +Last night,attention-64,paged_bf16_split16_32q8kv_ctx100,2048,OK,0,0.`00134618`,True,103536,139442,1,0,65536,229376,2,7,0,0, 56 +Last night,attention-64,paged_bf16_batch_3seq_32q8kv_ctx40_0_100,6144,OK,0,0.`00173417`,True,170945,185185,2,0,229376,229376,7,7,4,4,"KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4095) Q_ROW:CAUGHT(rc=OK,bad=4092) OUT_ROW:CAUGHT(rc=OK,bad=4092)" 57 +Last night,attention-64,paged_bf16_shared_prefix_4seq_8q2kv_10pre,2048,OK,0,0.`00136352`,True,107089,280914,1,0,155648,401408,19,49,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2046)" 58 +Last night,attention-64,paged_bf16_shared_prefix_4seq_32q8kv_10pre,8192,OK,0,0.`00205105`,True,211666,432275,2,0,950272,`1605632`,29,49,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8186)" 59 +Last night,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx1,4096,OK,0,0,True,215730,`137353467`,1,0,8192,8192,1,1,0,0, 60 +Last night,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx17,4096,OK,0,0.`00198312`,True,105153,239346,1,0,139264,139264,1,1,0,0, 61 +Last night,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx256,4096,OK,0,0.`00219175`,True,209713,669029,1,0,`2097152`,`2097152`,1,1,0,0, 62 +Last night,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx2048,4096,OK,0,0.`00376301`,True,530292,`2661478`,1,0,`16777216`,`16777216`,1,1,4,4,"SLOT:CAUGHT(rc=OK,bad=4090) NO_RESCALE:CAUGHT(rc=OK,bad=3905) Q_ROW:CAUGHT(rc=OK,bad=4086) OUT_ROW:CAUGHT(rc=OK,bad=4086)" 63 +Last night,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx127,4096,OK,0,0.`0019369`,True,158625,393955,1,0,`1040384`,`1040384`,1,1,0,0, 64 +Last night,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx128,4096,OK,0,0.`00195072`,True,105633,123057,1,0,`1048576`,`1048576`,1,1,0,0, 65 +Last night,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx129,4096,OK,0,0.`00222211`,True,105889,122513,1,0,`1056768`,`1056768`,1,1,0,0, 66 +Last night,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx300,4096,OK,0,0.`00262496`,True,105425,148993,1,0,`2457600`,`2457600`,1,1,0,0, 67 +Last night,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx1000,4096,OK,0,0.`00318626`,True,314227,496084,1,0,`8192000`,`8192000`,1,1,0,0, 68 +Last night,attention-128,gqa_f32_gqa8_32q4kv_ctx1,4096,OK,0,0,True,104656,379555,1,0,4096,4096,1,1,0,0, 69 +Last night,attention-128,gqa_f32_gqa8_32q4kv_ctx17,4096,OK,0,0.`00213223`,True,103041,107841,1,0,69632,69632,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=4095)" 70 +Last night,attention-128,gqa_f32_gqa8_32q4kv_ctx256,4096,OK,0,0.`00193136`,True,108657,370979,1,0,`1048576`,`1048576`,1,1,0,0, 71 +Last night,attention-128,gqa_f32_gqa8_32q4kv_ctx2048,4096,OK,0,0.`00246504`,True,532260,721014,1,0,`8388608`,`8388608`,1,1,4,4,"SLOT:CAUGHT(rc=OK,bad=4084) NO_RESCALE:CAUGHT(rc=OK,bad=3914) Q_ROW:CAUGHT(rc=OK,bad=4078) OUT_ROW:CAUGHT(rc=OK,bad=4078)" 72 +Last night,attention-128,gqa_f32_gqa8_32q4kv_ctx127,4096,OK,0,0.`00243573`,True,106753,320611,1,0,520192,520192,1,1,0,0, 73 +Last night,attention-128,gqa_f32_gqa8_32q4kv_ctx128,4096,OK,0,0.`00180964`,True,105393,115505,1,0,524288,524288,1,1,0,0, 74 +Last night,attention-128,gqa_f32_gqa8_32q4kv_ctx129,4096,OK,0,0.`00188256`,True,114337,125217,1,0,528384,528384,1,1,0,0, 75 +Last night,attention-128,gqa_f32_gqa8_32q4kv_ctx300,4096,OK,0,0.`00199715`,True,112033,140497,1,0,`1228800`,`1228800`,1,1,0,0, 76 +Last night,attention-128,gqa_f32_gqa8_32q4kv_ctx1000,4096,OK,0,0.`00296202`,True,316531,430403,1,0,`4096000`,`4096000`,1,1,0,0, 77 +Last night,attention-128,gqa_rows_f32_qwen3_4b_32q8kv_base0_rows1,4096,OK,0,0,True,105761,411252,1,0,8192,8192,1,1,0,0, 78 +Last night,attention-128,gqa_rows_f32_qwen3_4b_32q8kv_base17_rows5,20480,OK,0,0.`00238734`,True,110065,498436,1,0,180224,901120,1,5,0,0, 79 +Last night,attention-128,gqa_rows_f32_qwen3_4b_32q8kv_base300_rows40,163840,OK,0,0.`00342033`,True,627493,`1334299`,2,0,`2785280`,`111411200`,1,40,4,4,"SLOT:CAUGHT(rc=OK,bad=163639) NO_RESCALE:CAUGHT(rc=OK,bad=96453) Q_ROW:CAUGHT(rc=OK,bad=163612) OUT_ROW:CAUGHT(rc=OK,bad=163612)" 80 +Last night,attention-128,gqa_rows_f32_gqa8_32q4kv_base0_rows1,4096,OK,0,0,True,105937,369284,1,0,4096,4096,1,1,0,0, 81 +Last night,attention-128,gqa_rows_f32_gqa8_32q4kv_base17_rows5,20480,OK,0,0.`00296019`,True,103745,123041,1,0,90112,450560,1,5,0,0, 82 +Last night,attention-128,gqa_rows_f32_gqa8_32q4kv_base300_rows40,163840,OK,0,0.`0038327`,True,538581,710038,2,0,`1392640`,`55705600`,1,40,4,4,"SLOT:CAUGHT(rc=OK,bad=163626) NO_RESCALE:CAUGHT(rc=OK,bad=98605) Q_ROW:CAUGHT(rc=OK,bad=163626) OUT_ROW:CAUGHT(rc=OK,bad=163626)" 83 +Last night,attention-128,gqa_f32_large_scores_32q4kv_ctx256,4096,OK,0,0.114366,True,109024,360659,1,0,`1048576`,`1048576`,1,1,1,1,"NO_MAX:CAUGHT(rc=OK,bad=4096)" 84 +Last night,attention-128,gqa_f32_mha_16q16kv_ctx300,2048,OK,0,0.`00289382`,True,211890,493444,1,0,`4915200`,`4915200`,1,1,3,3,"Q_ROW:CAUGHT(rc=OK,bad=2045) OUT_ROW:CAUGHT(rc=OK,bad=2048) KV_HEAD:CAUGHT(rc=OK,bad=2045)" 85 +Last night,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx1,4096,OK,0,0,True,106577,331747,1,0,65536,65536,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=4096)" 86 +Last night,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx17,4096,OK,0,0.`00234242`,True,110401,418916,1,0,131072,131072,2,2,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4096)" 87 +Last night,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx256,4096,OK,0,0.00164,True,112448,387236,1,0,`1048576`,`1048576`,16,16,0,0, 88 +Last night,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx2048,4096,OK,0,0.`000652093`,True,113889,914728,1,0,`8388608`,`8388608`,128,128,5,5,"KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4088) NO_RESCALE:CAUGHT(rc=OK,bad=3458) Q_ROW:CAUGHT(rc=OK,bad=4088) OUT_ROW:CAUGHT(rc=OK,bad=4088)" 89 +Last night,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx127,4096,OK,0,0.`00206248`,True,107073,409395,1,0,524288,524288,8,8,0,0, 90 +Last night,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx128,4096,OK,0,0.`00186796`,True,105761,122769,1,0,524288,524288,8,8,0,0, 91 +Last night,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx129,4096,OK,0,0.`00209681`,True,67136,347875,1,0,589824,589824,9,9,0,0, 92 +Last night,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx300,4096,OK,0,0.`00196382`,True,114433,156337,1,0,`1245184`,`1245184`,19,19,0,0, 93 +Last night,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx1000,4096,OK,0,0.`00109341`,True,110209,525572,1,0,655360,`4128768`,10,63,0,0, 94 +Last night,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx1,4096,OK,0,0,True,107201,405204,1,0,32768,32768,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=4096)" 95 +Last night,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx17,4096,OK,0,0.`00184997`,True,105457,320242,1,0,65536,65536,2,2,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4094)" 96 +Last night,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx256,4096,OK,0,0.`00174993`,True,110161,403972,1,0,524288,524288,16,16,0,0, 97 +Last night,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx2048,4096,OK,0,0.`000692334`,True,111761,698150,1,0,`4194304`,`4194304`,128,128,5,5,"KV_HEAD:CAUGHT(rc=OK,bad=4092) SLOT:CAUGHT(rc=OK,bad=4081) NO_RESCALE:CAUGHT(rc=OK,bad=3413) Q_ROW:CAUGHT(rc=OK,bad=4082) OUT_ROW:CAUGHT(rc=OK,bad=4082)" 98 +Last night,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx127,4096,OK,0,0.`00233987`,True,105953,357571,1,0,262144,262144,8,8,0,0, 99 +Last night,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx128,4096,OK,0,0.`00222576`,True,105457,115809,1,0,262144,262144,8,8,0,0, 100 +Last night,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx129,4096,OK,0,0.`00158538`,True,106449,342275,1,0,294912,294912,9,9,0,0, 101 +Last night,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx300,4096,OK,0,0.`00184017`,True,106033,125505,1,0,622592,622592,19,19,0,0, 102 +Last night,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx1000,4096,OK,0,0.00133,True,106929,374996,1,0,327680,`2064384`,10,63,0,0, 103 +Last night,attention-128,paged_bf16_split1_32q8kv_ctx1000,4096,OK,0,0.`00241483`,True,208546,517509,1,0,`4128768`,`4128768`,63,63,0,0, 104 +Last night,attention-128,paged_bf16_split2_32q8kv_ctx1000,4096,OK,0,0.`00192453`,True,107553,431332,1,0,`4128768`,`4128768`,63,63,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4089)" 105 +Last night,attention-128,paged_bf16_split4_32q8kv_ctx1000,4096,OK,0,0.`0012482`,True,111392,441812,1,0,`4128768`,`4128768`,63,63,0,0, 106 +Last night,attention-128,paged_bf16_split8_32q8kv_ctx1000,4096,OK,0,0.`000781902`,True,112305,512980,1,0,`4128768`,`4128768`,63,63,0,0, 107 +Last night,attention-128,paged_bf16_split16_32q8kv_ctx1000,4096,OK,0,0.`000781902`,True,107025,491636,1,0,`4128768`,`4128768`,63,63,0,0, 108 +Last night,attention-128,paged_bf16_split1_32q8kv_ctx100,4096,OK,0,0.`00257739`,True,103425,111441,1,0,131072,458752,2,7,0,0, 109 +Last night,attention-128,paged_bf16_split2_32q8kv_ctx100,4096,OK,0,0.`00257739`,True,91361,303938,1,0,131072,458752,2,7,0,0, 110 +Last night,attention-128,paged_bf16_split4_32q8kv_ctx100,4096,OK,0,0.`00257739`,True,106513,132098,1,0,131072,458752,2,7,0,0, 111 +Last night,attention-128,paged_bf16_split8_32q8kv_ctx100,4096,OK,0,0.`00257739`,True,103745,139329,1,0,131072,458752,2,7,0,0, 112 +Last night,attention-128,paged_bf16_split16_32q8kv_ctx100,4096,OK,0,0.`00257739`,True,103569,172737,1,0,131072,458752,2,7,0,0, 113 +Last night,attention-128,paged_bf16_batch_3seq_32q8kv_ctx40_0_100,12288,OK,0,0.`00208243`,True,212578,235938,2,0,458752,458752,7,7,4,4,"KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8184) Q_ROW:CAUGHT(rc=OK,bad=8190) OUT_ROW:CAUGHT(rc=OK,bad=8190)" 114 +Last night,attention-128,paged_bf16_shared_prefix_4seq_8q2kv_10pre,4096,OK,0,0.`00212011`,True,113105,407811,1,0,311296,802816,19,49,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4093)" 115 +Last night,attention-128,paged_bf16_shared_prefix_4seq_32q8kv_10pre,16384,OK,0,0.`00198582`,True,215506,532565,2,0,`1900544`,`3211264`,29,49,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=16379) SLOT:CAUGHT(rc=OK,bad=16365)" 116 +This morning,attention-64,gqa_f32_tinyllama_32q4kv_ctx1,2048,OK,0,0,True,214530,`134941370`,1,0,2048,2048,1,1,0,0, 117 +This morning,attention-64,gqa_f32_tinyllama_32q4kv_ctx17,2048,OK,0,0.`00189431`,True,105312,234674,1,0,34816,34816,1,1,0,0, 118 +This morning,attention-64,gqa_f32_tinyllama_32q4kv_ctx256,2048,OK,0,0.`00189409`,True,215953,382675,1,0,524288,524288,1,1,0,0, 119 +This morning,attention-64,gqa_f32_tinyllama_32q4kv_ctx2048,2048,OK,0,0.`0028582`,True,440387,`1118969`,1,0,`4194304`,`4194304`,1,1,4,4,"SLOT:CAUGHT(rc=OK,bad=2041) NO_RESCALE:CAUGHT(rc=OK,bad=1959) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048)" 120 +This morning,attention-64,gqa_f32_tinyllama_32q4kv_ctx65,2048,OK,0,0.`00174821`,True,105329,251123,1,0,133120,133120,1,1,0,0, 121 +This morning,attention-64,gqa_f32_tinyllama_32q4kv_ctx128,2048,OK,0,0.`00197914`,True,103889,109521,1,0,262144,262144,1,1,0,0, 122 +This morning,attention-64,gqa_f32_tinyllama_32q4kv_ctx129,2048,OK,0,0.`00177573`,True,103185,107985,1,0,264192,264192,1,1,0,0, 123 +This morning,attention-64,gqa_f32_tinyllama_32q4kv_ctx300,2048,OK,0,0.`00259576`,True,104993,114145,1,0,614400,614400,1,1,0,0, 124 +This morning,attention-64,gqa_f32_tinyllama_32q4kv_ctx1000,2048,OK,0,0.`00247545`,True,209346,246802,1,0,`2048000`,`2048000`,1,1,0,0, 125 +This morning,attention-64,gqa_f32_llama32_1b_32q8kv_ctx1,2048,OK,0,0,True,105217,263506,1,0,4096,4096,1,1,0,0, 126 +This morning,attention-64,gqa_f32_llama32_1b_32q8kv_ctx17,2048,OK,0,0.`00174276`,True,103729,107137,1,0,69632,69632,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=2048)" 127 +This morning,attention-64,gqa_f32_llama32_1b_32q8kv_ctx256,2048,OK,0,0.`00161378`,True,111057,324035,1,0,`1048576`,`1048576`,1,1,0,0, 128 +This morning,attention-64,gqa_f32_llama32_1b_32q8kv_ctx2048,2048,OK,0,0.`0029454`,True,538949,`1873424`,1,0,`8388608`,`8388608`,1,1,4,4,"SLOT:CAUGHT(rc=OK,bad=2045) NO_RESCALE:CAUGHT(rc=OK,bad=1904) Q_ROW:CAUGHT(rc=OK,bad=2042) OUT_ROW:CAUGHT(rc=OK,bad=2042)" 129 +This morning,attention-64,gqa_f32_llama32_1b_32q8kv_ctx65,2048,OK,0,0.`0014332`,True,106177,261074,1,0,266240,266240,1,1,0,0, 130 +This morning,attention-64,gqa_f32_llama32_1b_32q8kv_ctx128,2048,OK,0,0.`00186415`,True,104433,113089,1,0,524288,524288,1,1,0,0, 131 +This morning,attention-64,gqa_f32_llama32_1b_32q8kv_ctx129,2048,OK,0,0.`00185519`,True,103921,112689,1,0,528384,528384,1,1,0,0, 132 +This morning,attention-64,gqa_f32_llama32_1b_32q8kv_ctx300,2048,OK,0,0.`00162705`,True,104945,133105,1,0,`1228800`,`1228800`,1,1,0,0, 133 +This morning,attention-64,gqa_f32_llama32_1b_32q8kv_ctx1000,2048,OK,0,0.`00330327`,True,210258,324515,1,0,`4096000`,`4096000`,1,1,0,0, 134 +This morning,attention-64,gqa_rows_f32_tinyllama_32q4kv_base0_rows1,2048,OK,0,0,True,104609,271330,1,0,2048,2048,1,1,0,0, 135 +This morning,attention-64,gqa_rows_f32_tinyllama_32q4kv_base17_rows5,10240,OK,0,0.`00298047`,True,104721,348531,1,0,45056,225280,1,5,0,0, 136 +This morning,attention-64,gqa_rows_f32_tinyllama_32q4kv_base300_rows40,81920,OK,0,0.`00332929`,True,`1081960`,`1488764`,2,0,696320,`27852800`,1,40,4,4,"SLOT:CAUGHT(rc=OK,bad=81807) NO_RESCALE:CAUGHT(rc=OK,bad=64191) Q_ROW:CAUGHT(rc=OK,bad=81812) OUT_ROW:CAUGHT(rc=OK,bad=81812)" 137 +This morning,attention-64,gqa_rows_f32_llama32_1b_32q8kv_base0_rows1,2048,OK,0,0,True,111857,284003,1,0,4096,4096,1,1,0,0, 138 +This morning,attention-64,gqa_rows_f32_llama32_1b_32q8kv_base17_rows5,10240,OK,0,0.`00177684`,True,103505,114385,1,0,90112,450560,1,5,0,0, 139 +This morning,attention-64,gqa_rows_f32_llama32_1b_32q8kv_base300_rows40,81920,OK,0,0.`00325614`,True,`1356748`,`1459885`,2,0,`1392640`,`55705600`,1,40,4,4,"SLOT:CAUGHT(rc=OK,bad=81806) NO_RESCALE:CAUGHT(rc=OK,bad=65973) Q_ROW:CAUGHT(rc=OK,bad=81824) OUT_ROW:CAUGHT(rc=OK,bad=81824)" 140 +This morning,attention-64,gqa_f32_large_scores_32q4kv_ctx256,2048,OK,0,0.`0830785`,True,215474,418228,1,0,524288,524288,1,1,1,1,"NO_MAX:CAUGHT(rc=OK,bad=2048)" 141 +This morning,attention-64,gqa_f32_mha_16q16kv_ctx300,1024,OK,0,0.00184,True,113793,363603,1,0,`2457600`,`2457600`,1,1,3,3,"Q_ROW:CAUGHT(rc=OK,bad=1024) OUT_ROW:CAUGHT(rc=OK,bad=1020) KV_HEAD:CAUGHT(rc=OK,bad=1023)" 142 +This morning,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx1,2048,OK,0,0,True,106465,245570,1,0,16384,16384,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=2048)" 143 +This morning,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx17,2048,OK,0,0.`00158694`,True,105473,231490,1,0,32768,32768,2,2,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2047)" 144 +This morning,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx256,2048,OK,0,0.`00106953`,True,105969,265971,1,0,262144,262144,16,16,0,0, 145 +This morning,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx2048,2048,OK,0,0.`000545881`,True,215282,531444,1,0,`2097152`,`2097152`,128,128,5,5,"KV_HEAD:CAUGHT(rc=OK,bad=2047) SLOT:CAUGHT(rc=OK,bad=2038) NO_RESCALE:CAUGHT(rc=OK,bad=1901) Q_ROW:CAUGHT(rc=OK,bad=2046) OUT_ROW:CAUGHT(rc=OK,bad=2046)" 146 +This morning,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx65,2048,OK,0,0.`00144367`,True,108241,305394,1,0,81920,81920,5,5,0,0, 147 +This morning,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx128,2048,OK,0,0.`00159999`,True,105457,114049,1,0,131072,131072,8,8,0,0, 148 +This morning,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx129,2048,OK,0,0.`00170812`,True,105089,113905,1,0,147456,147456,9,9,0,0, 149 +This morning,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx300,2048,OK,0,0.`00140672`,True,110465,315635,1,0,311296,311296,19,19,0,0, 150 +This morning,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx1000,2048,OK,0,0.`00143935`,True,214578,425108,1,0,163840,`1032192`,10,63,0,0, 151 +This morning,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx1,2048,OK,0,0,True,121121,324707,1,0,32768,32768,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=2048)" 152 +This morning,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx17,2048,OK,0,0.`00205197`,True,105745,243346,1,0,65536,65536,2,2,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=2046) SLOT:CAUGHT(rc=OK,bad=2048)" 153 +This morning,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx256,2048,OK,0,0.`00105953`,True,107441,267106,1,0,524288,524288,16,16,0,0, 154 +This morning,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx2048,2048,OK,0,0.`00055855`,True,218018,688070,1,0,`4194304`,`4194304`,128,128,5,5,"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2044) NO_RESCALE:CAUGHT(rc=OK,bad=1963) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048)" 155 +This morning,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx65,2048,OK,0,0.`00171737`,True,109665,325730,1,0,163840,163840,5,5,0,0, 156 +This morning,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx128,2048,OK,0,0.`00153626`,True,108897,121521,1,0,262144,262144,8,8,0,0, 157 +This morning,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx129,2048,OK,0,0.`00162582`,True,111457,123521,1,0,294912,294912,9,9,0,0, 158 +This morning,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx300,2048,OK,0,0.`00144548`,True,107761,325507,1,0,622592,622592,19,19,0,0, 159 +This morning,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx1000,2048,OK,0,0.`00094646`,True,213089,521524,1,0,327680,`2064384`,10,63,0,0, 160 +This morning,attention-64,paged_bf16_split1_32q8kv_ctx1000,2048,OK,0,0.`0028454`,True,209202,473620,1,0,`2064384`,`2064384`,63,63,0,0, 161 +This morning,attention-64,paged_bf16_split2_32q8kv_ctx1000,2048,OK,0,0.`00202911`,True,104849,166385,1,0,`2064384`,`2064384`,63,63,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2041)" 162 +This morning,attention-64,paged_bf16_split4_32q8kv_ctx1000,2048,OK,0,0.`00111551`,True,106001,301491,1,0,`2064384`,`2064384`,63,63,0,0, 163 +This morning,attention-64,paged_bf16_split8_32q8kv_ctx1000,2048,OK,0,0.`000737182`,True,224066,429795,1,0,`2064384`,`2064384`,63,63,0,0, 164 +This morning,attention-64,paged_bf16_split16_32q8kv_ctx1000,2048,OK,0,0.`000577315`,True,223906,449460,1,0,`2064384`,`2064384`,63,63,0,0, 165 +This morning,attention-64,paged_bf16_split1_32q8kv_ctx100,2048,OK,0,0.`0018292`,True,104593,229330,1,0,65536,229376,2,7,0,0, 166 +This morning,attention-64,paged_bf16_split2_32q8kv_ctx100,2048,OK,0,0.`00134618`,True,102929,109553,1,0,65536,229376,2,7,0,0, 167 +This morning,attention-64,paged_bf16_split4_32q8kv_ctx100,2048,OK,0,0.`00134618`,True,102961,113249,1,0,65536,229376,2,7,0,0, 168 +This morning,attention-64,paged_bf16_split8_32q8kv_ctx100,2048,OK,0,0.`00134618`,True,102769,121297,1,0,65536,229376,2,7,0,0, 169 +This morning,attention-64,paged_bf16_split16_32q8kv_ctx100,2048,OK,0,0.`00134618`,True,102785,137969,1,0,65536,229376,2,7,0,0, 170 +This morning,attention-64,paged_bf16_batch_3seq_32q8kv_ctx40_0_100,6144,OK,0,0.`00173417`,True,208162,221362,2,0,229376,229376,7,7,4,4,"KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4095) Q_ROW:CAUGHT(rc=OK,bad=4092) OUT_ROW:CAUGHT(rc=OK,bad=4092)" 171 +This morning,attention-64,paged_bf16_shared_prefix_4seq_8q2kv_10pre,2048,OK,0,0.`00136352`,True,106049,254594,1,0,155648,401408,19,49,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2046)" 172 +This morning,attention-64,paged_bf16_shared_prefix_4seq_32q8kv_10pre,8192,OK,0,0.`00205105`,True,222738,430707,2,0,950272,`1605632`,29,49,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8186)" 173 +This morning,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx1,4096,OK,0,0,True,218226,`135936962`,1,0,8192,8192,1,1,0,0, 174 +This morning,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx17,4096,OK,0,0.`00198312`,True,105137,249762,1,0,139264,139264,1,1,0,0, 175 +This morning,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx256,4096,OK,0,0.`00219175`,True,216977,648533,1,0,`2097152`,`2097152`,1,1,0,0, 176 +This morning,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx2048,4096,OK,0,0.`00376301`,True,621525,`3216155`,1,0,`16777216`,`16777216`,1,1,4,4,"SLOT:CAUGHT(rc=OK,bad=4090) NO_RESCALE:CAUGHT(rc=OK,bad=3905) Q_ROW:CAUGHT(rc=OK,bad=4086) OUT_ROW:CAUGHT(rc=OK,bad=4086)" 177 +This morning,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx127,4096,OK,0,0.`0019369`,True,106593,351171,1,0,`1040384`,`1040384`,1,1,0,0, 178 +This morning,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx128,4096,OK,0,0.`00195072`,True,106529,130081,1,0,`1048576`,`1048576`,1,1,0,0, 179 +This morning,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx129,4096,OK,0,0.`00222211`,True,105729,130481,1,0,`1056768`,`1056768`,1,1,0,0, 180 +This morning,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx300,4096,OK,0,0.`00262496`,True,106961,178977,1,0,`2457600`,`2457600`,1,1,0,0, 181 +This morning,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx1000,4096,OK,0,0.`00318626`,True,325475,576373,1,0,`8192000`,`8192000`,1,1,0,0, 182 +This morning,attention-128,gqa_f32_gqa8_32q4kv_ctx1,4096,OK,0,0,True,108912,485204,1,0,4096,4096,1,1,0,0, 183 +This morning,attention-128,gqa_f32_gqa8_32q4kv_ctx17,4096,OK,0,0.`00213223`,True,104385,109745,1,0,69632,69632,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=4095)" 184 +This morning,attention-128,gqa_f32_gqa8_32q4kv_ctx256,4096,OK,0,0.`00193136`,True,120353,357091,1,0,`1048576`,`1048576`,1,1,0,0, 185 +This morning,attention-128,gqa_f32_gqa8_32q4kv_ctx2048,4096,OK,0,0.`00246504`,True,513077,731078,1,0,`8388608`,`8388608`,1,1,4,4,"SLOT:CAUGHT(rc=OK,bad=4084) NO_RESCALE:CAUGHT(rc=OK,bad=3914) Q_ROW:CAUGHT(rc=OK,bad=4078) OUT_ROW:CAUGHT(rc=OK,bad=4078)" 186 +This morning,attention-128,gqa_f32_gqa8_32q4kv_ctx127,4096,OK,0,0.`00243573`,True,106321,305267,1,0,520192,520192,1,1,0,0, 187 +This morning,attention-128,gqa_f32_gqa8_32q4kv_ctx128,4096,OK,0,0.`00180964`,True,104689,114673,1,0,524288,524288,1,1,0,0, 188 +This morning,attention-128,gqa_f32_gqa8_32q4kv_ctx129,4096,OK,0,0.`00188256`,True,103969,113073,1,0,528384,528384,1,1,0,0, 189 +This morning,attention-128,gqa_f32_gqa8_32q4kv_ctx300,4096,OK,0,0.`00199715`,True,214658,236002,1,0,`1228800`,`1228800`,1,1,0,0, 190 +This morning,attention-128,gqa_f32_gqa8_32q4kv_ctx1000,4096,OK,0,0.`00296202`,True,319747,418884,1,0,`4096000`,`4096000`,1,1,0,0, 191 +This morning,attention-128,gqa_rows_f32_qwen3_4b_32q8kv_base0_rows1,4096,OK,0,0,True,105793,388147,1,0,8192,8192,1,1,0,0, 192 +This morning,attention-128,gqa_rows_f32_qwen3_4b_32q8kv_base17_rows5,20480,OK,0,0.`00238734`,True,106929,403619,1,0,180224,901120,1,5,0,0, 193 +This morning,attention-128,gqa_rows_f32_qwen3_4b_32q8kv_base300_rows40,163840,OK,0,0.`00342033`,True,528868,`1197802`,2,0,`2785280`,`111411200`,1,40,4,4,"SLOT:CAUGHT(rc=OK,bad=163639) NO_RESCALE:CAUGHT(rc=OK,bad=96453) Q_ROW:CAUGHT(rc=OK,bad=163612) OUT_ROW:CAUGHT(rc=OK,bad=163612)" 194 +This morning,attention-128,gqa_rows_f32_gqa8_32q4kv_base0_rows1,4096,OK,0,0,True,106033,325011,1,0,4096,4096,1,1,0,0, 195 +This morning,attention-128,gqa_rows_f32_gqa8_32q4kv_base17_rows5,20480,OK,0,0.`00296019`,True,106769,128465,1,0,90112,450560,1,5,0,0, 196 +This morning,attention-128,gqa_rows_f32_gqa8_32q4kv_base300_rows40,163840,OK,0,0.`0038327`,True,661302,858135,2,0,`1392640`,`55705600`,1,40,4,4,"SLOT:CAUGHT(rc=OK,bad=163626) NO_RESCALE:CAUGHT(rc=OK,bad=98605) Q_ROW:CAUGHT(rc=OK,bad=163626) OUT_ROW:CAUGHT(rc=OK,bad=163626)" 197 +This morning,attention-128,gqa_f32_large_scores_32q4kv_ctx256,4096,OK,0,0.114366,True,106641,375475,1,0,`1048576`,`1048576`,1,1,1,1,"NO_MAX:CAUGHT(rc=OK,bad=4096)" 198 +This morning,attention-128,gqa_f32_mha_16q16kv_ctx300,2048,OK,0,0.`00289382`,True,219762,582981,1,0,`4915200`,`4915200`,1,1,3,3,"Q_ROW:CAUGHT(rc=OK,bad=2045) OUT_ROW:CAUGHT(rc=OK,bad=2048) KV_HEAD:CAUGHT(rc=OK,bad=2045)" 199 +This morning,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx1,4096,OK,0,0,True,106305,332899,1,0,65536,65536,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=4096)" 200 +This morning,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx17,4096,OK,0,0.`00234242`,True,105489,319443,1,0,131072,131072,2,2,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4096)" 201 +This morning,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx256,4096,OK,0,0.00164,True,108897,356483,1,0,`1048576`,`1048576`,16,16,0,0, 202 +This morning,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx2048,4096,OK,0,0.`000652093`,True,109569,873336,1,0,`8388608`,`8388608`,128,128,5,5,"KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4088) NO_RESCALE:CAUGHT(rc=OK,bad=3458) Q_ROW:CAUGHT(rc=OK,bad=4088) OUT_ROW:CAUGHT(rc=OK,bad=4088)" 203 +This morning,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx127,4096,OK,0,0.`00206248`,True,107121,337666,1,0,524288,524288,8,8,0,0, 204 +This morning,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx128,4096,OK,0,0.`00186796`,True,106624,120257,1,0,524288,524288,8,8,0,0, 205 +This morning,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx129,4096,OK,0,0.`00209681`,True,119057,396947,1,0,589824,589824,9,9,0,0, 206 +This morning,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx300,4096,OK,0,0.`00196382`,True,107953,158081,1,0,`1245184`,`1245184`,19,19,0,0, 207 +This morning,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx1000,4096,OK,0,0.`00109341`,True,212578,628693,1,0,655360,`4128768`,10,63,0,0, 208 +This morning,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx1,4096,OK,0,0,True,110337,416404,1,0,32768,32768,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=4096)" 209 +This morning,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx17,4096,OK,0,0.`00184997`,True,104849,327971,1,0,65536,65536,2,2,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4094)" 210 +This morning,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx256,4096,OK,0,0.`00174993`,True,107552,385251,1,0,524288,524288,16,16,0,0, 211 +This morning,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx2048,4096,OK,0,0.`000692334`,True,110737,698070,1,0,`4194304`,`4194304`,128,128,5,5,"KV_HEAD:CAUGHT(rc=OK,bad=4092) SLOT:CAUGHT(rc=OK,bad=4081) NO_RESCALE:CAUGHT(rc=OK,bad=3413) Q_ROW:CAUGHT(rc=OK,bad=4082) OUT_ROW:CAUGHT(rc=OK,bad=4082)" 212 +This morning,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx127,4096,OK,0,0.`00233987`,True,105233,345843,1,0,262144,262144,8,8,0,0, 213 +This morning,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx128,4096,OK,0,0.`00222576`,True,106673,117201,1,0,262144,262144,8,8,0,0, 214 +This morning,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx129,4096,OK,0,0.`00158538`,True,105233,362403,1,0,294912,294912,9,9,0,0, 215 +This morning,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx300,4096,OK,0,0.`00184017`,True,105537,127409,1,0,622592,622592,19,19,0,0, 216 +This morning,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx1000,4096,OK,0,0.00133,True,106913,458244,1,0,327680,`2064384`,10,63,0,0, 217 +This morning,attention-128,paged_bf16_split1_32q8kv_ctx1000,4096,OK,0,0.`00241483`,True,216930,647910,1,0,`4128768`,`4128768`,63,63,0,0, 218 +This morning,attention-128,paged_bf16_split2_32q8kv_ctx1000,4096,OK,0,0.`00192453`,True,108481,470324,1,0,`4128768`,`4128768`,63,63,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4089)" 219 +This morning,attention-128,paged_bf16_split4_32q8kv_ctx1000,4096,OK,0,0.`0012482`,True,79025,392660,1,0,`4128768`,`4128768`,63,63,0,0, 220 +This morning,attention-128,paged_bf16_split8_32q8kv_ctx1000,4096,OK,0,0.`000781902`,True,106273,438084,1,0,`4128768`,`4128768`,63,63,0,0, 221 +This morning,attention-128,paged_bf16_split16_32q8kv_ctx1000,4096,OK,0,0.`000781902`,True,107201,473892,1,0,`4128768`,`4128768`,63,63,0,0, 222 +This morning,attention-128,paged_bf16_split1_32q8kv_ctx100,4096,OK,0,0.`00257739`,True,103089,111073,1,0,131072,458752,2,7,0,0, 223 +This morning,attention-128,paged_bf16_split2_32q8kv_ctx100,4096,OK,0,0.`00257739`,True,118497,326499,1,0,131072,458752,2,7,0,0, 224 +This morning,attention-128,paged_bf16_split4_32q8kv_ctx100,4096,OK,0,0.`00257739`,True,107009,132785,1,0,131072,458752,2,7,0,0, 225 +This morning,attention-128,paged_bf16_split8_32q8kv_ctx100,4096,OK,0,0.`00257739`,True,118801,165105,1,0,131072,458752,2,7,0,0, 226 +This morning,attention-128,paged_bf16_split16_32q8kv_ctx100,4096,OK,0,0.`00257739`,True,108449,192322,1,0,131072,458752,2,7,0,0, 227 +This morning,attention-128,paged_bf16_batch_3seq_32q8kv_ctx40_0_100,12288,OK,0,0.`00208243`,True,223090,252642,2,0,458752,458752,7,7,4,4,"KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8184) Q_ROW:CAUGHT(rc=OK,bad=8190) OUT_ROW:CAUGHT(rc=OK,bad=8190)" 228 +This morning,attention-128,paged_bf16_shared_prefix_4seq_8q2kv_10pre,4096,OK,0,0.`00212011`,True,111921,430276,1,0,311296,802816,19,49,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4093)" 229 +This morning,attention-128,paged_bf16_shared_prefix_4seq_32q8kv_10pre,16384,OK,0,0.`00198582`,True,213954,595125,2,0,`1900544`,`3211264`,29,49,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=16379) SLOT:CAUGHT(rc=OK,bad=16365)" 230 +Merged main,attention-64,gqa_f32_tinyllama_32q4kv_ctx1,2048,OK,0,0,True,212658,`161680824`,1,0,2048,2048,1,1,0,0, 231 +Merged main,attention-64,gqa_f32_tinyllama_32q4kv_ctx17,2048,OK,0,0.`00189431`,True,104177,231506,1,0,34816,34816,1,1,0,0, 232 +Merged main,attention-64,gqa_f32_tinyllama_32q4kv_ctx256,2048,OK,0,0.`00189409`,True,208786,388372,1,0,524288,524288,1,1,0,0, 233 +Merged main,attention-64,gqa_f32_tinyllama_32q4kv_ctx2048,2048,OK,0,0.`0028582`,True,629879,`1425999`,1,0,`4194304`,`4194304`,1,1,4,4,"SLOT:CAUGHT(rc=OK,bad=2041) NO_RESCALE:CAUGHT(rc=OK,bad=1959) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048)" 234 +Merged main,attention-64,gqa_f32_tinyllama_32q4kv_ctx65,2048,OK,0,0.`00174821`,True,104625,242530,1,0,133120,133120,1,1,0,0, 235 +Merged main,attention-64,gqa_f32_tinyllama_32q4kv_ctx128,2048,OK,0,0.`00197914`,True,103857,109361,1,0,262144,262144,1,1,0,0, 236 +Merged main,attention-64,gqa_f32_tinyllama_32q4kv_ctx129,2048,OK,0,0.`00177573`,True,103265,108209,1,0,264192,264192,1,1,0,0, 237 +Merged main,attention-64,gqa_f32_tinyllama_32q4kv_ctx300,2048,OK,0,0.`00259576`,True,191426,201922,1,0,614400,614400,1,1,0,0, 238 +Merged main,attention-64,gqa_f32_tinyllama_32q4kv_ctx1000,2048,OK,0,0.`00247545`,True,316259,363252,1,0,`2048000`,`2048000`,1,1,0,0, 239 +Merged main,attention-64,gqa_f32_llama32_1b_32q8kv_ctx1,2048,OK,0,0,True,105329,264643,1,0,4096,4096,1,1,0,0, 240 +Merged main,attention-64,gqa_f32_llama32_1b_32q8kv_ctx17,2048,OK,0,0.`00174276`,True,102721,106257,1,0,69632,69632,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=2048)" 241 +Merged main,attention-64,gqa_f32_llama32_1b_32q8kv_ctx256,2048,OK,0,0.`00161378`,True,106609,252034,1,0,`1048576`,`1048576`,1,1,0,0, 242 +Merged main,attention-64,gqa_f32_llama32_1b_32q8kv_ctx2048,2048,OK,0,0.`0029454`,True,516262,`1898228`,1,0,`8388608`,`8388608`,1,1,4,4,"SLOT:CAUGHT(rc=OK,bad=2045) NO_RESCALE:CAUGHT(rc=OK,bad=1904) Q_ROW:CAUGHT(rc=OK,bad=2042) OUT_ROW:CAUGHT(rc=OK,bad=2042)" 243 +Merged main,attention-64,gqa_f32_llama32_1b_32q8kv_ctx65,2048,OK,0,0.`0014332`,True,105569,237138,1,0,266240,266240,1,1,0,0, 244 +Merged main,attention-64,gqa_f32_llama32_1b_32q8kv_ctx128,2048,OK,0,0.`00186415`,True,62992,71824,1,0,524288,524288,1,1,0,0, 245 +Merged main,attention-64,gqa_f32_llama32_1b_32q8kv_ctx129,2048,OK,0,0.`00185519`,True,104113,112961,1,0,528384,528384,1,1,0,0, 246 +Merged main,attention-64,gqa_f32_llama32_1b_32q8kv_ctx300,2048,OK,0,0.`00162705`,True,104657,129522,1,0,`1228800`,`1228800`,1,1,0,0, 247 +Merged main,attention-64,gqa_f32_llama32_1b_32q8kv_ctx1000,2048,OK,0,0.`00330327`,True,292963,418084,1,0,`4096000`,`4096000`,1,1,0,0, 248 +Merged main,attention-64,gqa_rows_f32_tinyllama_32q4kv_base0_rows1,2048,OK,0,0,True,104625,340356,1,0,2048,2048,1,1,0,0, 249 +Merged main,attention-64,gqa_rows_f32_tinyllama_32q4kv_base17_rows5,10240,OK,0,0.`00298047`,True,104353,354323,1,0,45056,225280,1,5,0,0, 250 +Merged main,attention-64,gqa_rows_f32_tinyllama_32q4kv_base300_rows40,81920,OK,0,0.`00332929`,True,`1814642`,`2238822`,2,0,696320,`27852800`,1,40,4,4,"SLOT:CAUGHT(rc=OK,bad=81807) NO_RESCALE:CAUGHT(rc=OK,bad=64191) Q_ROW:CAUGHT(rc=OK,bad=81812) OUT_ROW:CAUGHT(rc=OK,bad=81812)" 251 +Merged main,attention-64,gqa_rows_f32_llama32_1b_32q8kv_base0_rows1,2048,OK,0,0,True,104993,216642,1,0,4096,4096,1,1,0,0, 252 +Merged main,attention-64,gqa_rows_f32_llama32_1b_32q8kv_base17_rows5,10240,OK,0,0.`00177684`,True,103025,113185,1,0,90112,450560,1,5,0,0, 253 +Merged main,attention-64,gqa_rows_f32_llama32_1b_32q8kv_base300_rows40,81920,OK,0,0.`00325614`,True,`1049194`,`1158988`,2,0,`1392640`,`55705600`,1,40,4,4,"SLOT:CAUGHT(rc=OK,bad=81806) NO_RESCALE:CAUGHT(rc=OK,bad=65973) Q_ROW:CAUGHT(rc=OK,bad=81824) OUT_ROW:CAUGHT(rc=OK,bad=81824)" 254 +Merged main,attention-64,gqa_f32_large_scores_32q4kv_ctx256,2048,OK,0,0.`0830785`,True,216242,344436,1,0,524288,524288,1,1,1,1,"NO_MAX:CAUGHT(rc=OK,bad=2048)" 255 +Merged main,attention-64,gqa_f32_mha_16q16kv_ctx300,1024,OK,0,0.00184,True,105953,296003,1,0,`2457600`,`2457600`,1,1,3,3,"Q_ROW:CAUGHT(rc=OK,bad=1024) OUT_ROW:CAUGHT(rc=OK,bad=1020) KV_HEAD:CAUGHT(rc=OK,bad=1023)" 256 +Merged main,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx1,2048,OK,0,0,True,105714,232643,1,0,16384,16384,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=2048)" 257 +Merged main,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx17,2048,OK,0,0.`00158694`,True,104161,222595,1,0,32768,32768,2,2,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2047)" 258 +Merged main,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx256,2048,OK,0,0.`00106953`,True,105217,245634,1,0,262144,262144,16,16,0,0, 259 +Merged main,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx2048,2048,OK,0,0.`000545881`,True,588902,943289,1,0,`2097152`,`2097152`,128,128,5,5,"KV_HEAD:CAUGHT(rc=OK,bad=2047) SLOT:CAUGHT(rc=OK,bad=2038) NO_RESCALE:CAUGHT(rc=OK,bad=1901) Q_ROW:CAUGHT(rc=OK,bad=2046) OUT_ROW:CAUGHT(rc=OK,bad=2046)" 260 +Merged main,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx65,2048,OK,0,0.`00144367`,True,103729,246963,1,0,81920,81920,5,5,0,0, 261 +Merged main,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx128,2048,OK,0,0.`00159999`,True,103345,111329,1,0,131072,131072,8,8,0,0, 262 +Merged main,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx129,2048,OK,0,0.`00170812`,True,103217,111233,1,0,147456,147456,9,9,0,0, 263 +Merged main,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx300,2048,OK,0,0.`00140672`,True,104305,256915,1,0,311296,311296,19,19,0,0, 264 +Merged main,attention-64,paged_bf16_tinyllama_32q4kv_bs16_ctx1000,2048,OK,0,0.`00143935`,True,209858,401300,1,0,163840,`1032192`,10,63,0,0, 265 +Merged main,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx1,2048,OK,0,0,True,104481,250786,1,0,32768,32768,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=2048)" 266 +Merged main,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx17,2048,OK,0,0.`00205197`,True,103617,221666,1,0,65536,65536,2,2,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=2046) SLOT:CAUGHT(rc=OK,bad=2048)" 267 +Merged main,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx256,2048,OK,0,0.`00105953`,True,105057,255218,1,0,524288,524288,16,16,0,0, 268 +Merged main,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx2048,2048,OK,0,0.`00055855`,True,245107,699671,1,0,`4194304`,`4194304`,128,128,5,5,"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2044) NO_RESCALE:CAUGHT(rc=OK,bad=1963) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048)" 269 +Merged main,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx65,2048,OK,0,0.`00171737`,True,104673,266322,1,0,163840,163840,5,5,0,0, 270 +Merged main,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx128,2048,OK,0,0.`00153626`,True,104641,114897,1,0,262144,262144,8,8,0,0, 271 +Merged main,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx129,2048,OK,0,0.`00162582`,True,105233,116161,1,0,294912,294912,9,9,0,0, 272 +Merged main,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx300,2048,OK,0,0.`00144548`,True,105809,299683,1,0,622592,622592,19,19,0,0, 273 +Merged main,attention-64,paged_bf16_llama32_1b_32q8kv_bs16_ctx1000,2048,OK,0,0.`00094646`,True,210723,485173,1,0,327680,`2064384`,10,63,0,0, 274 +Merged main,attention-64,paged_bf16_split1_32q8kv_ctx1000,2048,OK,0,0.`0028454`,True,207730,476549,1,0,`2064384`,`2064384`,63,63,0,0, 275 +Merged main,attention-64,paged_bf16_split2_32q8kv_ctx1000,2048,OK,0,0.`00202911`,True,206370,261187,1,0,`2064384`,`2064384`,63,63,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2041)" 276 +Merged main,attention-64,paged_bf16_split4_32q8kv_ctx1000,2048,OK,0,0.`00111551`,True,222019,398388,1,0,`2064384`,`2064384`,63,63,0,0, 277 +Merged main,attention-64,paged_bf16_split8_32q8kv_ctx1000,2048,OK,0,0.`000737182`,True,311971,497701,1,0,`2064384`,`2064384`,63,63,0,0, 278 +Merged main,attention-64,paged_bf16_split16_32q8kv_ctx1000,2048,OK,0,0.`000577315`,True,304163,510325,1,0,`2064384`,`2064384`,63,63,0,0, 279 +Merged main,attention-64,paged_bf16_split1_32q8kv_ctx100,2048,OK,0,0.`0018292`,True,104065,231010,1,0,65536,229376,2,7,0,0, 280 +Merged main,attention-64,paged_bf16_split2_32q8kv_ctx100,2048,OK,0,0.`00134618`,True,103233,109825,1,0,65536,229376,2,7,0,0, 281 +Merged main,attention-64,paged_bf16_split4_32q8kv_ctx100,2048,OK,0,0.`00134618`,True,102833,113169,1,0,65536,229376,2,7,0,0, 282 +Merged main,attention-64,paged_bf16_split8_32q8kv_ctx100,2048,OK,0,0.`00134618`,True,102673,121538,1,0,65536,229376,2,7,0,0, 283 +Merged main,attention-64,paged_bf16_split16_32q8kv_ctx100,2048,OK,0,0.`00134618`,True,102769,137057,1,0,65536,229376,2,7,0,0, 284 +Merged main,attention-64,paged_bf16_batch_3seq_32q8kv_ctx40_0_100,6144,OK,0,0.`00173417`,True,208851,222595,2,0,229376,229376,7,7,4,4,"KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4095) Q_ROW:CAUGHT(rc=OK,bad=4092) OUT_ROW:CAUGHT(rc=OK,bad=4092)" 285 +Merged main,attention-64,paged_bf16_shared_prefix_4seq_8q2kv_10pre,2048,OK,0,0.`00136352`,True,104481,250418,1,0,155648,401408,19,49,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2046)" 286 +Merged main,attention-64,paged_bf16_shared_prefix_4seq_32q8kv_10pre,8192,OK,0,0.`00205105`,True,214227,447349,2,0,950272,`1605632`,29,49,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8186)" 287 +Merged main,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx1,4096,OK,0,0,True,218866,`148407025`,1,0,8192,8192,1,1,0,0, 288 +Merged main,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx17,4096,OK,0,0.`00198312`,True,104017,265506,1,0,139264,139264,1,1,0,0, 289 +Merged main,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx256,4096,OK,0,0.`00219175`,True,211890,616070,1,0,`2097152`,`2097152`,1,1,0,0, 290 +Merged main,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx2048,4096,OK,0,0.`00376301`,True,578165,`3051119`,1,0,`16777216`,`16777216`,1,1,4,4,"SLOT:CAUGHT(rc=OK,bad=4090) NO_RESCALE:CAUGHT(rc=OK,bad=3905) Q_ROW:CAUGHT(rc=OK,bad=4086) OUT_ROW:CAUGHT(rc=OK,bad=4086)" 291 +Merged main,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx127,4096,OK,0,0.`0019369`,True,105169,339203,1,0,`1040384`,`1040384`,1,1,0,0, 292 +Merged main,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx128,4096,OK,0,0.`00195072`,True,104241,123217,1,0,`1048576`,`1048576`,1,1,0,0, 293 +Merged main,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx129,4096,OK,0,0.`00222211`,True,104737,123617,1,0,`1056768`,`1056768`,1,1,0,0, 294 +Merged main,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx300,4096,OK,0,0.`00262496`,True,106369,168897,1,0,`2457600`,`2457600`,1,1,0,0, 295 +Merged main,attention-128,gqa_f32_qwen3_4b_32q8kv_ctx1000,4096,OK,0,0.`00318626`,True,312739,553622,1,0,`8192000`,`8192000`,1,1,0,0, 296 +Merged main,attention-128,gqa_f32_gqa8_32q4kv_ctx1,4096,OK,0,0,True,105121,488869,1,0,4096,4096,1,1,0,0, 297 +Merged main,attention-128,gqa_f32_gqa8_32q4kv_ctx17,4096,OK,0,0.`00213223`,True,103041,108001,1,0,69632,69632,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=4095)" 298 +Merged main,attention-128,gqa_f32_gqa8_32q4kv_ctx256,4096,OK,0,0.`00193136`,True,106641,324275,1,0,`1048576`,`1048576`,1,1,0,0, 299 +Merged main,attention-128,gqa_f32_gqa8_32q4kv_ctx2048,4096,OK,0,0.`00246504`,True,521061,781272,1,0,`8388608`,`8388608`,1,1,4,4,"SLOT:CAUGHT(rc=OK,bad=4084) NO_RESCALE:CAUGHT(rc=OK,bad=3914) Q_ROW:CAUGHT(rc=OK,bad=4078) OUT_ROW:CAUGHT(rc=OK,bad=4078)" 300 +Merged main,attention-128,gqa_f32_gqa8_32q4kv_ctx127,4096,OK,0,0.`00243573`,True,104993,308723,1,0,520192,520192,1,1,0,0, 301 +Merged main,attention-128,gqa_f32_gqa8_32q4kv_ctx128,4096,OK,0,0.`00180964`,True,103681,113969,1,0,524288,524288,1,1,0,0, 302 +Merged main,attention-128,gqa_f32_gqa8_32q4kv_ctx129,4096,OK,0,0.`00188256`,True,103409,113313,1,0,528384,528384,1,1,0,0, 303 +Merged main,attention-128,gqa_f32_gqa8_32q4kv_ctx300,4096,OK,0,0.`00199715`,True,104465,127697,1,0,`1228800`,`1228800`,1,1,0,0, 304 +Merged main,attention-128,gqa_f32_gqa8_32q4kv_ctx1000,4096,OK,0,0.`00296202`,True,313587,428261,1,0,`4096000`,`4096000`,1,1,0,0, 305 +Merged main,attention-128,gqa_rows_f32_qwen3_4b_32q8kv_base0_rows1,4096,OK,0,0,True,106449,396596,1,0,8192,8192,1,1,0,0, 306 +Merged main,attention-128,gqa_rows_f32_qwen3_4b_32q8kv_base17_rows5,20480,OK,0,0.`00238734`,True,105313,391892,1,0,180224,901120,1,5,0,0, 307 +Merged main,attention-128,gqa_rows_f32_qwen3_4b_32q8kv_base300_rows40,163840,OK,0,0.`00342033`,True,531077,`1201676`,2,0,`2785280`,`111411200`,1,40,4,4,"SLOT:CAUGHT(rc=OK,bad=163639) NO_RESCALE:CAUGHT(rc=OK,bad=96453) Q_ROW:CAUGHT(rc=OK,bad=163612) OUT_ROW:CAUGHT(rc=OK,bad=163612)" 308 +Merged main,attention-128,gqa_rows_f32_gqa8_32q4kv_base0_rows1,4096,OK,0,0,True,108513,354804,1,0,4096,4096,1,1,0,0, 309 +Merged main,attention-128,gqa_rows_f32_gqa8_32q4kv_base17_rows5,20480,OK,0,0.`00296019`,True,103313,121538,1,0,90112,450560,1,5,0,0, 310 +Merged main,attention-128,gqa_rows_f32_gqa8_32q4kv_base300_rows40,163840,OK,0,0.`0038327`,True,543846,711095,2,0,`1392640`,`55705600`,1,40,4,4,"SLOT:CAUGHT(rc=OK,bad=163626) NO_RESCALE:CAUGHT(rc=OK,bad=98605) Q_ROW:CAUGHT(rc=OK,bad=163626) OUT_ROW:CAUGHT(rc=OK,bad=163626)" 311 +Merged main,attention-128,gqa_f32_large_scores_32q4kv_ctx256,4096,OK,0,0.114366,True,110370,401380,1,0,`1048576`,`1048576`,1,1,1,1,"NO_MAX:CAUGHT(rc=OK,bad=4096)" 312 +Merged main,attention-128,gqa_f32_mha_16q16kv_ctx300,2048,OK,0,0.`00289382`,True,212146,528374,1,0,`4915200`,`4915200`,1,1,3,3,"Q_ROW:CAUGHT(rc=OK,bad=2045) OUT_ROW:CAUGHT(rc=OK,bad=2048) KV_HEAD:CAUGHT(rc=OK,bad=2045)" 313 +Merged main,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx1,4096,OK,0,0,True,106161,330980,1,0,65536,65536,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=4096)" 314 +Merged main,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx17,4096,OK,0,0.`00234242`,True,105745,316436,1,0,131072,131072,2,2,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4096)" 315 +Merged main,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx256,4096,OK,0,0.00164,True,107745,359459,1,0,`1048576`,`1048576`,16,16,0,0, 316 +Merged main,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx2048,4096,OK,0,0.`000652093`,True,111105,781672,1,0,`8388608`,`8388608`,128,128,5,5,"KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4088) NO_RESCALE:CAUGHT(rc=OK,bad=3458) Q_ROW:CAUGHT(rc=OK,bad=4088) OUT_ROW:CAUGHT(rc=OK,bad=4088)" 317 +Merged main,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx127,4096,OK,0,0.`00206248`,True,107617,369492,1,0,524288,524288,8,8,0,0, 318 +Merged main,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx128,4096,OK,0,0.`00186796`,True,114097,131554,1,0,524288,524288,8,8,0,0, 319 +Merged main,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx129,4096,OK,0,0.`00209681`,True,108561,426804,1,0,589824,589824,9,9,0,0, 320 +Merged main,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx300,4096,OK,0,0.`00196382`,True,107569,147666,1,0,`1245184`,`1245184`,19,19,0,0, 321 +Merged main,attention-128,paged_bf16_qwen3_4b_32q8kv_bs16_ctx1000,4096,OK,0,0.`00109341`,True,114162,536054,1,0,655360,`4128768`,10,63,0,0, 322 +Merged main,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx1,4096,OK,0,0,True,106465,393396,1,0,32768,32768,1,1,1,1,"KV_HEAD:CAUGHT(rc=OK,bad=4096)" 323 +Merged main,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx17,4096,OK,0,0.`00184997`,True,107825,402532,1,0,65536,65536,2,2,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4094)" 324 +Merged main,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx256,4096,OK,0,0.`00174993`,True,106785,336707,1,0,524288,524288,16,16,0,0, 325 +Merged main,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx2048,4096,OK,0,0.`000692334`,True,216546,742455,1,0,`4194304`,`4194304`,128,128,5,5,"KV_HEAD:CAUGHT(rc=OK,bad=4092) SLOT:CAUGHT(rc=OK,bad=4081) NO_RESCALE:CAUGHT(rc=OK,bad=3413) Q_ROW:CAUGHT(rc=OK,bad=4082) OUT_ROW:CAUGHT(rc=OK,bad=4082)" 326 +Merged main,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx127,4096,OK,0,0.`00233987`,True,105569,318451,1,0,262144,262144,8,8,0,0, 327 +Merged main,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx128,4096,OK,0,0.`00222576`,True,105633,115873,1,0,262144,262144,8,8,0,0, 328 +Merged main,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx129,4096,OK,0,0.`00158538`,True,105681,328163,1,0,294912,294912,9,9,0,0, 329 +Merged main,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx300,4096,OK,0,0.`00184017`,True,106689,125745,1,0,622592,622592,19,19,0,0, 330 +Merged main,attention-128,paged_bf16_gqa8_32q4kv_bs16_ctx1000,4096,OK,0,0.00133,True,106594,396708,1,0,327680,`2064384`,10,63,0,0, 331 +Merged main,attention-128,paged_bf16_split1_32q8kv_ctx1000,4096,OK,0,0.`00241483`,True,208322,541622,1,0,`4128768`,`4128768`,63,63,0,0, 332 +Merged main,attention-128,paged_bf16_split2_32q8kv_ctx1000,4096,OK,0,0.`00192453`,True,105825,406548,1,0,`4128768`,`4128768`,63,63,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4089)" 333 +Merged main,attention-128,paged_bf16_split4_32q8kv_ctx1000,4096,OK,0,0.`0012482`,True,106977,397492,1,0,`4128768`,`4128768`,63,63,0,0, 334 +Merged main,attention-128,paged_bf16_split8_32q8kv_ctx1000,4096,OK,0,0.`000781902`,True,107041,421061,1,0,`4128768`,`4128768`,63,63,0,0, 335 +Merged main,attention-128,paged_bf16_split16_32q8kv_ctx1000,4096,OK,0,0.`000781902`,True,107249,457652,1,0,`4128768`,`4128768`,63,63,0,0, 336 +Merged main,attention-128,paged_bf16_split1_32q8kv_ctx100,4096,OK,0,0.`00257739`,True,103521,111345,1,0,131072,458752,2,7,0,0, 337 +Merged main,attention-128,paged_bf16_split2_32q8kv_ctx100,4096,OK,0,0.`00257739`,True,103889,306611,1,0,131072,458752,2,7,0,0, 338 +Merged main,attention-128,paged_bf16_split4_32q8kv_ctx100,4096,OK,0,0.`00257739`,True,103137,122209,1,0,131072,458752,2,7,0,0, 339 +Merged main,attention-128,paged_bf16_split8_32q8kv_ctx100,4096,OK,0,0.`00257739`,True,103905,138786,1,0,131072,458752,2,7,0,0, 340 +Merged main,attention-128,paged_bf16_split16_32q8kv_ctx100,4096,OK,0,0.`00257739`,True,103105,170817,1,0,131072,458752,2,7,0,0, 341 +Merged main,attention-128,paged_bf16_batch_3seq_32q8kv_ctx40_0_100,12288,OK,0,0.`00208243`,True,208994,232098,2,0,458752,458752,7,7,4,4,"KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8184) Q_ROW:CAUGHT(rc=OK,bad=8190) OUT_ROW:CAUGHT(rc=OK,bad=8190)" 342 +Merged main,attention-128,paged_bf16_shared_prefix_4seq_8q2kv_10pre,4096,OK,0,0.`00212011`,True,105505,320595,1,0,311296,802816,19,49,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4093)" 343 +Merged main,attention-128,paged_bf16_shared_prefix_4seq_32q8kv_10pre,16384,OK,0,0.`00198582`,True,210178,495413,2,0,`1900544`,`3211264`,29,49,2,2,"KV_HEAD:CAUGHT(rc=OK,bad=16379) SLOT:CAUGHT(rc=OK,bad=16365)" evidence/q38-stress-gb10-20261120T143359Z/build.log new file mode 100644 @@ -0,0 +1,100 @@ 1 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_om_units.c -o build/omega_om_units.o 2 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_canonical.c -o build/omega_canonical.o 3 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_validate.c -o build/omega_validate.o 4 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_core.c -o build/omega_core.o 5 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_codec.c -o build/omega_codec.o 6 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/aarch64_encoder.c -o build/aarch64_encoder.o 7 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/aarch64_decoder.c -o build/aarch64_decoder.o 8 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_realize.c -o build/omega_realize.o 9 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_exec.c -o build/omega_exec.o 10 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_self_host.c -o build/omega_self_host.o 11 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_verify.c -o build/omega_verify.o 12 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_program.c -o build/omega_program.o 13 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_synthesis.c -o build/omega_synthesis.o 14 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_library.c -o build/omega_library.o 15 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_discovery.c -o build/omega_discovery.o 16 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_machine.c -o build/omega_machine.o 17 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_realize_synth.c -o build/omega_realize_synth.o 18 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_matvec.c -o build/omega_matvec.o 19 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_accelerator.c -o build/omega_accelerator.o 20 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_vector.c -o build/omega_vector.o 21 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_encoder.c -o build/omega_blackwell_encoder.o 22 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_qmd.c -o build/omega_blackwell_qmd.o 23 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_realize.c -o build/omega_blackwell_realize.o 24 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_engine.c -o build/omega_gpu_engine.o 25 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_matmul.c -o build/omega_blackwell_matmul.o 26 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen.c -o build/omega_blackwell_codegen.o 27 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_session.c -o build/omega_gpu_session.o 28 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_platform.c -o build/omega_gpu_platform.o 29 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_fmt.c -o build/omega_gpu_fmt.o 30 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_matmul_api.c -o build/omega_gpu_matmul_api.o 31 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_elementwise_api.c -o build/omega_gpu_elementwise_api.o 32 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_attention_api.c -o build/omega_gpu_attention_api.o 33 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_serving.c -o build/omega_gpu_serving.o 34 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_wait.c -o build/omega_gpu_wait.o 35 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_moe_api.c -o build/omega_gpu_moe_api.o 36 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_moe.c -o build/omega_blackwell_codegen_moe.o 37 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_fp8_pack.c -o build/omega_gpu_fp8_pack.o 38 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_fp8_api.c -o build/omega_gpu_fp8_api.o 39 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_moe2.c -o build/omega_blackwell_codegen_moe2.o 40 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_fp8_slot_table.c -o build/omega_fp8_slot_table.o 41 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_fp8_slots.c -o build/omega_gpu_fp8_slots.o 42 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_attn.c -o build/omega_blackwell_codegen_attn.o 43 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_decode_attn_api.c -o build/omega_gpu_decode_attn_api.o 44 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_attn256.c -o build/omega_blackwell_codegen_attn256.o 45 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_decode_attn256_api.c -o build/omega_gpu_decode_attn256_api.o 46 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_pattn256.c -o build/omega_blackwell_codegen_pattn256.o 47 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_prefill_attn256_api.c -o build/omega_gpu_prefill_attn256_api.o 48 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_hostmath.c -o build/omega_gpu_hostmath.o 49 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_router.c -o build/omega_blackwell_codegen_router.o 50 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_router_api.c -o build/omega_gpu_router_api.o 51 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_gdn.c -o build/omega_blackwell_codegen_gdn.o 52 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_gdn_api.c -o build/omega_gpu_gdn_api.o 53 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_cmdlist.c -o build/omega_gpu_cmdlist.o 54 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_dec.c -o build/omega_blackwell_codegen_dec.o 55 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_scan.c -o build/omega_gpu_scan.o 56 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_scan_ref.c -o build/omega_gpu_scan_ref.o 57 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_gemm.c -o build/omega_gpu_gemm.o 58 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_mem_cached.c -o build/omega_gpu_mem_cached.o 59 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_decode_graph.c -o build/omega_gpu_decode_graph.o 60 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_q38_graph.c -o build/omega_gpu_q38_graph.o 61 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_q36_graph.c -o build/omega_gpu_q36_graph.o 62 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_sm121_disasm.c -o build/omega_sm121_disasm.o 63 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_bf16.c -o build/omega_blackwell_codegen_bf16.o 64 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_bf16_gemv_api.c -o build/omega_gpu_bf16_gemv_api.o 65 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_gemm.c -o build/omega_blackwell_codegen_gemm.o 66 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_fp8gemm_api.c -o build/omega_gpu_fp8gemm_api.o 67 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_tc.c -o build/omega_blackwell_codegen_tc.o 68 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_tcgemm_api.c -o build/omega_gpu_tcgemm_api.o 69 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_pattn.c -o build/omega_blackwell_codegen_pattn.o 70 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_prefill_attn_api.c -o build/omega_gpu_prefill_attn_api.o 71 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_pf.c -o build/omega_blackwell_codegen_pf.o 72 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_prefill.c -o build/omega_gpu_prefill.o 73 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_tc2.c -o build/omega_blackwell_codegen_tc2.o 74 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_pfgemm.c -o build/omega_gpu_pfgemm.o 75 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_tgemm.c -o build/omega_blackwell_codegen_tgemm.o 76 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_tgemm_api.c -o build/omega_gpu_tgemm_api.o 77 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_qmma.c -o build/omega_blackwell_codegen_qmma.o 78 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_qg.c -o build/omega_blackwell_codegen_qg.o 79 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_pfhost.c -o build/omega_blackwell_codegen_pfhost.o 80 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_pfhost.c -o build/omega_gpu_pfhost.o 81 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_moe_plan.c -o build/omega_gpu_moe_plan.o 82 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_codegen_tern.c -o build/omega_blackwell_codegen_tern.o 83 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_tern_api.c -o build/omega_gpu_tern_api.o 84 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_program_ir.c -o build/omega_program_ir.o 85 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_vc_bridge.c -o build/omega_vc_bridge.o 86 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_resolve.c -o build/omega_resolve.o 87 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_receipt.c -o build/omega_receipt.o 88 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blake3.c -o build/omega_blake3.o 89 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_vcstore.c -o build/omega_vcstore.o 90 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_accelerator_world.c -o build/omega_accelerator_world.o 91 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_submit.c -o build/omega_blackwell_submit.o 92 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_blackwell_engine.c -o build/omega_blackwell_engine.o 93 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_gpu_platform_linux.c -o build/omega_gpu_platform_linux.o 94 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c src/omega_evidence.c -o build/omega_evidence.o 95 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c /tmp/physics-pin/m16/m16_native.c -o build/m16_native.o 96 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -c /tmp/physics-pin/nvrm/nvrm.c -o build/nvrm.o 97 +ar rcs build/libomega_gpu.a build/omega_om_units.o build/omega_canonical.o build/omega_validate.o build/omega_core.o build/omega_codec.o build/aarch64_encoder.o build/aarch64_decoder.o build/omega_realize.o build/omega_exec.o build/omega_self_host.o build/omega_verify.o build/omega_program.o build/omega_synthesis.o build/omega_library.o build/omega_discovery.o build/omega_machine.o build/omega_realize_synth.o build/omega_matvec.o build/omega_accelerator.o build/omega_accelerator_world.o build/omega_vector.o build/omega_blackwell_encoder.o build/omega_blackwell_qmd.o build/omega_blackwell_realize.o build/omega_blackwell_submit.o build/omega_blackwell_engine.o build/omega_gpu_engine.o build/omega_blackwell_matmul.o build/omega_blackwell_codegen.o build/omega_gpu_session.o build/omega_gpu_platform.o build/omega_gpu_platform_linux.o build/omega_gpu_fmt.o build/omega_gpu_matmul_api.o build/omega_gpu_elementwise_api.o build/omega_gpu_attention_api.o build/omega_gpu_serving.o build/omega_gpu_wait.o build/omega_evidence.o build/m16_native.o build/nvrm.o build/omega_gpu_moe_api.o build/omega_blackwell_codegen_moe.o build/omega_gpu_fp8_pack.o build/omega_gpu_fp8_api.o build/omega_blackwell_codegen_moe2.o build/omega_fp8_slot_table.o build/omega_gpu_fp8_slots.o build/omega_blackwell_codegen_attn.o build/omega_gpu_decode_attn_api.o build/omega_blackwell_codegen_attn256.o build/omega_gpu_decode_attn256_api.o build/omega_blackwell_codegen_pattn256.o build/omega_gpu_prefill_attn256_api.o build/omega_gpu_hostmath.o build/omega_blackwell_codegen_router.o build/omega_gpu_router_api.o build/omega_blackwell_codegen_gdn.o build/omega_gpu_gdn_api.o build/omega_gpu_cmdlist.o build/omega_blackwell_codegen_dec.o build/omega_gpu_scan.o build/omega_gpu_scan_ref.o build/omega_gpu_gemm.o build/omega_gpu_mem_cached.o build/omega_gpu_decode_graph.o build/omega_gpu_q38_graph.o build/omega_gpu_q36_graph.o build/omega_sm121_disasm.o build/omega_blackwell_codegen_bf16.o build/omega_gpu_bf16_gemv_api.o build/omega_blackwell_codegen_gemm.o build/omega_gpu_fp8gemm_api.o build/omega_blackwell_codegen_tc.o build/omega_gpu_tcgemm_api.o build/omega_blackwell_codegen_pattn.o build/omega_gpu_prefill_attn_api.o build/omega_blackwell_codegen_pf.o build/omega_gpu_prefill.o build/omega_blackwell_codegen_tc2.o build/omega_gpu_pfgemm.o build/omega_blackwell_codegen_tgemm.o build/omega_gpu_tgemm_api.o build/omega_blackwell_codegen_qmma.o build/omega_blackwell_codegen_qg.o build/omega_blackwell_codegen_pfhost.o build/omega_gpu_pfhost.o build/omega_gpu_moe_plan.o build/omega_blackwell_codegen_tern.o build/omega_gpu_tern_api.o build/omega_program_ir.o build/omega_vc_bridge.o build/omega_resolve.o build/omega_receipt.o build/omega_blake3.o build/omega_vcstore.o 98 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -ffp-contract=off -o build/gpu_q38_graph_test tests/gpu_q38_graph_test.c build/libomega_gpu.a -lpthread -lm 99 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -ffp-contract=off -o build/gpu_q38_stroke_exact_test tests/gpu_q38_stroke_exact_test.c build/libomega_gpu.a -lpthread -lm 100 +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I/tmp/physics-pin/m16 -I/tmp/physics-pin/nvrm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/common/inc -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I/tmp/physics-pin/third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -ffp-contract=off -Itests -o build/gpu_attention_test tests/gpu_attention_test.c build/libomega_gpu.a -lpthread -lm evidence/q38-stress-gb10-20261120T143359Z/build.sha256 new file mode 100644 @@ -0,0 +1,7 @@ 1 +`34cb5b086f6c8a9a8c7945f52fb1fedff8ddebcbd5747bec738c8146a7dbcaa5` build/gpu_attention_test 2 +`5bf404f659653d41d5c39ebb4ff5976e8d2c1de057f18306f77932262a3655f2` build/gpu_q38_graph_test 3 +`05b6586809d192752c0b08e78545193a02a1dc90f5479755de052ddc30632eda` build/gpu_q38_stroke_exact_test 4 +`be6449d62a34dfc81970b0f38463c1620e099d205e5e5722b52a09bc52a55bf1` build/libomega_gpu.a 5 +`210c52566e782cf15ece6e478d45bfb67f1ad338f29e41546dad9b6c4f85b54c` seed/out/omc 6 +`9297e62005455f8c9be89190a5fd7df13f2bced8f79ad8f257fd47891dda00f8` q38_stress_bench 7 +`913c4d72b7cc72428b4b36c2c7d685d1db6038cb96be66cbb7820277bac8aa3d` q38_stress_bench.c evidence/q38-stress-gb10-20261120T143359Z/checks.csv new file mode 100644 @@ -0,0 +1,19 @@ 1 +run,test,checks,failed,verdict 2 +Last night,attention-64,219,0,OMEGA_GPU_ATTENTION_PASS 3 +Last night,attention-128,221,0,OMEGA_GPU_ATTENTION_PASS 4 +Last night,paged/timing,2,0,OMEGA_GPU_ATTENTION_TIMING_PASS 5 +Last night,paged/split-64,12,0,OMEGA_GPU_ATTENTION_SPLIT_TIMING_PASS 6 +Last night,paged/split-128,12,0,OMEGA_GPU_ATTENTION_SPLIT_TIMING_PASS 7 +Last night,paged/sweep,73,0,OMEGA_GPU_ATTENTION_SWEEP_PASS 8 +This morning,attention-64,219,0,OMEGA_GPU_ATTENTION_PASS 9 +This morning,attention-128,221,0,OMEGA_GPU_ATTENTION_PASS 10 +This morning,paged/timing,2,0,OMEGA_GPU_ATTENTION_TIMING_PASS 11 +This morning,paged/split-64,12,0,OMEGA_GPU_ATTENTION_SPLIT_TIMING_PASS 12 +This morning,paged/split-128,12,0,OMEGA_GPU_ATTENTION_SPLIT_TIMING_PASS 13 +This morning,paged/sweep,73,0,OMEGA_GPU_ATTENTION_SWEEP_PASS 14 +Merged main,attention-64,219,0,OMEGA_GPU_ATTENTION_PASS 15 +Merged main,attention-128,221,0,OMEGA_GPU_ATTENTION_PASS 16 +Merged main,paged/timing,2,0,OMEGA_GPU_ATTENTION_TIMING_PASS 17 +Merged main,paged/split-64,12,0,OMEGA_GPU_ATTENTION_SPLIT_TIMING_PASS 18 +Merged main,paged/split-128,12,0,OMEGA_GPU_ATTENTION_SPLIT_TIMING_PASS 19 +Merged main,paged/sweep,73,0,OMEGA_GPU_ATTENTION_SWEEP_PASS evidence/q38-stress-gb10-20261120T143359Z/close.json new file mode 100644 @@ -0,0 +1,7 @@ 1 +{"window_id": "20261120T143359Z-be6ef1", "closed_by": "spark-window close", "reason": "closed", "verdict": "quiet machine", "held_s": 467, "state": {"utc": "2026-11-20T14:41:46Z", "loadavg": "3.84 4.72 6.45 4/1936 `2268169`", "mem_avail_kB": `112890140`, "gpu_util_pct": "0", "gpu_W": "6.04", 2 + "gb10_lock_holders": "", 3 + "quiet_lock_holders": "", 4 + "quiet_waiters": "", 5 + "gpu_apps": "", 6 + "sensors_row": "`1795185705`,2026-11-20T08:41:45-06:00,220,6.77,0,3.84,`112824988`,1,2942", "sensors_row_age_s": 1} 7 +} evidence/q38-stress-gb10-20261120T143359Z/decode.csv new file mode 100644 @@ -0,0 +1,46 @@ 1 +run,N,mode,median_gpu_ms,aggregate_tok_s,per_stream_tok_s,speedup_over_unbatched 2 +Last night,1,Unbatched BF16,18.205,54.93,54.93,1.0 3 +Last night,1,Batched BF16,20.629,48.48,48.48,0.882 4 +Last night,1,Batched exact head,17.323,57.73,57.73,1.051 5 +Last night,2,Unbatched BF16,36.438,54.89,27.44,1.0 6 +Last night,2,Batched BF16,20.988,95.29,47.65,1.736 7 +Last night,2,Batched exact head,22.245,89.91,44.95,1.638 8 +Last night,4,Unbatched BF16,71.898,55.63,13.91,1.0 9 +Last night,4,Batched BF16,21.234,188.38,47.09,3.386 10 +Last night,4,Batched exact head,29.526,135.47,33.87,2.435 11 +Last night,6,Unbatched BF16,107.183,55.98,9.33,1.0 12 +Last night,6,Batched BF16,33.536,178.91,29.82,3.196 13 +Last night,6,Batched exact head,35.579,168.64,28.11,3.013 14 +Last night,8,Unbatched BF16,143.463,55.76,6.97,1.0 15 +Last night,8,Batched BF16,32.942,242.85,30.36,4.355 16 +Last night,8,Batched exact head,42.441,188.5,23.56,3.38 17 +This morning,1,Unbatched BF16,18.204,54.93,54.93,1.0 18 +This morning,1,Batched BF16,20.698,48.31,48.31,0.88 19 +This morning,1,Batched exact head,17.169,58.24,58.24,1.06 20 +This morning,2,Unbatched BF16,37.322,53.59,26.79,1.0 21 +This morning,2,Batched BF16,21.156,94.54,47.27,1.764 22 +This morning,2,Batched exact head,21.671,92.29,46.14,1.722 23 +This morning,4,Unbatched BF16,74.045,54.02,13.51,1.0 24 +This morning,4,Batched BF16,21.788,183.59,45.9,3.398 25 +This morning,4,Batched exact head,29.731,134.54,33.63,2.49 26 +This morning,6,Unbatched BF16,110.168,54.46,9.08,1.0 27 +This morning,6,Batched BF16,33.921,176.88,29.48,3.248 28 +This morning,6,Batched exact head,36.322,165.19,27.53,3.033 29 +This morning,8,Unbatched BF16,146.877,54.47,6.81,1.0 30 +This morning,8,Batched BF16,34.46,232.15,29.02,4.262 31 +This morning,8,Batched exact head,42.633,187.65,23.46,3.445 32 +Merged main,1,Unbatched BF16,17.791,56.21,56.21,1.0 33 +Merged main,1,Batched BF16,20.766,48.16,48.16,0.857 34 +Merged main,1,Batched exact head,17.647,56.67,56.67,1.008 35 +Merged main,2,Unbatched BF16,36.014,55.53,27.77,1.0 36 +Merged main,2,Batched BF16,20.962,95.41,47.71,1.718 37 +Merged main,2,Batched exact head,22.198,90.1,45.05,1.622 38 +Merged main,4,Unbatched BF16,71.738,55.76,13.94,1.0 39 +Merged main,4,Batched BF16,21.161,189.03,47.26,3.39 40 +Merged main,4,Batched exact head,29.37,136.19,34.05,2.443 41 +Merged main,6,Unbatched BF16,108.267,55.42,9.24,1.0 42 +Merged main,6,Batched BF16,33.67,178.2,29.7,3.216 43 +Merged main,6,Batched exact head,35.926,167.01,27.83,3.014 44 +Merged main,8,Unbatched BF16,144.245,55.46,6.93,1.0 45 +Merged main,8,Batched BF16,33.412,239.43,29.93,4.317 46 +Merged main,8,Batched exact head,42.922,186.38,23.3,3.361 evidence/q38-stress-gb10-20261120T143359Z/graph.log new file mode 100644 @@ -0,0 +1,40 @@ 1 +model: 2 layers (1 GDN, 1 attention, mask 0x2), vocab 248320 2 +ok: token 0: graph 119117 == baseline 119117 3 +ok: token 0: logits max diff 0.000327 <= 1e-04 * 9.13 4 +ok: token 0: x max diff 0.000126 <= 1e-04 * 2.44 5 +ok: token 0: 23 launches in 1 submit 6 +ok: token 1: graph 147744 == baseline 147744 7 +ok: token 1: logits max diff 6.68e-06 <= 1e-04 * 9.65 8 +ok: token 1: x max diff 2.03e-06 <= 1e-04 * 2.05 9 +ok: token 1: 23 launches in 1 submit 10 +ok: token 2: graph 60455 == baseline 60455 11 +ok: token 2: logits max diff 7.99e-06 <= 1e-04 * 9.83 12 +ok: token 2: x max diff 3.16e-06 <= 1e-04 * 2.55 13 +ok: token 2: 23 launches in 1 submit 14 +ok: flush_each == one list, bit for bit, all 3 tokens 15 +ok: read_buf x, gu, act, gu[0..100): rc 0 0 0 0 16 +ok: read_buf x == read x, bit for bit 17 +ok: read_buf of 100 values == the first 100 of the whole row 18 +ok: read_buf act == silu(gu) * up * 2^64 from read_buf gu: worst 7.18e+12 of 6.88e+19 19 +ok: mutant 1 (swiglu up half -1) caught 20 +ok: mutant 2 (gather index +1) caught 21 +ok: mutant 3 (gate dropped) caught 22 +ok: mutant 4 (post-norm weight dropped) caught 23 +timing: 10 reps, median chip 14528.1 us, median total 14546.8 us per token (2 layers) 24 +ok: timeline 0: 23 stamped launches 25 +timeline norm 1 launches 10.5 us (min 10.5 max 10.5) 26 +timeline mix 2 launches 676.4 us (min 676.4 max 676.4) `157286400` weight B 232.5 GB/s 27 +timeline ab 1 launches 0.4 us (min 0.4 max 0.4) 983040 weight B 2560.0 GB/s 28 +timeline gdn 1 launches 24.2 us (min 24.2 max 24.2) 29 +timeline gather 1 launches 3.2 us (min 3.2 max 3.2) 30 +timeline attn 1 launches 29.7 us (min 29.7 max 29.7) 31 +timeline gate 1 launches 2.6 us (min 2.6 max 2.6) 32 +timeline o_proj 2 launches 302.3 us (min 302.3 max 302.3) `62914560` weight B 208.1 GB/s 33 +timeline res 4 launches 52.0 us (min 52.0 max 52.0) 34 +timeline gate_up 2 launches 1444.2 us (min 1444.2 max 1444.2) `356515840` weight B 246.9 GB/s 35 +timeline swiglu 2 launches 5.8 us (min 5.8 max 5.8) 36 +timeline down 2 launches 784.4 us (min 784.4 max 784.4) `178257920` weight B 227.3 GB/s 37 +timeline lm_head 1 launches 11063.5 us (min 11063.5 max 11063.5) `2542796800` weight B 229.8 GB/s 38 +timeline argmax 2 launches 17.7 us (min 17.7 max 17.7) 39 +timeline span 14416.8 us (median of 1, min 14416.8 max 14416.8) 40 +gpu_q38_graph_test: 22 checks, 0 failed: PASS evidence/q38-stress-gb10-20261120T143359Z/graph.time new file mode 100644 @@ -0,0 +1,23 @@ 1 + Command being timed: "./build/gpu_q38_graph_test" 2 + User time (seconds): 2.26 3 + System time (seconds): 1.48 4 + Percent of CPU this job got: 86% 5 + Elapsed (wall clock) time (h:mm:ss or m:ss): 0:04.31 6 + Average shared text size (kbytes): 0 7 + Average unshared data size (kbytes): 0 8 + Average stack size (kbytes): 0 9 + Average total size (kbytes): 0 10 + Maximum resident set size (kbytes): `5739124` 11 + Average resident set size (kbytes): 0 12 + Major (requiring I/O) page faults: 0 13 + Minor (reclaiming a frame) page faults: 807633 14 + Voluntary context switches: 4826 15 + Involuntary context switches: 30 16 + Swaps: 0 17 + File system inputs: 0 18 + File system outputs: 8 19 + Socket messages sent: 0 20 + Socket messages received: 0 21 + Signals delivered: 0 22 + Page size (bytes): 4096 23 + Exit status: 0 evidence/q38-stress-gb10-20261120T143359Z/kernels.csv new file mode 100644 @@ -0,0 +1,199 @@ 1 +run,block,kernel,launches,us 2 +Last night,N=1 unb plain_bf16,Total,41,18118.5 3 +Last night,N=1 unb plain_bf16,Trunk,,7145.7 4 +Last night,N=1 unb plain_bf16,norm,1,10.9 5 +Last night,N=1 unb plain_bf16,mix,4,1464.0 6 +Last night,N=1 unb plain_bf16,ab,3,1.7 7 +Last night,N=1 unb plain_bf16,gdn,3,124.2 8 +Last night,N=1 unb plain_bf16,gather,1,4.2 9 +Last night,N=1 unb plain_bf16,attn,1,32.0 10 +Last night,N=1 unb plain_bf16,gate,1,2.9 11 +Last night,N=1 unb plain_bf16,o_proj,4,670.1 12 +Last night,N=1 unb plain_bf16,res,8,131.4 13 +Last night,N=1 unb plain_bf16,gate_up,4,2961.2 14 +Last night,N=1 unb plain_bf16,swiglu,4,12.4 15 +Last night,N=1 unb plain_bf16,down,4,1730.7 16 +Last night,N=1 unb plain_bf16,lm_head,1,10954.6 17 +Last night,N=1 unb plain_bf16,argmax,2,18.3 18 +Last night,N=1 unb exact_head,Total,46,15654.9 19 +Last night,N=1 unb exact_head,Trunk,,7124.3 20 +Last night,N=1 unb exact_head,norm,1,9.8 21 +Last night,N=1 unb exact_head,mix,4,1446.9 22 +Last night,N=1 unb exact_head,ab,3,1.2 23 +Last night,N=1 unb exact_head,gdn,3,150.1 24 +Last night,N=1 unb exact_head,gather,1,4.2 25 +Last night,N=1 unb exact_head,attn,1,30.6 26 +Last night,N=1 unb exact_head,gate,1,8.0 27 +Last night,N=1 unb exact_head,o_proj,4,713.7 28 +Last night,N=1 unb exact_head,res,8,110.6 29 +Last night,N=1 unb exact_head,gate_up,4,3033.9 30 +Last night,N=1 unb exact_head,swiglu,4,13.6 31 +Last night,N=1 unb exact_head,down,4,1601.9 32 +Last night,N=1 unb exact_head,lm_head,4,8461.9 33 +Last night,N=1 unb exact_head,argmax,4,68.7 34 +Last night,N=8 bat plain_bf16,Total,128,34360.8 35 +Last night,N=8 bat plain_bf16,Trunk,,12198.4 36 +Last night,N=8 bat plain_bf16,norm,1,16.6 37 +Last night,N=8 bat plain_bf16,mix,4,2592.3 38 +Last night,N=8 bat plain_bf16,ab,3,3.3 39 +Last night,N=8 bat plain_bf16,gdn,24,877.6 40 +Last night,N=8 bat plain_bf16,gather,1,7.3 41 +Last night,N=8 bat plain_bf16,attn,8,36.2 42 +Last night,N=8 bat plain_bf16,gate,8,7.4 43 +Last night,N=8 bat plain_bf16,o_proj,4,896.2 44 +Last night,N=8 bat plain_bf16,res,8,243.6 45 +Last night,N=8 bat plain_bf16,gate_up,4,4747.7 46 +Last night,N=8 bat plain_bf16,swiglu,4,25.9 47 +Last night,N=8 bat plain_bf16,down,4,2611.1 48 +Last night,N=8 bat plain_bf16,lm_head,2,22094.2 49 +Last night,N=8 bat plain_bf16,argmax,16,68.2 50 +Last night,N=8 bat plain_bf16,perm,37,133.3 51 +Last night,N=8 bat exact_head,Total,161,43335.0 52 +Last night,N=8 bat exact_head,Trunk,,10863.2 53 +Last night,N=8 bat exact_head,norm,1,14.8 54 +Last night,N=8 bat exact_head,mix,4,2180.2 55 +Last night,N=8 bat exact_head,ab,3,1.2 56 +Last night,N=8 bat exact_head,gdn,24,859.7 57 +Last night,N=8 bat exact_head,gather,1,7.3 58 +Last night,N=8 bat exact_head,attn,8,36.0 59 +Last night,N=8 bat exact_head,gate,8,6.2 60 +Last night,N=8 bat exact_head,o_proj,4,770.5 61 +Last night,N=8 bat exact_head,res,8,218.2 62 +Last night,N=8 bat exact_head,gate_up,4,4539.9 63 +Last night,N=8 bat exact_head,swiglu,4,18.5 64 +Last night,N=8 bat exact_head,down,4,2116.7 65 +Last night,N=8 bat exact_head,lm_head,18,32272.6 66 +Last night,N=8 bat exact_head,argmax,32,199.2 67 +Last night,N=8 bat exact_head,perm,38,93.8 68 +This morning,N=1 unb plain_bf16,Total,41,18629.6 69 +This morning,N=1 unb plain_bf16,Trunk,,7102.5 70 +This morning,N=1 unb plain_bf16,norm,1,11.8 71 +This morning,N=1 unb plain_bf16,mix,4,1480.2 72 +This morning,N=1 unb plain_bf16,ab,3,1.2 73 +This morning,N=1 unb plain_bf16,gdn,3,105.5 74 +This morning,N=1 unb plain_bf16,gather,1,4.3 75 +This morning,N=1 unb plain_bf16,attn,1,32.8 76 +This morning,N=1 unb plain_bf16,gate,1,3.2 77 +This morning,N=1 unb plain_bf16,o_proj,4,637.0 78 +This morning,N=1 unb plain_bf16,res,8,151.1 79 +This morning,N=1 unb plain_bf16,gate_up,4,2960.6 80 +This morning,N=1 unb plain_bf16,swiglu,4,12.5 81 +This morning,N=1 unb plain_bf16,down,4,1702.2 82 +This morning,N=1 unb plain_bf16,lm_head,1,11508.6 83 +This morning,N=1 unb plain_bf16,argmax,2,18.5 84 +This morning,N=1 unb exact_head,Total,46,16249.3 85 +This morning,N=1 unb exact_head,Trunk,,7328.6 86 +This morning,N=1 unb exact_head,norm,1,9.9 87 +This morning,N=1 unb exact_head,mix,4,1488.0 88 +This morning,N=1 unb exact_head,ab,3,1.2 89 +This morning,N=1 unb exact_head,gdn,3,82.5 90 +This morning,N=1 unb exact_head,gather,1,3.9 91 +This morning,N=1 unb exact_head,attn,1,32.5 92 +This morning,N=1 unb exact_head,gate,1,3.0 93 +This morning,N=1 unb exact_head,o_proj,4,706.6 94 +This morning,N=1 unb exact_head,res,8,149.9 95 +This morning,N=1 unb exact_head,gate_up,4,3170.9 96 +This morning,N=1 unb exact_head,swiglu,4,12.9 97 +This morning,N=1 unb exact_head,down,4,1667.2 98 +This morning,N=1 unb exact_head,lm_head,4,8886.3 99 +This morning,N=1 unb exact_head,argmax,4,34.4 100 +This morning,N=8 bat plain_bf16,Total,128,33733.7 101 +This morning,N=8 bat plain_bf16,Trunk,,10167.6 102 +This morning,N=8 bat plain_bf16,norm,1,16.9 103 +This morning,N=8 bat plain_bf16,mix,4,2009.2 104 +This morning,N=8 bat plain_bf16,ab,3,1.2 105 +This morning,N=8 bat plain_bf16,gdn,24,789.4 106 +This morning,N=8 bat plain_bf16,gather,1,8.1 107 +This morning,N=8 bat plain_bf16,attn,8,37.3 108 +This morning,N=8 bat plain_bf16,gate,8,7.0 109 +This morning,N=8 bat plain_bf16,o_proj,4,759.2 110 +This morning,N=8 bat plain_bf16,res,8,235.7 111 +This morning,N=8 bat plain_bf16,gate_up,4,4003.0 112 +This morning,N=8 bat plain_bf16,swiglu,4,18.0 113 +This morning,N=8 bat plain_bf16,down,4,2191.9 114 +This morning,N=8 bat plain_bf16,lm_head,2,23508.4 115 +This morning,N=8 bat plain_bf16,argmax,16,57.6 116 +This morning,N=8 bat plain_bf16,perm,37,90.7 117 +This morning,N=8 bat exact_head,Total,161,43378.8 118 +This morning,N=8 bat exact_head,Trunk,,10700.2 119 +This morning,N=8 bat exact_head,norm,1,21.3 120 +This morning,N=8 bat exact_head,mix,4,2473.8 121 +This morning,N=8 bat exact_head,ab,3,2.9 122 +This morning,N=8 bat exact_head,gdn,24,783.7 123 +This morning,N=8 bat exact_head,gather,1,8.0 124 +This morning,N=8 bat exact_head,attn,8,36.6 125 +This morning,N=8 bat exact_head,gate,8,7.4 126 +This morning,N=8 bat exact_head,o_proj,4,754.2 127 +This morning,N=8 bat exact_head,res,8,227.7 128 +This morning,N=8 bat exact_head,gate_up,4,4156.6 129 +This morning,N=8 bat exact_head,swiglu,4,18.6 130 +This morning,N=8 bat exact_head,down,4,2111.1 131 +This morning,N=8 bat exact_head,lm_head,18,32552.6 132 +This morning,N=8 bat exact_head,argmax,32,126.0 133 +This morning,N=8 bat exact_head,perm,38,98.3 134 +Merged main,N=1 unb plain_bf16,Total,41,18158.2 135 +Merged main,N=1 unb plain_bf16,Trunk,,7180.9 136 +Merged main,N=1 unb plain_bf16,norm,1,11.9 137 +Merged main,N=1 unb plain_bf16,mix,4,1482.3 138 +Merged main,N=1 unb plain_bf16,ab,3,1.4 139 +Merged main,N=1 unb plain_bf16,gdn,3,156.7 140 +Merged main,N=1 unb plain_bf16,gather,1,4.5 141 +Merged main,N=1 unb plain_bf16,attn,1,31.0 142 +Merged main,N=1 unb plain_bf16,gate,1,2.7 143 +Merged main,N=1 unb plain_bf16,o_proj,4,704.9 144 +Merged main,N=1 unb plain_bf16,res,8,105.7 145 +Merged main,N=1 unb plain_bf16,gate_up,4,2927.9 146 +Merged main,N=1 unb plain_bf16,swiglu,4,14.2 147 +Merged main,N=1 unb plain_bf16,down,4,1737.7 148 +Merged main,N=1 unb plain_bf16,lm_head,1,10956.5 149 +Merged main,N=1 unb plain_bf16,argmax,2,20.8 150 +Merged main,N=1 unb exact_head,Total,46,14752.4 151 +Merged main,N=1 unb exact_head,Trunk,,6677.2 152 +Merged main,N=1 unb exact_head,norm,1,9.8 153 +Merged main,N=1 unb exact_head,mix,4,1392.0 154 +Merged main,N=1 unb exact_head,ab,3,1.2 155 +Merged main,N=1 unb exact_head,gdn,3,80.8 156 +Merged main,N=1 unb exact_head,gather,1,4.2 157 +Merged main,N=1 unb exact_head,attn,1,31.0 158 +Merged main,N=1 unb exact_head,gate,1,2.7 159 +Merged main,N=1 unb exact_head,o_proj,4,617.8 160 +Merged main,N=1 unb exact_head,res,8,102.4 161 +Merged main,N=1 unb exact_head,gate_up,4,2883.9 162 +Merged main,N=1 unb exact_head,swiglu,4,11.5 163 +Merged main,N=1 unb exact_head,down,4,1540.2 164 +Merged main,N=1 unb exact_head,lm_head,4,8040.6 165 +Merged main,N=1 unb exact_head,argmax,4,34.6 166 +Merged main,N=8 bat plain_bf16,Total,128,32696.8 167 +Merged main,N=8 bat plain_bf16,Trunk,,10398.3 168 +Merged main,N=8 bat plain_bf16,norm,1,16.0 169 +Merged main,N=8 bat plain_bf16,mix,4,2018.6 170 +Merged main,N=8 bat plain_bf16,ab,3,1.2 171 +Merged main,N=8 bat plain_bf16,gdn,24,771.9 172 +Merged main,N=8 bat plain_bf16,gather,1,7.5 173 +Merged main,N=8 bat plain_bf16,attn,8,36.6 174 +Merged main,N=8 bat plain_bf16,gate,8,7.5 175 +Merged main,N=8 bat plain_bf16,o_proj,4,787.3 176 +Merged main,N=8 bat plain_bf16,res,8,243.3 177 +Merged main,N=8 bat plain_bf16,gate_up,4,4278.6 178 +Merged main,N=8 bat plain_bf16,swiglu,4,17.2 179 +Merged main,N=8 bat plain_bf16,down,4,2122.3 180 +Merged main,N=8 bat plain_bf16,lm_head,2,22239.7 181 +Merged main,N=8 bat plain_bf16,argmax,16,58.8 182 +Merged main,N=8 bat plain_bf16,perm,37,90.3 183 +Merged main,N=8 bat exact_head,Total,161,42219.2 184 +Merged main,N=8 bat exact_head,Trunk,,10651.2 185 +Merged main,N=8 bat exact_head,norm,1,15.2 186 +Merged main,N=8 bat exact_head,mix,4,2019.2 187 +Merged main,N=8 bat exact_head,ab,3,1.2 188 +Merged main,N=8 bat exact_head,gdn,24,779.4 189 +Merged main,N=8 bat exact_head,gather,1,7.3 190 +Merged main,N=8 bat exact_head,attn,8,37.8 191 +Merged main,N=8 bat exact_head,gate,8,7.5 192 +Merged main,N=8 bat exact_head,o_proj,4,749.1 193 +Merged main,N=8 bat exact_head,res,8,215.8 194 +Merged main,N=8 bat exact_head,gate_up,4,4543.7 195 +Merged main,N=8 bat exact_head,swiglu,4,36.5 196 +Merged main,N=8 bat exact_head,down,4,2145.9 197 +Merged main,N=8 bat exact_head,lm_head,18,31451.2 198 +Merged main,N=8 bat exact_head,argmax,32,116.8 199 +Merged main,N=8 bat exact_head,perm,38,92.8 evidence/q38-stress-gb10-20261120T143359Z/open.json new file mode 100644 @@ -0,0 +1,7 @@ 1 +{"window_id": "20261120T143359Z-be6ef1", "name": "codex-q38-stress-`371a882a5`", "owner": "drakestapleton@pid1527745", "lease_min": 15, "gb10": "exclusive", "waited_s": 1, "state": {"utc": "2026-11-20T14:34:00Z", "loadavg": "3.67 4.35 7.45 5/1970 `1530291`", "mem_avail_kB": `112287768`, "gpu_util_pct": "0", "gpu_W": "5.80", 2 + "gb10_lock_holders": "holds exclusive pid `1527977` (s) (set by a finished flock; processes with /tmp/aien-gb10.lock open now: pid `1527899` /bin/sh /home/drakestapleton/.local/bin/spark-window _hold 20261120T14); ", 3 + "quiet_lock_holders": "holds exclusive pid `1527982` (s) (set by a finished flock; processes with /tmp/aien-quiet.lock open now: pid `1527899` /bin/sh /home/drakestapleton/.local/bin/spark-window _hold 20261120T14); ", 4 + "quiet_waiters": "", 5 + "gpu_apps": "", 6 + "sensors_row": "`1795185239`,2026-11-20T08:33:59-06:00,170,5.80,0,3.67,`112332136`,0,2942", "sensors_row_age_s": 1} 7 +} evidence/q38-stress-gb10-20261120T143359Z/paged-attention.csv new file mode 100644 @@ -0,0 +1,256 @@ 1 +run,test,case,first_call_ms,ok_calls,violations,worst_scaled_err,median_ms,p90_ms,min_ms,max_ms,chip_us_mean,device_opens,pass,split,ctas,q_heads,kv_heads,gqa_ratio,head_dim,context,q_width,out_width,class,rc,unwritten_words,launches_per_call,ctas_last_launch,threads_per_cta,call_ms_median,call_ms_p90,kernel_ms_median,kernel_ms_p90,kernel_cache_hits,first_call_cache_hit,kv_bytes_staged,kv_bytes_naive,kv_blocks_logical,kv_blocks_unique,q_bytes,tab_bytes,out_bytes,kv_source 2 +Last night,paged/timing,gqa_f32_tinyllama_32q4kv_ctx2048,140.777,100,0,0.`00323017`,0.595,0.6974,0.4148,0.9074,486.9,1,True,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 3 +Last night,paged/split-64,,,100,0,0.`000654305`,0.4006,0.415,0.2898,0.5016,294.4,,True,-1,512,,,,,,,,,,,,,,,,,,,,,,,,,,, 4 +Last night,paged/split-64,,,100,0,0.`00334406`,0.3717,0.4724,0.2476,0.4912,292.3,,True,0,32,,,,,,,,,,,,,,,,,,,,,,,,,,, 5 +Last night,paged/split-64,,,100,0,0.`00212117`,0.1883,0.2863,0.1811,0.4638,143.8,,True,1,64,,,,,,,,,,,,,,,,,,,,,,,,,,, 6 +Last night,paged/split-64,,,100,0,0.`00117787`,0.1928,0.2009,0.189,0.2242,111.3,,True,2,128,,,,,,,,,,,,,,,,,,,,,,,,,,, 7 +Last night,paged/split-64,,,100,0,0.`00103936`,0.2088,0.2732,0.2039,0.4135,120.9,,True,3,256,,,,,,,,,,,,,,,,,,,,,,,,,,, 8 +Last night,paged/split-64,,,100,0,0.`000654305`,0.2388,0.2516,0.2297,0.3084,112.3,,True,4,512,,,,,,,,,,,,,,,,,,,,,,,,,,, 9 +Last night,paged/split-128,,,100,0,0.`00102621`,0.2968,0.3921,0.2618,0.7045,140.8,,True,-1,64,,,,,,,,,,,,,,,,,,,,,,,,,,, 10 +Last night,paged/split-128,,,100,0,0.`00245374`,0.3624,0.4423,0.3399,0.5637,220.3,,True,0,8,,,,,,,,,,,,,,,,,,,,,,,,,,, 11 +Last night,paged/split-128,,,100,0,0.`00208856`,0.3523,0.3673,0.2467,0.3839,184.8,,True,1,16,,,,,,,,,,,,,,,,,,,,,,,,,,, 12 +Last night,paged/split-128,,,100,0,0.`0013752`,0.2613,0.2852,0.2507,0.4646,112.3,,True,2,32,,,,,,,,,,,,,,,,,,,,,,,,,,, 13 +Last night,paged/split-128,,,100,0,0.`00102621`,0.2783,0.2974,0.2669,0.3439,106.0,,True,3,64,,,,,,,,,,,,,,,,,,,,,,,,,,, 14 +Last night,paged/split-128,,,100,0,0.`00102621`,0.3088,0.4047,0.294,0.4669,116.3,,True,4,128,,,,,,,,,,,,,,,,,,,,,,,,,,, 15 +Last night,paged/sweep,,,,0,0.`00054275`,,,,,,,True,,,1,1,1,64,256,64,64,supported,OK,0,1,4,64,0.1043,0.1049,0.1028,0.1033,20,False,12288,65536,16,3,256,68,1056,staged 16 +Last night,paged/sweep,,,,0,0.`000613896`,,,,,,,True,,,1,1,1,64,2048,64,64,supported,OK,0,1,16,64,0.1058,0.1064,0.1026,0.1033,20,False,77824,524288,128,19,256,516,4224,staged 17 +Last night,paged/sweep,,,,0,0.`000915783`,,,,,,,True,,,2,1,2,64,256,128,128,supported,OK,0,1,8,64,0.1048,0.1133,0.103,0.1085,20,False,12288,65536,16,3,512,68,2112,staged 18 +Last night,paged/sweep,,,,0,0.`00051606`,,,,,,,True,,,2,1,2,64,2048,128,128,supported,OK,0,1,32,64,0.1072,0.1095,0.1029,0.1037,20,False,77824,524288,128,19,512,516,8448,staged 19 +Last night,paged/sweep,,,,0,0.`00103359`,,,,,,,True,,,2,2,1,64,256,128,128,supported,OK,0,1,8,64,0.1047,0.1078,0.1029,0.1035,20,True,24576,131072,16,3,512,68,2112,staged 20 +Last night,paged/sweep,,,,0,0.`000660894`,,,,,,,True,,,2,2,1,64,2048,128,128,supported,OK,0,1,32,64,0.1076,0.1083,0.1027,0.1033,20,True,155648,`1048576`,128,19,512,516,8448,staged 21 +Last night,paged/sweep,,,,0,0.`00114263`,,,,,,,True,,,4,1,4,64,256,256,256,supported,OK,0,1,16,64,0.1049,0.1053,0.1026,0.103,20,False,12288,65536,16,3,1024,68,4224,staged 22 +Last night,paged/sweep,,,,0,0.`000593025`,,,,,,,True,,,4,1,4,64,2048,256,256,supported,OK,0,1,64,64,0.109,0.1098,0.1027,0.1033,20,False,77824,524288,128,19,1024,516,16896,staged 23 +Last night,paged/sweep,,,,0,0.`000809567`,,,,,,,True,,,4,2,2,64,256,256,256,supported,OK,0,1,16,64,0.1051,0.1057,0.1027,0.1032,20,True,24576,131072,16,3,1024,68,4224,staged 24 +Last night,paged/sweep,,,,0,0.`000605015`,,,,,,,True,,,4,2,2,64,2048,256,256,supported,OK,0,1,64,64,0.1096,0.1099,0.1027,0.103,20,True,155648,`1048576`,128,19,1024,516,16896,staged 25 +Last night,paged/sweep,,,,0,0.`00100267`,,,,,,,True,,,4,4,1,64,256,256,256,supported,OK,0,1,16,64,0.1054,0.1058,0.1026,0.1031,20,True,49152,262144,16,3,1024,68,4224,staged 26 +Last night,paged/sweep,,,,0,0.`000600994`,,,,,,,True,,,4,4,1,64,2048,256,256,supported,OK,0,1,64,64,0.1114,0.1121,0.103,0.1036,20,True,311296,`2097152`,128,19,1024,516,16896,staged 27 +Last night,paged/sweep,,,,0,0.`0012878`,,,,,,,True,,,8,1,8,64,256,512,512,supported,OK,0,1,32,64,0.1059,0.1063,0.1026,0.103,20,False,12288,65536,16,3,2048,68,8448,staged 28 +Last night,paged/sweep,,,,0,0.`000633052`,,,,,,,True,,,8,1,8,64,2048,512,512,supported,OK,0,1,128,64,0.1132,0.1135,0.1027,0.1032,20,False,77824,524288,128,19,2048,516,33792,staged 29 +Last night,paged/sweep,,,,0,0.`00108287`,,,,,,,True,,,8,2,4,64,256,512,512,supported,OK,0,1,32,64,0.1067,0.1168,0.1031,0.1125,20,True,24576,131072,16,3,2048,68,8448,staged 30 +Last night,paged/sweep,,,,0,0.`000777759`,,,,,,,True,,,8,2,4,64,2048,512,512,supported,OK,0,1,128,64,0.1138,0.1143,0.1027,0.103,20,True,155648,`1048576`,128,19,2048,516,33792,staged 31 +Last night,paged/sweep,,,,0,0.`00106688`,,,,,,,True,,,8,4,2,64,256,512,512,supported,OK,0,1,32,64,0.1064,0.1068,0.1025,0.1029,20,True,49152,262144,16,3,2048,68,8448,staged 32 +Last night,paged/sweep,,,,0,0.`00075066`,,,,,,,True,,,8,4,2,64,2048,512,512,supported,OK,0,1,128,64,0.1156,0.1183,0.1029,0.1055,20,True,311296,`2097152`,128,19,2048,516,33792,staged 33 +Last night,paged/sweep,,,,0,0.`000945711`,,,,,,,True,,,8,8,1,64,256,512,512,supported,OK,0,1,32,64,0.1072,0.1075,0.1029,0.1032,20,True,98304,524288,16,3,2048,68,8448,staged 34 +Last night,paged/sweep,,,,0,0.`00074738`,,,,,,,True,,,8,8,1,64,2048,512,512,supported,OK,0,1,128,64,0.1335,0.2295,0.1119,0.2058,20,True,622592,`4194304`,128,19,2048,516,33792,staged 35 +Last night,paged/sweep,,,,0,0.`00116708`,,,,,,,True,,,16,1,16,64,256,1024,1024,supported,OK,0,1,64,64,0.1084,0.1176,0.1028,0.1121,20,False,12288,65536,16,3,4096,68,16896,staged 36 +Last night,paged/sweep,,,,0,0.`000804221`,,,,,,,True,,,16,1,16,64,2048,1024,1024,supported,OK,0,1,256,64,0.1216,0.1304,0.1029,0.1101,20,False,77824,524288,128,19,4096,516,67584,staged 37 +Last night,paged/sweep,,,,0,0.`0012559`,,,,,,,True,,,16,2,8,64,256,1024,1024,supported,OK,0,1,64,64,0.1084,0.1087,0.1028,0.103,20,True,24576,131072,16,3,4096,68,16896,staged 38 +Last night,paged/sweep,,,,0,0.`000721877`,,,,,,,True,,,16,2,8,64,2048,1024,1024,supported,OK,0,1,256,64,0.1222,0.2242,0.1031,0.2049,20,True,155648,`1048576`,128,19,4096,516,67584,staged 39 +Last night,paged/sweep,,,,0,0.`00105089`,,,,,,,True,,,16,4,4,64,256,1024,1024,supported,OK,0,1,64,64,0.1088,0.1176,0.1029,0.1112,20,True,49152,262144,16,3,4096,68,16896,staged 40 +Last night,paged/sweep,,,,0,0.`000986507`,,,,,,,True,,,16,4,4,64,2048,1024,1024,supported,OK,0,1,256,64,0.1237,0.1249,0.1028,0.1035,20,True,311296,`2097152`,128,19,4096,516,67584,staged 41 +Last night,paged/sweep,,,,0,0.`000962271`,,,,,,,True,,,16,8,2,64,256,1024,1024,supported,OK,0,1,64,64,0.109,0.1176,0.1028,0.1056,20,True,98304,524288,16,3,4096,68,16896,staged 42 +Last night,paged/sweep,,,,0,0.`000765968`,,,,,,,True,,,16,8,2,64,2048,1024,1024,supported,OK,0,1,256,64,0.1292,0.2607,0.1041,0.2129,20,True,622592,`4194304`,128,19,4096,516,67584,staged 43 +Last night,paged/sweep,,,,0,0.`00104407`,,,,,,,True,,,16,16,1,64,256,1024,1024,supported,OK,0,1,64,64,0.1101,0.1207,0.1028,0.11,20,True,196608,`1048576`,16,3,4096,68,16896,staged 44 +Last night,paged/sweep,,,,0,0.`000910028`,,,,,,,True,,,16,16,1,64,2048,1024,1024,supported,OK,0,1,256,64,0.2417,0.2523,0.2044,0.2131,20,True,`1245184`,`8388608`,128,19,4096,516,67584,staged 45 +Last night,paged/sweep,,,,,,,,,,,,True,,,24,1,24,64,256,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 46 +Last night,paged/sweep,,,,,,,,,,,,True,,,24,1,24,64,2048,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 47 +Last night,paged/sweep,,,,,,,,,,,,True,,,24,2,12,64,256,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 48 +Last night,paged/sweep,,,,,,,,,,,,True,,,24,2,12,64,2048,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 49 +Last night,paged/sweep,,,,0,0.`00116392`,,,,,,,True,,,24,3,8,64,256,1536,1536,supported,OK,0,1,96,64,0.1108,0.1174,0.1029,0.109,20,True,36864,196608,16,3,6144,68,25344,staged 50 +Last night,paged/sweep,,,,0,0.`000687275`,,,,,,,True,,,24,3,8,64,2048,1536,1536,supported,OK,0,1,384,64,0.2332,0.244,0.2044,0.2136,20,True,233472,`1572864`,128,19,6144,516,101376,staged 51 +Last night,paged/sweep,,,,,,,,,,,,True,,,24,4,6,64,256,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 52 +Last night,paged/sweep,,,,,,,,,,,,True,,,24,4,6,64,2048,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 53 +Last night,paged/sweep,,,,0,0.`00134672`,,,,,,,True,,,24,6,4,64,256,1536,1536,supported,OK,0,1,96,64,0.111,0.1178,0.1028,0.1086,20,True,73728,393216,16,3,6144,68,25344,staged 54 +Last night,paged/sweep,,,,0,0.`000869373`,,,,,,,True,,,24,6,4,64,2048,1536,1536,supported,OK,0,1,384,64,0.2381,0.2506,0.2056,0.2169,20,True,466944,`3145728`,128,19,6144,516,101376,staged 55 +Last night,paged/sweep,,,,,,,,,,,,True,,,24,8,3,64,256,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 56 +Last night,paged/sweep,,,,,,,,,,,,True,,,24,8,3,64,2048,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 57 +Last night,paged/sweep,,,,0,0.`00109466`,,,,,,,True,,,24,12,2,64,256,1536,1536,supported,OK,0,1,96,64,0.112,0.1199,0.1029,0.1105,20,True,147456,786432,16,3,6144,68,25344,staged 58 +Last night,paged/sweep,,,,0,0.`000905124`,,,,,,,True,,,24,12,2,64,2048,1536,1536,supported,OK,0,1,384,64,0.1617,0.2572,0.1103,0.213,20,True,933888,`6291456`,128,19,6144,516,101376,staged 59 +Last night,paged/sweep,,,,0,0.`00115814`,,,,,,,True,,,24,24,1,64,256,1536,1536,supported,OK,0,1,96,64,0.1133,0.1251,0.1028,0.1051,20,True,294912,`1572864`,16,3,6144,68,25344,staged 60 +Last night,paged/sweep,,,,0,0.`000723758`,,,,,,,True,,,24,24,1,64,2048,1536,1536,supported,OK,0,1,384,64,0.1674,0.1751,0.1055,0.1073,20,True,`1867776`,`12582912`,128,19,6144,516,101376,staged 61 +Last night,paged/sweep,,,,0,0.`000983527`,,,,,,,True,,,32,1,32,64,256,2048,2048,supported,OK,0,1,128,64,0.1123,0.1176,0.1027,0.1049,20,False,12288,65536,16,3,8192,68,33792,staged 62 +Last night,paged/sweep,,,,0,0.`00096523`,,,,,,,True,,,32,1,32,64,2048,2048,2048,supported,OK,0,1,512,64,0.1398,0.2236,0.103,0.1865,20,False,77824,524288,128,19,8192,516,135168,staged 63 +Last night,paged/sweep,,,,0,0.`00107618`,,,,,,,True,,,32,2,16,64,256,2048,2048,supported,OK,0,1,128,64,0.1126,0.1134,0.1027,0.1031,20,True,24576,131072,16,3,8192,68,33792,staged 64 +Last night,paged/sweep,,,,0,0.`000909898`,,,,,,,True,,,32,2,16,64,2048,2048,2048,supported,OK,0,1,512,64,0.3432,0.4099,0.3055,0.3726,20,True,155648,`1048576`,128,19,8192,516,135168,staged 65 +Last night,paged/sweep,,,,0,0.`00148519`,,,,,,,True,,,32,4,8,64,256,2048,2048,supported,OK,0,1,128,64,0.1128,0.114,0.1027,0.1031,20,True,49152,262144,16,3,8192,68,33792,staged 66 +Last night,paged/sweep,,,,0,0.`000728955`,,,,,,,True,,,32,4,8,64,2048,2048,2048,supported,OK,0,1,512,64,0.345,0.4116,0.3065,0.3724,20,True,311296,`2097152`,128,19,8192,516,135168,staged 67 +Last night,paged/sweep,,,,0,0.`00120324`,,,,,,,True,,,32,8,4,64,256,2048,2048,supported,OK,0,1,128,64,0.1136,0.1214,0.1029,0.1101,20,True,98304,524288,16,3,8192,68,33792,staged 68 +Last night,paged/sweep,,,,0,0.`000902204`,,,,,,,True,,,32,8,4,64,2048,2048,2048,supported,OK,0,1,512,64,0.3637,0.5298,0.3108,0.4863,20,True,622592,`4194304`,128,19,8192,516,135168,staged 69 +Last night,paged/sweep,,,,0,0.`00134401`,,,,,,,True,,,32,16,2,64,256,2048,2048,supported,OK,0,1,128,64,0.1146,0.1164,0.103,0.1041,20,True,196608,`1048576`,16,3,8192,68,33792,staged 70 +Last night,paged/sweep,,,,0,0.`000943157`,,,,,,,True,,,32,16,2,64,2048,2048,2048,supported,OK,0,1,512,64,0.3706,0.4722,0.3121,0.4148,20,True,`1245184`,`8388608`,128,19,8192,516,135168,staged 71 +Last night,paged/sweep,,,,0,0.`0011642`,,,,,,,True,,,32,32,1,64,256,2048,2048,supported,OK,0,1,128,64,0.1161,0.1172,0.1028,0.1035,20,True,393216,`2097152`,16,3,8192,68,33792,staged 72 +Last night,paged/sweep,,,,0,0.`000786263`,,,,,,,True,,,32,32,1,64,2048,2048,2048,supported,OK,0,1,512,64,0.4015,0.4333,0.3187,0.3332,20,True,`2490368`,`16777216`,128,19,8192,516,135168,staged 73 +Last night,paged/sweep,,,,0,0.`00130635`,,,,,,,True,,,64,1,64,64,256,4096,4096,supported,OK,0,1,256,64,0.1209,0.1216,0.1027,0.1031,20,False,12288,65536,16,3,16384,68,67584,staged 74 +Last night,paged/sweep,,,,0,0.`00103163`,,,,,,,True,,,64,1,64,64,2048,4096,4096,supported,OK,0,1,1024,64,0.2739,0.2823,0.2058,0.2097,20,False,77824,524288,128,19,16384,516,270336,staged 75 +Last night,paged/sweep,,,,0,0.`00117469`,,,,,,,True,,,64,2,32,64,256,4096,4096,supported,OK,0,1,256,64,0.1213,0.1249,0.1028,0.1032,20,True,24576,131072,16,3,16384,68,67584,staged 76 +Last night,paged/sweep,,,,0,0.`000887297`,,,,,,,True,,,64,2,32,64,2048,4096,4096,supported,OK,0,1,1024,64,0.5787,0.6008,0.5091,0.5214,20,True,155648,`1048576`,128,19,16384,516,270336,staged 77 +Last night,paged/sweep,,,,0,0.`0014115`,,,,,,,True,,,64,4,16,64,256,4096,4096,supported,OK,0,1,256,64,0.1214,0.127,0.1028,0.104,20,True,49152,262144,16,3,16384,68,67584,staged 78 +Last night,paged/sweep,,,,0,0.`000843739`,,,,,,,True,,,64,4,16,64,2048,4096,4096,supported,OK,0,1,1024,64,0.6595,0.6962,0.5807,0.6204,20,True,311296,`2097152`,128,19,16384,516,270336,staged 79 +Last night,paged/sweep,,,,0,0.`0011426`,,,,,,,True,,,64,8,8,64,256,4096,4096,supported,OK,0,1,256,64,0.1221,0.1333,0.1028,0.1124,20,True,98304,524288,16,3,16384,68,67584,staged 80 +Last night,paged/sweep,,,,0,0.`000889638`,,,,,,,True,,,64,8,8,64,2048,4096,4096,supported,OK,0,1,1024,64,0.6043,0.8798,0.523,0.802,20,True,622592,`4194304`,128,19,16384,516,270336,staged 81 +Last night,paged/sweep,,,,0,0.`00133774`,,,,,,,True,,,64,16,4,64,256,4096,4096,supported,OK,0,1,256,64,0.1229,0.1237,0.1027,0.1034,20,True,196608,`1048576`,16,3,16384,68,67584,staged 82 +Last night,paged/sweep,,,,0,0.`000935371`,,,,,,,True,,,64,16,4,64,2048,4096,4096,supported,OK,0,1,1024,64,0.6376,1.0249,0.5436,0.9371,20,True,`1245184`,`8388608`,128,19,16384,516,270336,staged 83 +Last night,paged/sweep,,,,0,0.`0013971`,,,,,,,True,,,64,32,2,64,256,4096,4096,supported,OK,0,1,256,64,0.1256,0.1439,0.1032,0.1079,20,True,393216,`2097152`,16,3,16384,68,67584,staged 84 +Last night,paged/sweep,,,,0,0.`000789703`,,,,,,,True,,,64,32,2,64,2048,4096,4096,supported,OK,0,1,1024,64,0.5492,0.9066,0.4192,0.7689,20,True,`2490368`,`16777216`,128,19,16384,516,270336,staged 85 +Last night,paged/sweep,,,,0,0.`00124046`,,,,,,,True,,,64,64,1,64,256,4096,4096,supported,OK,0,1,256,64,0.1334,0.1412,0.1039,0.1055,20,True,786432,`4194304`,16,3,16384,68,67584,staged 86 +Last night,paged/sweep,,,,0,0.`00162937`,,,,,,,True,,,64,64,1,64,2048,4096,4096,supported,OK,0,1,1024,64,0.9762,1.1156,0.772,0.9442,20,True,`4980736`,`33554432`,128,19,16384,516,270336,staged 87 +This morning,paged/timing,gqa_f32_tinyllama_32q4kv_ctx2048,150.898,100,0,0.`00323017`,0.5233,0.6439,0.4004,0.8508,428.2,1,True,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 88 +This morning,paged/split-64,,,100,0,0.`000654305`,0.4026,0.5096,0.2934,0.6078,282.5,,True,-1,512,,,,,,,,,,,,,,,,,,,,,,,,,,, 89 +This morning,paged/split-64,,,100,0,0.`00334406`,0.2719,0.302,0.2624,0.3638,209.5,,True,0,32,,,,,,,,,,,,,,,,,,,,,,,,,,, 90 +This morning,paged/split-64,,,100,0,0.`00212117`,0.1883,0.2927,0.1831,0.3198,122.7,,True,1,64,,,,,,,,,,,,,,,,,,,,,,,,,,, 91 +This morning,paged/split-64,,,100,0,0.`00117787`,0.1958,0.2018,0.1915,0.3063,111.1,,True,2,128,,,,,,,,,,,,,,,,,,,,,,,,,,, 92 +This morning,paged/split-64,,,100,0,0.`00103936`,0.215,0.2833,0.2061,0.3346,120.1,,True,3,256,,,,,,,,,,,,,,,,,,,,,,,,,,, 93 +This morning,paged/split-64,,,100,0,0.`000654305`,0.2408,0.2449,0.2142,0.2488,109.4,,True,4,512,,,,,,,,,,,,,,,,,,,,,,,,,,, 94 +This morning,paged/split-128,,,100,0,0.`00102621`,0.269,0.288,0.26,0.3623,105.6,,True,-1,64,,,,,,,,,,,,,,,,,,,,,,,,,,, 95 +This morning,paged/split-128,,,100,0,0.`00245374`,0.3591,0.4653,0.3331,0.4861,234.8,,True,0,8,,,,,,,,,,,,,,,,,,,,,,,,,,, 96 +This morning,paged/split-128,,,100,0,0.`00208856`,0.3577,0.3715,0.3488,0.3842,207.8,,True,1,16,,,,,,,,,,,,,,,,,,,,,,,,,,, 97 +This morning,paged/split-128,,,100,0,0.`0013752`,0.276,0.389,0.2501,0.42,132.0,,True,2,32,,,,,,,,,,,,,,,,,,,,,,,,,,, 98 +This morning,paged/split-128,,,100,0,0.`00102621`,0.2939,0.3076,0.2741,0.408,108.6,,True,3,64,,,,,,,,,,,,,,,,,,,,,,,,,,, 99 +This morning,paged/split-128,,,100,0,0.`00102621`,0.3346,0.4388,0.31,0.5079,119.1,,True,4,128,,,,,,,,,,,,,,,,,,,,,,,,,,, 100 +This morning,paged/sweep,,,,0,0.`00054275`,,,,,,,True,,,1,1,1,64,256,64,64,supported,OK,0,1,4,64,0.1043,0.1048,0.1028,0.1032,20,False,12288,65536,16,3,256,68,1056,staged 101 +This morning,paged/sweep,,,,0,0.`000613896`,,,,,,,True,,,1,1,1,64,2048,64,64,supported,OK,0,1,16,64,0.106,0.1067,0.1028,0.1034,20,False,77824,524288,128,19,256,516,4224,staged 102 +This morning,paged/sweep,,,,0,0.`000915783`,,,,,,,True,,,2,1,2,64,256,128,128,supported,OK,0,1,8,64,0.1046,0.1052,0.1027,0.1034,20,False,12288,65536,16,3,512,68,2112,staged 103 +This morning,paged/sweep,,,,0,0.`00051606`,,,,,,,True,,,2,1,2,64,2048,128,128,supported,OK,0,1,32,64,0.1071,0.1075,0.1029,0.1031,20,False,77824,524288,128,19,512,516,8448,staged 104 +This morning,paged/sweep,,,,0,0.`00103359`,,,,,,,True,,,2,2,1,64,256,128,128,supported,OK,0,1,8,64,0.1045,0.1049,0.1027,0.103,20,True,24576,131072,16,3,512,68,2112,staged 105 +This morning,paged/sweep,,,,0,0.`000660894`,,,,,,,True,,,2,2,1,64,2048,128,128,supported,OK,0,1,32,64,0.1078,0.1082,0.1027,0.1031,20,True,155648,`1048576`,128,19,512,516,8448,staged 106 +This morning,paged/sweep,,,,0,0.`00114263`,,,,,,,True,,,4,1,4,64,256,256,256,supported,OK,0,1,16,64,0.105,0.1056,0.1026,0.1032,20,False,12288,65536,16,3,1024,68,4224,staged 107 +This morning,paged/sweep,,,,0,0.`000593025`,,,,,,,True,,,4,1,4,64,2048,256,256,supported,OK,0,1,64,64,0.109,0.1097,0.1027,0.1033,20,False,77824,524288,128,19,1024,516,16896,staged 108 +This morning,paged/sweep,,,,0,0.`000809567`,,,,,,,True,,,4,2,2,64,256,256,256,supported,OK,0,1,16,64,0.105,0.1055,0.1025,0.1032,20,True,24576,131072,16,3,1024,68,4224,staged 109 +This morning,paged/sweep,,,,0,0.`000605015`,,,,,,,True,,,4,2,2,64,2048,256,256,supported,OK,0,1,64,64,0.1096,0.1099,0.1025,0.1029,20,True,155648,`1048576`,128,19,1024,516,16896,staged 110 +This morning,paged/sweep,,,,0,0.`00100267`,,,,,,,True,,,4,4,1,64,256,256,256,supported,OK,0,1,16,64,0.1053,0.1058,0.1027,0.103,20,True,49152,262144,16,3,1024,68,4224,staged 111 +This morning,paged/sweep,,,,0,0.`000600994`,,,,,,,True,,,4,4,1,64,2048,256,256,supported,OK,0,1,64,64,0.1114,0.1121,0.1029,0.1034,20,True,311296,`2097152`,128,19,1024,516,16896,staged 112 +This morning,paged/sweep,,,,0,0.`0012878`,,,,,,,True,,,8,1,8,64,256,512,512,supported,OK,0,1,32,64,0.1061,0.1065,0.1026,0.103,20,False,12288,65536,16,3,2048,68,8448,staged 113 +This morning,paged/sweep,,,,0,0.`000633052`,,,,,,,True,,,8,1,8,64,2048,512,512,supported,OK,0,1,128,64,0.1131,0.1135,0.1026,0.1029,20,False,77824,524288,128,19,2048,516,33792,staged 114 +This morning,paged/sweep,,,,0,0.`00108287`,,,,,,,True,,,8,2,4,64,256,512,512,supported,OK,0,1,32,64,0.1061,0.1069,0.1026,0.1033,20,True,24576,131072,16,3,2048,68,8448,staged 115 +This morning,paged/sweep,,,,0,0.`000777759`,,,,,,,True,,,8,2,4,64,2048,512,512,supported,OK,0,1,128,64,0.2158,0.2169,0.2045,0.2053,20,True,155648,`1048576`,128,19,2048,516,33792,staged 116 +This morning,paged/sweep,,,,0,0.`00106688`,,,,,,,True,,,8,4,2,64,256,512,512,supported,OK,0,1,32,64,0.1066,0.1072,0.1028,0.1034,20,True,49152,262144,16,3,2048,68,8448,staged 117 +This morning,paged/sweep,,,,0,0.`00075066`,,,,,,,True,,,8,4,2,64,2048,512,512,supported,OK,0,1,128,64,0.1159,0.2174,0.103,0.2044,20,True,311296,`2097152`,128,19,2048,516,33792,staged 118 +This morning,paged/sweep,,,,0,0.`000945711`,,,,,,,True,,,8,8,1,64,256,512,512,supported,OK,0,1,32,64,0.1071,0.1076,0.1028,0.1033,20,True,98304,524288,16,3,2048,68,8448,staged 119 +This morning,paged/sweep,,,,0,0.`00074738`,,,,,,,True,,,8,8,1,64,2048,512,512,supported,OK,0,1,128,64,0.1196,0.1205,0.1038,0.1042,20,True,622592,`4194304`,128,19,2048,516,33792,staged 120 +This morning,paged/sweep,,,,0,0.`00116708`,,,,,,,True,,,16,1,16,64,256,1024,1024,supported,OK,0,1,64,64,0.1081,0.1084,0.1026,0.1028,20,False,12288,65536,16,3,4096,68,16896,staged 121 +This morning,paged/sweep,,,,0,0.`000804221`,,,,,,,True,,,16,1,16,64,2048,1024,1024,supported,OK,0,1,256,64,0.2226,0.2232,0.204,0.2045,20,False,77824,524288,128,19,4096,516,67584,staged 122 +This morning,paged/sweep,,,,0,0.`0012559`,,,,,,,True,,,16,2,8,64,256,1024,1024,supported,OK,0,1,64,64,0.1081,0.1085,0.1026,0.1029,20,True,24576,131072,16,3,4096,68,16896,staged 123 +This morning,paged/sweep,,,,0,0.`000721877`,,,,,,,True,,,16,2,8,64,2048,1024,1024,supported,OK,0,1,256,64,0.2239,0.2248,0.2046,0.2054,20,True,155648,`1048576`,128,19,4096,516,67584,staged 124 +This morning,paged/sweep,,,,0,0.`00105089`,,,,,,,True,,,16,4,4,64,256,1024,1024,supported,OK,0,1,64,64,0.1087,0.1091,0.1029,0.1033,20,True,49152,262144,16,3,4096,68,16896,staged 125 +This morning,paged/sweep,,,,0,0.`000986507`,,,,,,,True,,,16,4,4,64,2048,1024,1024,supported,OK,0,1,256,64,0.2256,0.2269,0.2048,0.2058,20,True,311296,`2097152`,128,19,4096,516,67584,staged 126 +This morning,paged/sweep,,,,0,0.`000962271`,,,,,,,True,,,16,8,2,64,256,1024,1024,supported,OK,0,1,64,64,0.1091,0.1094,0.1028,0.1033,20,True,98304,524288,16,3,4096,68,16896,staged 127 +This morning,paged/sweep,,,,0,0.`000765968`,,,,,,,True,,,16,8,2,64,2048,1024,1024,supported,OK,0,1,256,64,0.1293,0.2307,0.1039,0.2059,20,True,622592,`4194304`,128,19,4096,516,67584,staged 128 +This morning,paged/sweep,,,,0,0.`00104407`,,,,,,,True,,,16,16,1,64,256,1024,1024,supported,OK,0,1,64,64,0.11,0.1106,0.1028,0.1034,20,True,196608,`1048576`,16,3,4096,68,16896,staged 129 +This morning,paged/sweep,,,,0,0.`000910028`,,,,,,,True,,,16,16,1,64,2048,1024,1024,supported,OK,0,1,256,64,0.1384,0.1403,0.104,0.1048,20,True,`1245184`,`8388608`,128,19,4096,516,67584,staged 130 +This morning,paged/sweep,,,,,,,,,,,,True,,,24,1,24,64,256,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 131 +This morning,paged/sweep,,,,,,,,,,,,True,,,24,1,24,64,2048,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 132 +This morning,paged/sweep,,,,,,,,,,,,True,,,24,2,12,64,256,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 133 +This morning,paged/sweep,,,,,,,,,,,,True,,,24,2,12,64,2048,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 134 +This morning,paged/sweep,,,,0,0.`00116392`,,,,,,,True,,,24,3,8,64,256,1536,1536,supported,OK,0,1,96,64,0.1104,0.1112,0.1025,0.1032,20,True,36864,196608,16,3,6144,68,25344,staged 135 +This morning,paged/sweep,,,,0,0.`000687275`,,,,,,,True,,,24,3,8,64,2048,1536,1536,supported,OK,0,1,384,64,0.2326,0.2339,0.2042,0.2049,20,True,233472,`1572864`,128,19,6144,516,101376,staged 136 +This morning,paged/sweep,,,,,,,,,,,,True,,,24,4,6,64,256,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 137 +This morning,paged/sweep,,,,,,,,,,,,True,,,24,4,6,64,2048,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 138 +This morning,paged/sweep,,,,0,0.`00134672`,,,,,,,True,,,24,6,4,64,256,1536,1536,supported,OK,0,1,96,64,0.1106,0.1109,0.1026,0.1028,20,True,73728,393216,16,3,6144,68,25344,staged 139 +This morning,paged/sweep,,,,0,0.`000869373`,,,,,,,True,,,24,6,4,64,2048,1536,1536,supported,OK,0,1,384,64,0.135,0.1356,0.1032,0.1038,20,True,466944,`3145728`,128,19,6144,516,101376,staged 140 +This morning,paged/sweep,,,,,,,,,,,,True,,,24,8,3,64,256,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 141 +This morning,paged/sweep,,,,,,,,,,,,True,,,24,8,3,64,2048,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 142 +This morning,paged/sweep,,,,0,0.`00109466`,,,,,,,True,,,24,12,2,64,256,1536,1536,supported,OK,0,1,96,64,0.1117,0.112,0.1029,0.1033,20,True,147456,786432,16,3,6144,68,25344,staged 143 +This morning,paged/sweep,,,,0,0.`000905124`,,,,,,,True,,,24,12,2,64,2048,1536,1536,supported,OK,0,1,384,64,0.1434,0.1461,0.1045,0.1053,20,True,933888,`6291456`,128,19,6144,516,101376,staged 144 +This morning,paged/sweep,,,,0,0.`00115814`,,,,,,,True,,,24,24,1,64,256,1536,1536,supported,OK,0,1,96,64,0.1133,0.1138,0.103,0.1036,20,True,294912,`1572864`,16,3,6144,68,25344,staged 145 +This morning,paged/sweep,,,,0,0.`000723758`,,,,,,,True,,,24,24,1,64,2048,1536,1536,supported,OK,0,1,384,64,0.1629,0.1689,0.1046,0.1054,20,True,`1867776`,`12582912`,128,19,6144,516,101376,staged 146 +This morning,paged/sweep,,,,0,0.`000983527`,,,,,,,True,,,32,1,32,64,256,2048,2048,supported,OK,0,1,128,64,0.1122,0.1126,0.1026,0.1029,20,False,12288,65536,16,3,8192,68,33792,staged 147 +This morning,paged/sweep,,,,0,0.`00096523`,,,,,,,True,,,32,1,32,64,2048,2048,2048,supported,OK,0,1,512,64,0.2393,0.2406,0.204,0.2047,20,False,77824,524288,128,19,8192,516,135168,staged 148 +This morning,paged/sweep,,,,0,0.`00107618`,,,,,,,True,,,32,2,16,64,256,2048,2048,supported,OK,0,1,128,64,0.1128,0.1133,0.1028,0.1034,20,True,24576,131072,16,3,8192,68,33792,staged 149 +This morning,paged/sweep,,,,0,0.`000909898`,,,,,,,True,,,32,2,16,64,2048,2048,2048,supported,OK,0,1,512,64,0.4446,0.4601,0.4085,0.4241,20,True,155648,`1048576`,128,19,8192,516,135168,staged 150 +This morning,paged/sweep,,,,0,0.`00148519`,,,,,,,True,,,32,4,8,64,256,2048,2048,supported,OK,0,1,128,64,0.1128,0.1132,0.1026,0.103,20,True,49152,262144,16,3,8192,68,33792,staged 151 +This morning,paged/sweep,,,,0,0.`000728955`,,,,,,,True,,,32,4,8,64,2048,2048,2048,supported,OK,0,1,512,64,0.3446,0.4102,0.3062,0.3718,20,True,311296,`2097152`,128,19,8192,516,135168,staged 152 +This morning,paged/sweep,,,,0,0.`00120324`,,,,,,,True,,,32,8,4,64,256,2048,2048,supported,OK,0,1,128,64,0.1133,0.114,0.1027,0.1031,20,True,98304,524288,16,3,8192,68,33792,staged 153 +This morning,paged/sweep,,,,0,0.`000902204`,,,,,,,True,,,32,8,4,64,2048,2048,2048,supported,OK,0,1,512,64,0.4564,0.4624,0.4113,0.4172,20,True,622592,`4194304`,128,19,8192,516,135168,staged 154 +This morning,paged/sweep,,,,0,0.`00134401`,,,,,,,True,,,32,16,2,64,256,2048,2048,supported,OK,0,1,128,64,0.1143,0.1149,0.1028,0.1033,20,True,196608,`1048576`,16,3,8192,68,33792,staged 155 +This morning,paged/sweep,,,,0,0.`000943157`,,,,,,,True,,,32,16,2,64,2048,2048,2048,supported,OK,0,1,512,64,0.4657,0.4691,0.4105,0.4141,20,True,`1245184`,`8388608`,128,19,8192,516,135168,staged 156 +This morning,paged/sweep,,,,0,0.`0011642`,,,,,,,True,,,32,32,1,64,256,2048,2048,supported,OK,0,1,128,64,0.1172,0.1177,0.1032,0.1036,20,True,393216,`2097152`,16,3,8192,68,33792,staged 157 +This morning,paged/sweep,,,,0,0.`000786263`,,,,,,,True,,,32,32,1,64,2048,2048,2048,supported,OK,0,1,512,64,0.393,0.4024,0.3094,0.3119,20,True,`2490368`,`16777216`,128,19,8192,516,135168,staged 158 +This morning,paged/sweep,,,,0,0.`00130635`,,,,,,,True,,,64,1,64,64,256,4096,4096,supported,OK,0,1,256,64,0.1209,0.122,0.1026,0.1028,20,False,12288,65536,16,3,16384,68,67584,staged 159 +This morning,paged/sweep,,,,0,0.`00103163`,,,,,,,True,,,64,1,64,64,2048,4096,4096,supported,OK,0,1,1024,64,0.2757,0.2767,0.2048,0.2054,20,False,77824,524288,128,19,16384,516,270336,staged 160 +This morning,paged/sweep,,,,0,0.`00117469`,,,,,,,True,,,64,2,32,64,256,4096,4096,supported,OK,0,1,256,64,0.1216,0.1221,0.1029,0.1033,20,True,24576,131072,16,3,16384,68,67584,staged 161 +This morning,paged/sweep,,,,0,0.`000887297`,,,,,,,True,,,64,2,32,64,2048,4096,4096,supported,OK,0,1,1024,64,0.4802,0.4819,0.4086,0.4103,20,True,155648,`1048576`,128,19,16384,516,270336,staged 162 +This morning,paged/sweep,,,,0,0.`0014115`,,,,,,,True,,,64,4,16,64,256,4096,4096,supported,OK,0,1,256,64,0.1217,0.1222,0.1029,0.1033,20,True,49152,262144,16,3,16384,68,67584,staged 163 +This morning,paged/sweep,,,,0,0.`000843739`,,,,,,,True,,,64,4,16,64,2048,4096,4096,supported,OK,0,1,1024,64,0.5879,0.775,0.5138,0.6345,20,True,311296,`2097152`,128,19,16384,516,270336,staged 164 +This morning,paged/sweep,,,,0,0.`0011426`,,,,,,,True,,,64,8,8,64,256,4096,4096,supported,OK,0,1,256,64,0.1465,0.1476,0.1077,0.1084,20,True,98304,524288,16,3,16384,68,67584,staged 165 +This morning,paged/sweep,,,,0,0.`000889638`,,,,,,,True,,,64,8,8,64,2048,4096,4096,supported,OK,0,1,1024,64,0.8049,0.9043,0.7283,0.8268,20,True,622592,`4194304`,128,19,16384,516,270336,staged 166 +This morning,paged/sweep,,,,0,0.`00133774`,,,,,,,True,,,64,16,4,64,256,4096,4096,supported,OK,0,1,256,64,0.1228,0.1233,0.1029,0.1033,20,True,196608,`1048576`,16,3,16384,68,67584,staged 167 +This morning,paged/sweep,,,,0,0.`000935371`,,,,,,,True,,,64,16,4,64,2048,4096,4096,supported,OK,0,1,1024,64,0.9104,0.9283,0.8206,0.839,20,True,`1245184`,`8388608`,128,19,16384,516,270336,staged 168 +This morning,paged/sweep,,,,0,0.`0013971`,,,,,,,True,,,64,32,2,64,256,4096,4096,supported,OK,0,1,256,64,0.1251,0.1258,0.1031,0.1037,20,True,393216,`2097152`,16,3,16384,68,67584,staged 169 +This morning,paged/sweep,,,,0,0.`000789703`,,,,,,,True,,,64,32,2,64,2048,4096,4096,supported,OK,0,1,1024,64,0.8473,0.9744,0.7257,0.8492,20,True,`2490368`,`16777216`,128,19,16384,516,270336,staged 170 +This morning,paged/sweep,,,,0,0.`00124046`,,,,,,,True,,,64,64,1,64,256,4096,4096,supported,OK,0,1,256,64,0.1333,0.1351,0.1041,0.1052,20,True,786432,`4194304`,16,3,16384,68,67584,staged 171 +This morning,paged/sweep,,,,0,0.`00162937`,,,,,,,True,,,64,64,1,64,2048,4096,4096,supported,OK,0,1,1024,64,0.9173,1.0263,0.7389,0.845,20,True,`4980736`,`33554432`,128,19,16384,516,270336,staged 172 +Merged main,paged/timing,gqa_f32_tinyllama_32q4kv_ctx2048,152.989,100,0,0.`00323017`,0.5771,0.7035,0.4188,0.9043,483.1,1,True,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 173 +Merged main,paged/split-64,,,100,0,0.`000654305`,0.4133,0.5144,0.302,0.5539,297.4,,True,-1,512,,,,,,,,,,,,,,,,,,,,,,,,,,, 174 +Merged main,paged/split-64,,,100,0,0.`00334406`,0.3748,0.4832,0.2642,0.5925,304.7,,True,0,32,,,,,,,,,,,,,,,,,,,,,,,,,,, 175 +Merged main,paged/split-64,,,100,0,0.`00212117`,0.1885,0.3069,0.1781,0.3997,154.3,,True,1,64,,,,,,,,,,,,,,,,,,,,,,,,,,, 176 +Merged main,paged/split-64,,,100,0,0.`00117787`,0.1934,0.2097,0.1752,0.2766,114.1,,True,2,128,,,,,,,,,,,,,,,,,,,,,,,,,,, 177 +Merged main,paged/split-64,,,100,0,0.`00103936`,0.2093,0.23,0.1919,0.3224,119.8,,True,3,256,,,,,,,,,,,,,,,,,,,,,,,,,,, 178 +Merged main,paged/split-64,,,100,0,0.`000654305`,0.2391,0.2541,0.2126,0.3174,113.4,,True,4,512,,,,,,,,,,,,,,,,,,,,,,,,,,, 179 +Merged main,paged/split-128,,,100,0,0.`00102621`,0.3008,0.4213,0.2097,0.5304,122.5,,True,-1,64,,,,,,,,,,,,,,,,,,,,,,,,,,, 180 +Merged main,paged/split-128,,,100,0,0.`00245374`,0.3785,0.4928,0.311,0.6742,249.7,,True,0,8,,,,,,,,,,,,,,,,,,,,,,,,,,, 181 +Merged main,paged/split-128,,,100,0,0.`00208856`,0.2151,0.3259,0.2022,0.3672,134.4,,True,1,16,,,,,,,,,,,,,,,,,,,,,,,,,,, 182 +Merged main,paged/split-128,,,100,0,0.`0013752`,0.226,0.3355,0.2117,0.4723,143.8,,True,2,32,,,,,,,,,,,,,,,,,,,,,,,,,,, 183 +Merged main,paged/split-128,,,100,0,0.`00102621`,0.2456,0.3463,0.2313,0.4502,122.3,,True,3,64,,,,,,,,,,,,,,,,,,,,,,,,,,, 184 +Merged main,paged/split-128,,,100,0,0.`00102621`,0.2653,0.3751,0.2249,0.4632,133.8,,True,4,128,,,,,,,,,,,,,,,,,,,,,,,,,,, 185 +Merged main,paged/sweep,,,,0,0.`00054275`,,,,,,,True,,,1,1,1,64,256,64,64,supported,OK,0,1,4,64,0.1057,0.1176,0.1039,0.1146,20,False,12288,65536,16,3,256,68,1056,staged 186 +Merged main,paged/sweep,,,,0,0.`000613896`,,,,,,,True,,,1,1,1,64,2048,64,64,supported,OK,0,1,16,64,0.1063,0.1142,0.1031,0.1061,20,False,77824,524288,128,19,256,516,4224,staged 187 +Merged main,paged/sweep,,,,0,0.`000915783`,,,,,,,True,,,2,1,2,64,256,128,128,supported,OK,0,1,8,64,0.1046,0.1054,0.1028,0.1031,20,False,12288,65536,16,3,512,68,2112,staged 188 +Merged main,paged/sweep,,,,0,0.`00051606`,,,,,,,True,,,2,1,2,64,2048,128,128,supported,OK,0,1,32,64,0.1072,0.1171,0.1029,0.1116,20,False,77824,524288,128,19,512,516,8448,staged 189 +Merged main,paged/sweep,,,,0,0.`00103359`,,,,,,,True,,,2,2,1,64,256,128,128,supported,OK,0,1,8,64,0.1046,0.1051,0.1028,0.1031,20,True,24576,131072,16,3,512,68,2112,staged 190 +Merged main,paged/sweep,,,,0,0.`000660894`,,,,,,,True,,,2,2,1,64,2048,128,128,supported,OK,0,1,32,64,0.1076,0.1092,0.1028,0.1036,20,True,155648,`1048576`,128,19,512,516,8448,staged 191 +Merged main,paged/sweep,,,,0,0.`00114263`,,,,,,,True,,,4,1,4,64,256,256,256,supported,OK,0,1,16,64,0.105,0.1053,0.1027,0.1029,20,False,12288,65536,16,3,1024,68,4224,staged 192 +Merged main,paged/sweep,,,,0,0.`000593025`,,,,,,,True,,,4,1,4,64,2048,256,256,supported,OK,0,1,64,64,0.1092,0.1096,0.1028,0.1031,20,False,77824,524288,128,19,1024,516,16896,staged 193 +Merged main,paged/sweep,,,,0,0.`000809567`,,,,,,,True,,,4,2,2,64,256,256,256,supported,OK,0,1,16,64,0.1053,0.1149,0.1029,0.1124,20,True,24576,131072,16,3,1024,68,4224,staged 194 +Merged main,paged/sweep,,,,0,0.`000605015`,,,,,,,True,,,4,2,2,64,2048,256,256,supported,OK,0,1,64,64,0.1097,0.1108,0.1028,0.1038,20,True,155648,`1048576`,128,19,1024,516,16896,staged 195 +Merged main,paged/sweep,,,,0,0.`00100267`,,,,,,,True,,,4,4,1,64,256,256,256,supported,OK,0,1,16,64,0.1054,0.1057,0.1027,0.103,20,True,49152,262144,16,3,1024,68,4224,staged 196 +Merged main,paged/sweep,,,,0,0.`000600994`,,,,,,,True,,,4,4,1,64,2048,256,256,supported,OK,0,1,64,64,0.1116,0.1307,0.1032,0.1156,20,True,311296,`2097152`,128,19,1024,516,16896,staged 197 +Merged main,paged/sweep,,,,0,0.`0012878`,,,,,,,True,,,8,1,8,64,256,512,512,supported,OK,0,1,32,64,0.1062,0.1068,0.1029,0.1035,20,False,12288,65536,16,3,2048,68,8448,staged 198 +Merged main,paged/sweep,,,,0,0.`000633052`,,,,,,,True,,,8,1,8,64,2048,512,512,supported,OK,0,1,128,64,0.1132,0.1211,0.1029,0.1046,20,False,77824,524288,128,19,2048,516,33792,staged 199 +Merged main,paged/sweep,,,,0,0.`00108287`,,,,,,,True,,,8,2,4,64,256,512,512,supported,OK,0,1,32,64,0.1063,0.1066,0.1029,0.1031,20,True,24576,131072,16,3,2048,68,8448,staged 200 +Merged main,paged/sweep,,,,0,0.`000777759`,,,,,,,True,,,8,2,4,64,2048,512,512,supported,OK,0,1,128,64,0.114,0.1145,0.1028,0.1033,20,True,155648,`1048576`,128,19,2048,516,33792,staged 201 +Merged main,paged/sweep,,,,0,0.`00106688`,,,,,,,True,,,8,4,2,64,256,512,512,supported,OK,0,1,32,64,0.1066,0.1128,0.1028,0.1055,20,True,49152,262144,16,3,2048,68,8448,staged 202 +Merged main,paged/sweep,,,,0,0.`00075066`,,,,,,,True,,,8,4,2,64,2048,512,512,supported,OK,0,1,128,64,0.1193,0.2449,0.1053,0.2162,20,True,311296,`2097152`,128,19,2048,516,33792,staged 203 +Merged main,paged/sweep,,,,0,0.`000945711`,,,,,,,True,,,8,8,1,64,256,512,512,supported,OK,0,1,32,64,0.1146,0.129,0.105,0.1182,20,True,98304,524288,16,3,2048,68,8448,staged 204 +Merged main,paged/sweep,,,,0,0.`00074738`,,,,,,,True,,,8,8,1,64,2048,512,512,supported,OK,0,1,128,64,0.1465,0.1571,0.1085,0.1171,20,True,622592,`4194304`,128,19,2048,516,33792,staged 205 +Merged main,paged/sweep,,,,0,0.`00116708`,,,,,,,True,,,16,1,16,64,256,1024,1024,supported,OK,0,1,64,64,0.1088,0.1273,0.103,0.1158,20,False,12288,65536,16,3,4096,68,16896,staged 206 +Merged main,paged/sweep,,,,0,0.`000804221`,,,,,,,True,,,16,1,16,64,2048,1024,1024,supported,OK,0,1,256,64,0.1216,0.1937,0.1027,0.1747,20,False,77824,524288,128,19,4096,516,67584,staged 207 +Merged main,paged/sweep,,,,0,0.`0012559`,,,,,,,True,,,16,2,8,64,256,1024,1024,supported,OK,0,1,64,64,0.1083,0.1088,0.1027,0.1034,20,True,24576,131072,16,3,4096,68,16896,staged 208 +Merged main,paged/sweep,,,,0,0.`000721877`,,,,,,,True,,,16,2,8,64,2048,1024,1024,supported,OK,0,1,256,64,0.1328,0.2151,0.1082,0.1748,20,True,155648,`1048576`,128,19,4096,516,67584,staged 209 +Merged main,paged/sweep,,,,0,0.`00105089`,,,,,,,True,,,16,4,4,64,256,1024,1024,supported,OK,0,1,64,64,0.117,0.1314,0.1048,0.1158,20,True,49152,262144,16,3,4096,68,16896,staged 210 +Merged main,paged/sweep,,,,0,0.`000986507`,,,,,,,True,,,16,4,4,64,2048,1024,1024,supported,OK,0,1,256,64,0.1545,0.1727,0.1095,0.1265,20,True,311296,`2097152`,128,19,4096,516,67584,staged 211 +Merged main,paged/sweep,,,,0,0.`000962271`,,,,,,,True,,,16,8,2,64,256,1024,1024,supported,OK,0,1,64,64,0.1193,0.1351,0.1057,0.1207,20,True,98304,524288,16,3,4096,68,16896,staged 212 +Merged main,paged/sweep,,,,0,0.`000765968`,,,,,,,True,,,16,8,2,64,2048,1024,1024,supported,OK,0,1,256,64,0.1693,0.2435,0.1168,0.2097,20,True,622592,`4194304`,128,19,4096,516,67584,staged 213 +Merged main,paged/sweep,,,,0,0.`00104407`,,,,,,,True,,,16,16,1,64,256,1024,1024,supported,OK,0,1,64,64,0.1099,0.1144,0.1027,0.1065,20,True,196608,`1048576`,16,3,4096,68,16896,staged 214 +Merged main,paged/sweep,,,,0,0.`000910028`,,,,,,,True,,,16,16,1,64,2048,1024,1024,supported,OK,0,1,256,64,0.1436,0.1766,0.1052,0.1145,20,True,`1245184`,`8388608`,128,19,4096,516,67584,staged 215 +Merged main,paged/sweep,,,,,,,,,,,,True,,,24,1,24,64,256,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 216 +Merged main,paged/sweep,,,,,,,,,,,,True,,,24,1,24,64,2048,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 217 +Merged main,paged/sweep,,,,,,,,,,,,True,,,24,2,12,64,256,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 218 +Merged main,paged/sweep,,,,,,,,,,,,True,,,24,2,12,64,2048,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 219 +Merged main,paged/sweep,,,,0,0.`00116392`,,,,,,,True,,,24,3,8,64,256,1536,1536,supported,OK,0,1,96,64,0.1109,0.1182,0.103,0.1072,20,True,36864,196608,16,3,6144,68,25344,staged 220 +Merged main,paged/sweep,,,,0,0.`000687275`,,,,,,,True,,,24,3,8,64,2048,1536,1536,supported,OK,0,1,384,64,0.2334,0.247,0.2043,0.2088,20,True,233472,`1572864`,128,19,6144,516,101376,staged 221 +Merged main,paged/sweep,,,,,,,,,,,,True,,,24,4,6,64,256,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 222 +Merged main,paged/sweep,,,,,,,,,,,,True,,,24,4,6,64,2048,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 223 +Merged main,paged/sweep,,,,0,0.`00134672`,,,,,,,True,,,24,6,4,64,256,1536,1536,supported,OK,0,1,96,64,0.111,0.1163,0.1027,0.104,20,True,73728,393216,16,3,6144,68,25344,staged 224 +Merged main,paged/sweep,,,,0,0.`000869373`,,,,,,,True,,,24,6,4,64,2048,1536,1536,supported,OK,0,1,384,64,0.238,0.2656,0.2048,0.2145,20,True,466944,`3145728`,128,19,6144,516,101376,staged 225 +Merged main,paged/sweep,,,,,,,,,,,,True,,,24,8,3,64,256,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 226 +Merged main,paged/sweep,,,,,,,,,,,,True,,,24,8,3,64,2048,1536,1536,unsupported_by_kernel_envelope,BAD_ARGS,,,,,,,,,,,,,,,,,, 227 +Merged main,paged/sweep,,,,0,0.`00109466`,,,,,,,True,,,24,12,2,64,256,1536,1536,supported,OK,0,1,96,64,0.1116,0.1186,0.1027,0.1036,20,True,147456,786432,16,3,6144,68,25344,staged 228 +Merged main,paged/sweep,,,,0,0.`000905124`,,,,,,,True,,,24,12,2,64,2048,1536,1536,supported,OK,0,1,384,64,0.2518,0.2929,0.2063,0.2328,20,True,933888,`6291456`,128,19,6144,516,101376,staged 229 +Merged main,paged/sweep,,,,0,0.`00115814`,,,,,,,True,,,24,24,1,64,256,1536,1536,supported,OK,0,1,96,64,0.1137,0.1245,0.1029,0.1109,20,True,294912,`1572864`,16,3,6144,68,25344,staged 230 +Merged main,paged/sweep,,,,0,0.`000723758`,,,,,,,True,,,24,24,1,64,2048,1536,1536,supported,OK,0,1,384,64,0.2543,0.3014,0.1902,0.2253,20,True,`1867776`,`12582912`,128,19,6144,516,101376,staged 231 +Merged main,paged/sweep,,,,0,0.`000983527`,,,,,,,True,,,32,1,32,64,256,2048,2048,supported,OK,0,1,128,64,0.1125,0.1152,0.1027,0.1034,20,False,12288,65536,16,3,8192,68,33792,staged 232 +Merged main,paged/sweep,,,,0,0.`00096523`,,,,,,,True,,,32,1,32,64,2048,2048,2048,supported,OK,0,1,512,64,0.1382,0.1468,0.1029,0.1098,20,False,77824,524288,128,19,8192,516,135168,staged 233 +Merged main,paged/sweep,,,,0,0.`00107618`,,,,,,,True,,,32,2,16,64,256,2048,2048,supported,OK,0,1,128,64,0.1129,0.123,0.103,0.1107,20,True,24576,131072,16,3,8192,68,33792,staged 234 +Merged main,paged/sweep,,,,0,0.`000909898`,,,,,,,True,,,32,2,16,64,2048,2048,2048,supported,OK,0,1,512,64,0.3427,0.4456,0.3066,0.4077,20,True,155648,`1048576`,128,19,8192,516,135168,staged 235 +Merged main,paged/sweep,,,,0,0.`00148519`,,,,,,,True,,,32,4,8,64,256,2048,2048,supported,OK,0,1,128,64,0.113,0.1134,0.1027,0.1029,20,True,49152,262144,16,3,8192,68,33792,staged 236 +Merged main,paged/sweep,,,,0,0.`000728955`,,,,,,,True,,,32,4,8,64,2048,2048,2048,supported,OK,0,1,512,64,0.4447,0.4588,0.4066,0.4101,20,True,311296,`2097152`,128,19,8192,516,135168,staged 237 +Merged main,paged/sweep,,,,0,0.`00120324`,,,,,,,True,,,32,8,4,64,256,2048,2048,supported,OK,0,1,128,64,0.1135,0.119,0.1028,0.1034,20,True,98304,524288,16,3,8192,68,33792,staged 238 +Merged main,paged/sweep,,,,0,0.`000902204`,,,,,,,True,,,32,8,4,64,2048,2048,2048,supported,OK,0,1,512,64,0.3521,0.4629,0.3084,0.4127,20,True,622592,`4194304`,128,19,8192,516,135168,staged 239 +Merged main,paged/sweep,,,,0,0.`00134401`,,,,,,,True,,,32,16,2,64,256,2048,2048,supported,OK,0,1,128,64,0.1143,0.1199,0.1028,0.106,20,True,196608,`1048576`,16,3,8192,68,33792,staged 240 +Merged main,paged/sweep,,,,0,0.`000943157`,,,,,,,True,,,32,16,2,64,2048,2048,2048,supported,OK,0,1,512,64,0.3734,0.488,0.3146,0.4279,20,True,`1245184`,`8388608`,128,19,8192,516,135168,staged 241 +Merged main,paged/sweep,,,,0,0.`0011642`,,,,,,,True,,,32,32,1,64,256,2048,2048,supported,OK,0,1,128,64,0.1171,0.1261,0.1032,0.1076,20,True,393216,`2097152`,16,3,8192,68,33792,staged 242 +Merged main,paged/sweep,,,,0,0.`000786263`,,,,,,,True,,,32,32,1,64,2048,2048,2048,supported,OK,0,1,512,64,0.3032,0.4002,0.2225,0.3233,20,True,`2490368`,`16777216`,128,19,8192,516,135168,staged 243 +Merged main,paged/sweep,,,,0,0.`00130635`,,,,,,,True,,,64,1,64,64,256,4096,4096,supported,OK,0,1,256,64,0.1211,0.1223,0.1027,0.103,20,False,12288,65536,16,3,16384,68,67584,staged 244 +Merged main,paged/sweep,,,,0,0.`00103163`,,,,,,,True,,,64,1,64,64,2048,4096,4096,supported,OK,0,1,1024,64,0.2717,0.2755,0.2041,0.2054,20,False,77824,524288,128,19,16384,516,270336,staged 245 +Merged main,paged/sweep,,,,0,0.`00117469`,,,,,,,True,,,64,2,32,64,256,4096,4096,supported,OK,0,1,256,64,0.121,0.1249,0.1027,0.1043,20,True,24576,131072,16,3,16384,68,67584,staged 246 +Merged main,paged/sweep,,,,0,0.`000887297`,,,,,,,True,,,64,2,32,64,2048,4096,4096,supported,OK,0,1,1024,64,0.4711,0.484,0.403,0.4127,20,True,155648,`1048576`,128,19,16384,516,270336,staged 247 +Merged main,paged/sweep,,,,0,0.`0014115`,,,,,,,True,,,64,4,16,64,256,4096,4096,supported,OK,0,1,256,64,0.1211,0.1276,0.1027,0.108,20,True,49152,262144,16,3,16384,68,67584,staged 248 +Merged main,paged/sweep,,,,0,0.`000843739`,,,,,,,True,,,64,4,16,64,2048,4096,4096,supported,OK,0,1,1024,64,0.5048,0.5901,0.4303,0.5128,20,True,311296,`2097152`,128,19,16384,516,270336,staged 249 +Merged main,paged/sweep,,,,0,0.`0011426`,,,,,,,True,,,64,8,8,64,256,4096,4096,supported,OK,0,1,256,64,0.1216,0.1219,0.1027,0.103,20,True,98304,524288,16,3,16384,68,67584,staged 250 +Merged main,paged/sweep,,,,0,0.`000889638`,,,,,,,True,,,64,8,8,64,2048,4096,4096,supported,OK,0,1,1024,64,0.5923,0.6595,0.5146,0.5824,20,True,622592,`4194304`,128,19,16384,516,270336,staged 251 +Merged main,paged/sweep,,,,0,0.`00133774`,,,,,,,True,,,64,16,4,64,256,4096,4096,supported,OK,0,1,256,64,0.1233,0.1356,0.1031,0.1134,20,True,196608,`1048576`,16,3,16384,68,67584,staged 252 +Merged main,paged/sweep,,,,0,0.`000935371`,,,,,,,True,,,64,16,4,64,2048,4096,4096,supported,OK,0,1,1024,64,0.6025,0.7174,0.5128,0.6178,20,True,`1245184`,`8388608`,128,19,16384,516,270336,staged 253 +Merged main,paged/sweep,,,,0,0.`0013971`,,,,,,,True,,,64,32,2,64,256,4096,4096,supported,OK,0,1,256,64,0.1276,0.1506,0.1034,0.1142,20,True,393216,`2097152`,16,3,16384,68,67584,staged 254 +Merged main,paged/sweep,,,,0,0.`000789703`,,,,,,,True,,,64,32,2,64,2048,4096,4096,supported,OK,0,1,1024,64,0.5505,0.8004,0.4158,0.6666,20,True,`2490368`,`16777216`,128,19,16384,516,270336,staged 255 +Merged main,paged/sweep,,,,0,0.`00124046`,,,,,,,True,,,64,64,1,64,256,4096,4096,supported,OK,0,1,256,64,0.1342,0.1354,0.1038,0.1043,20,True,786432,`4194304`,16,3,16384,68,67584,staged 256 +Merged main,paged/sweep,,,,0,0.`00162937`,,,,,,,True,,,64,64,1,64,2048,4096,4096,supported,OK,0,1,1024,64,0.8274,0.944,0.6406,0.7476,20,True,`4980736`,`33554432`,128,19,16384,516,270336,staged evidence/q38-stress-gb10-20261120T143359Z/paged/close.json new file mode 100644 @@ -0,0 +1,7 @@ 1 +{"window_id": "20261120T144219Z-0fb968", "closed_by": "spark-window close", "reason": "closed", "verdict": "quiet machine", "held_s": 9, "state": {"utc": "2026-11-20T14:42:28Z", "loadavg": "3.58 4.54 6.31 5/1963 `2333892`", "mem_avail_kB": `112688348`, "gpu_util_pct": "0", "gpu_W": "5.87", 2 + "gb10_lock_holders": "", 3 + "quiet_lock_holders": "", 4 + "quiet_waiters": "", 5 + "gpu_apps": "", 6 + "sensors_row": "`1795185746`,2026-11-20T08:42:26-06:00,180,5.88,0,3.58,`112783712`,1,2942", "sensors_row_age_s": 2} 7 +} evidence/q38-stress-gb10-20261120T143359Z/paged/open.json new file mode 100644 @@ -0,0 +1,7 @@ 1 +{"window_id": "20261120T144219Z-0fb968", "name": "codex-paged-stress-`371a882a5`", "owner": "drakestapleton@pid2268257", "lease_min": 15, "gb10": "exclusive", "waited_s": 1, "state": {"utc": "2026-11-20T14:42:20Z", "loadavg": "3.88 4.62 6.35 4/1972 `2321707`", "mem_avail_kB": `112951212`, "gpu_util_pct": "0", "gpu_W": "6.10", 2 + "gb10_lock_holders": "holds exclusive pid `2319953` (s) (set by a finished flock; processes with /tmp/aien-gb10.lock open now: pid `2319823` /bin/sh /home/drakestapleton/.local/bin/spark-window _hold 20261120T14); ", 3 + "quiet_lock_holders": "holds exclusive pid `2319961` (s) (set by a finished flock; processes with /tmp/aien-quiet.lock open now: pid `2319823` /bin/sh /home/drakestapleton/.local/bin/spark-window _hold 20261120T14); ", 4 + "quiet_waiters": "", 5 + "gpu_apps": "", 6 + "sensors_row": "`1795185738`,2026-11-20T08:42:18-06:00,180,6.11,0,3.88,`113075784`,1,2942", "sensors_row_age_s": 2} 7 +} evidence/q38-stress-gb10-20261120T143359Z/paged/results.txt new file mode 100644 @@ -0,0 +1,8 @@ 1 +2026-11-20T14:42:23Z timing start 2 +2026-11-20T14:42:23Z timing exit 0 3 +2026-11-20T14:42:23Z sweep start 4 +2026-11-20T14:42:24Z sweep exit 0 5 +2026-11-20T14:42:24Z split-64 start 6 +2026-11-20T14:42:24Z split-64 exit 0 7 +2026-11-20T14:42:24Z split-128 start 8 +2026-11-20T14:42:25Z split-128 exit 0 evidence/q38-stress-gb10-20261120T143359Z/paged/run.sh new file mode 100644 @@ -0,0 +1,32 @@ 1 +#!/bin/bash 2 +set -euo pipefail 3 +out=$1 4 +cd "$out/../source" 5 +test "$(git rev-parse HEAD)" = `371a882a5dc8509809abd9d4bbdf1316963f9d51` 6 +test -z "$(git status --porcelain)" 7 +printf '%s CLAIM Codex Q38 and attention stress, `371a882a5`, exclusive GPU and quiet timing window, 15 minute lease. Contact via board.\n' "$(date -u +%FT%TZ)" >> ~/handoffs/BOARD.md 8 +spark-window open codex-paged-stress-`371a882a5` --gb10 exclusive --quiet exclusive --lease 15 --wait > "$out/window.txt" 9 +wid=$(spark-window id) 10 +monitor= 11 +cleanup() { 12 + if [ -n "$monitor" ]; then kill "$monitor" 2>/dev/null || true; wait "$monitor" 2>/dev/null || true; fi 13 + spark-window close "$wid" > "$out/close.log" 14 + cp ~/yardsticks/windows/"$wid"/{open,close}.json "$out/" 15 + printf '%s RELEASE Codex Q38 and attention stress %s.\n' "$(date -u +%FT%TZ)" "$wid" >> ~/handoffs/BOARD.md 16 +} 17 +trap cleanup EXIT 18 +nvidia-smi --query-gpu=timestamp,utilization.gpu,clocks.sm,temperature.gpu,power.draw --format=csv,nounits -l 1 > "$out/telemetry.csv" & 19 +monitor=$! 20 +run() { 21 + name=$1; shift 22 + printf '%s %s start\n' "$(date -u +%FT%TZ)" "$name" >> "$out/results.txt" 23 + set +e 24 + spark-window run /usr/bin/time -v -o "$out/$name.time" "$@" > "$out/$name.log" 2>&1 25 + code=$? 26 + set -e 27 + printf '%s %s exit %d\n' "$(date -u +%FT%TZ)" "$name" "$code" >> "$out/results.txt" 28 + return "$code" 29 +} 30 +run timing ./build/gpu_attention_test --timing --out "$out/timing.json" 31 +run sweep ./build/gpu_attention_test --sweep --out "$out/sweep.json" 32 +for h in 64 128; do run "split-$h" ./build/gpu_attention_test --split-timing --hd "$h" --out "$out/split-$h.json"; done evidence/q38-stress-gb10-20261120T143359Z/paged/split-128.json new file mode 100644 @@ -0,0 +1 @@ 1 +{"schema":"OMEGA_GPU_ATTENTION_SPLIT_TIMING_V1","hd":128,"ctx":1268,"calls":100,"spin_us":0,"cases":[{"split":-1,"ctas":64,"ok_calls":100,"violations":0,"worst_scaled_err":0.`00102621`,"median_ms":0.3008,"p90_ms":0.4213,"min_ms":0.2097,"max_ms":0.5304,"chip_us_mean":122.5,"pass":true},{"split":0,"ctas":8,"ok_calls":100,"violations":0,"worst_scaled_err":0.`00245374`,"median_ms":0.3785,"p90_ms":0.4928,"min_ms":0.3110,"max_ms":0.6742,"chip_us_mean":249.7,"pass":true},{"split":1,"ctas":16,"ok_calls":100,"violations":0,"worst_scaled_err":0.`00208856`,"median_ms":0.2151,"p90_ms":0.3259,"min_ms":0.2022,"max_ms":0.3672,"chip_us_mean":134.4,"pass":true},{"split":2,"ctas":32,"ok_calls":100,"violations":0,"worst_scaled_err":0.`0013752`,"median_ms":0.2260,"p90_ms":0.3355,"min_ms":0.2117,"max_ms":0.4723,"chip_us_mean":143.8,"pass":true},{"split":3,"ctas":64,"ok_calls":100,"violations":0,"worst_scaled_err":0.`00102621`,"median_ms":0.2456,"p90_ms":0.3463,"min_ms":0.2313,"max_ms":0.4502,"chip_us_mean":122.3,"pass":true},{"split":4,"ctas":128,"ok_calls":100,"violations":0,"worst_scaled_err":0.`00102621`,"median_ms":0.2653,"p90_ms":0.3751,"min_ms":0.2249,"max_ms":0.4632,"chip_us_mean":133.8,"pass":true}],"checks":12,"failed":0,"verdict":"OMEGA_GPU_ATTENTION_SPLIT_TIMING_PASS"} evidence/q38-stress-gb10-20261120T143359Z/paged/split-128.log new file mode 100644 @@ -0,0 +1,7 @@ 1 +PASS split-timing split=auto ctas=64 ctx=1268 ok_calls=100/100 worst_scaled_err=0.`00102621` median_ms=0.301 p90_ms=0.421 min_ms=0.210 max_ms=0.530 chip_us_mean=122.5 2 +PASS split-timing split=1 ctas=8 ctx=1268 ok_calls=100/100 worst_scaled_err=0.`00245374` median_ms=0.379 p90_ms=0.493 min_ms=0.311 max_ms=0.674 chip_us_mean=249.7 3 +PASS split-timing split=2 ctas=16 ctx=1268 ok_calls=100/100 worst_scaled_err=0.`00208856` median_ms=0.215 p90_ms=0.326 min_ms=0.202 max_ms=0.367 chip_us_mean=134.4 4 +PASS split-timing split=4 ctas=32 ctx=1268 ok_calls=100/100 worst_scaled_err=0.`0013752` median_ms=0.226 p90_ms=0.336 min_ms=0.212 max_ms=0.472 chip_us_mean=143.8 5 +PASS split-timing split=8 ctas=64 ctx=1268 ok_calls=100/100 worst_scaled_err=0.`00102621` median_ms=0.246 p90_ms=0.346 min_ms=0.231 max_ms=0.450 chip_us_mean=122.3 6 +PASS split-timing split=16 ctas=128 ctx=1268 ok_calls=100/100 worst_scaled_err=0.`00102621` median_ms=0.265 p90_ms=0.375 min_ms=0.225 max_ms=0.463 chip_us_mean=133.8 7 +PASS: 12 checks, 0 failed evidence/q38-stress-gb10-20261120T143359Z/paged/split-128.time new file mode 100644 @@ -0,0 +1,23 @@ 1 + Command being timed: "./build/gpu_attention_test --split-timing --hd 128 --out /home/drakestapleton/handoffs/omega-q38-main-`371a882a5`-IV5N7v/paged/split-128.json" 2 + User time (seconds): 0.10 3 + System time (seconds): 0.19 4 + Percent of CPU this job got: 60% 5 + Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.48 6 + Average shared text size (kbytes): 0 7 + Average unshared data size (kbytes): 0 8 + Average stack size (kbytes): 0 9 + Average total size (kbytes): 0 10 + Maximum resident set size (kbytes): 20368 11 + Average resident set size (kbytes): 0 12 + Major (requiring I/O) page faults: 0 13 + Minor (reclaiming a frame) page faults: 3108 14 + Voluntary context switches: 916 15 + Involuntary context switches: 9 16 + Swaps: 0 17 + File system inputs: 0 18 + File system outputs: 16 19 + Socket messages sent: 0 20 + Socket messages received: 0 21 + Signals delivered: 0 22 + Page size (bytes): 4096 23 + Exit status: 0 evidence/q38-stress-gb10-20261120T143359Z/paged/split-64.json new file mode 100644 @@ -0,0 +1 @@ 1 +{"schema":"OMEGA_GPU_ATTENTION_SPLIT_TIMING_V1","hd":64,"ctx":1268,"calls":100,"spin_us":0,"cases":[{"split":-1,"ctas":512,"ok_calls":100,"violations":0,"worst_scaled_err":0.`000654305`,"median_ms":0.4133,"p90_ms":0.5144,"min_ms":0.3020,"max_ms":0.5539,"chip_us_mean":297.4,"pass":true},{"split":0,"ctas":32,"ok_calls":100,"violations":0,"worst_scaled_err":0.`00334406`,"median_ms":0.3748,"p90_ms":0.4832,"min_ms":0.2642,"max_ms":0.5925,"chip_us_mean":304.7,"pass":true},{"split":1,"ctas":64,"ok_calls":100,"violations":0,"worst_scaled_err":0.`00212117`,"median_ms":0.1885,"p90_ms":0.3069,"min_ms":0.1781,"max_ms":0.3997,"chip_us_mean":154.3,"pass":true},{"split":2,"ctas":128,"ok_calls":100,"violations":0,"worst_scaled_err":0.`00117787`,"median_ms":0.1934,"p90_ms":0.2097,"min_ms":0.1752,"max_ms":0.2766,"chip_us_mean":114.1,"pass":true},{"split":3,"ctas":256,"ok_calls":100,"violations":0,"worst_scaled_err":0.`00103936`,"median_ms":0.2093,"p90_ms":0.2300,"min_ms":0.1919,"max_ms":0.3224,"chip_us_mean":119.8,"pass":true},{"split":4,"ctas":512,"ok_calls":100,"violations":0,"worst_scaled_err":0.`000654305`,"median_ms":0.2391,"p90_ms":0.2541,"min_ms":0.2126,"max_ms":0.3174,"chip_us_mean":113.4,"pass":true}],"checks":12,"failed":0,"verdict":"OMEGA_GPU_ATTENTION_SPLIT_TIMING_PASS"} evidence/q38-stress-gb10-20261120T143359Z/paged/split-64.log new file mode 100644 @@ -0,0 +1,7 @@ 1 +PASS split-timing split=auto ctas=512 ctx=1268 ok_calls=100/100 worst_scaled_err=0.`000654305` median_ms=0.413 p90_ms=0.514 min_ms=0.302 max_ms=0.554 chip_us_mean=297.4 2 +PASS split-timing split=1 ctas=32 ctx=1268 ok_calls=100/100 worst_scaled_err=0.`00334406` median_ms=0.375 p90_ms=0.483 min_ms=0.264 max_ms=0.593 chip_us_mean=304.7 3 +PASS split-timing split=2 ctas=64 ctx=1268 ok_calls=100/100 worst_scaled_err=0.`00212117` median_ms=0.188 p90_ms=0.307 min_ms=0.178 max_ms=0.400 chip_us_mean=154.3 4 +PASS split-timing split=4 ctas=128 ctx=1268 ok_calls=100/100 worst_scaled_err=0.`00117787` median_ms=0.193 p90_ms=0.210 min_ms=0.175 max_ms=0.277 chip_us_mean=114.1 5 +PASS split-timing split=8 ctas=256 ctx=1268 ok_calls=100/100 worst_scaled_err=0.`00103936` median_ms=0.209 p90_ms=0.230 min_ms=0.192 max_ms=0.322 chip_us_mean=119.8 6 +PASS split-timing split=16 ctas=512 ctx=1268 ok_calls=100/100 worst_scaled_err=0.`000654305` median_ms=0.239 p90_ms=0.254 min_ms=0.213 max_ms=0.317 chip_us_mean=113.4 7 +PASS: 12 checks, 0 failed evidence/q38-stress-gb10-20261120T143359Z/paged/split-64.time new file mode 100644 @@ -0,0 +1,23 @@ 1 + Command being timed: "./build/gpu_attention_test --split-timing --hd 64 --out /home/drakestapleton/handoffs/omega-q38-main-`371a882a5`-IV5N7v/paged/split-64.json" 2 + User time (seconds): 0.06 3 + System time (seconds): 0.20 4 + Percent of CPU this job got: 59% 5 + Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.45 6 + Average shared text size (kbytes): 0 7 + Average unshared data size (kbytes): 0 8 + Average stack size (kbytes): 0 9 + Average total size (kbytes): 0 10 + Maximum resident set size (kbytes): 12264 11 + Average resident set size (kbytes): 0 12 + Major (requiring I/O) page faults: 0 13 + Minor (reclaiming a frame) page faults: 1697 14 + Voluntary context switches: 1076 15 + Involuntary context switches: 12 16 + Swaps: 0 17 + File system inputs: 0 18 + File system outputs: 16 19 + Socket messages sent: 0 20 + Socket messages received: 0 21 + Signals delivered: 0 22 + Page size (bytes): 4096 23 + Exit status: 0 evidence/q38-stress-gb10-20261120T143359Z/paged/sweep.json new file mode 100644 @@ -0,0 +1 @@ 1 +{"schema":"OMEGA_GPU_ATTENTION_SWEEP_V1","path":"paged_bf16","head_dim":64,"block_size":16,"timed_calls":20,"host_simulator":false,"tolerances":{"rel":2e-4,"abs":2e-5},"hardware_counters":"unavailable (SM occupancy, bandwidth utilisation, cache hit rates are not observable through this path)","points":[{"q_heads":1,"kv_heads":1,"gqa_ratio":1,"head_dim":64,"context":256,"q_width":64,"out_width":64,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00054275`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":4,"threads_per_cta":64,"call_ms_median":0.1057,"call_ms_p90":0.1176,"kernel_ms_median":0.1039,"kernel_ms_p90":0.1146,"kernel_cache_hits":20,"first_call_cache_hit":false,"kv_bytes_staged":12288,"kv_bytes_naive":65536,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":256,"tab_bytes":68,"out_bytes":1056,"kv_source":"staged"},{"q_heads":1,"kv_heads":1,"gqa_ratio":1,"head_dim":64,"context":2048,"q_width":64,"out_width":64,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000613896`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":16,"threads_per_cta":64,"call_ms_median":0.1063,"call_ms_p90":0.1142,"kernel_ms_median":0.1031,"kernel_ms_p90":0.1061,"kernel_cache_hits":20,"first_call_cache_hit":false,"kv_bytes_staged":77824,"kv_bytes_naive":524288,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":256,"tab_bytes":516,"out_bytes":4224,"kv_source":"staged"},{"q_heads":2,"kv_heads":1,"gqa_ratio":2,"head_dim":64,"context":256,"q_width":128,"out_width":128,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000915783`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":8,"threads_per_cta":64,"call_ms_median":0.1046,"call_ms_p90":0.1054,"kernel_ms_median":0.1028,"kernel_ms_p90":0.1031,"kernel_cache_hits":20,"first_call_cache_hit":false,"kv_bytes_staged":12288,"kv_bytes_naive":65536,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":512,"tab_bytes":68,"out_bytes":2112,"kv_source":"staged"},{"q_heads":2,"kv_heads":1,"gqa_ratio":2,"head_dim":64,"context":2048,"q_width":128,"out_width":128,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00051606`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":32,"threads_per_cta":64,"call_ms_median":0.1072,"call_ms_p90":0.1171,"kernel_ms_median":0.1029,"kernel_ms_p90":0.1116,"kernel_cache_hits":20,"first_call_cache_hit":false,"kv_bytes_staged":77824,"kv_bytes_naive":524288,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":512,"tab_bytes":516,"out_bytes":8448,"kv_source":"staged"},{"q_heads":2,"kv_heads":2,"gqa_ratio":1,"head_dim":64,"context":256,"q_width":128,"out_width":128,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00103359`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":8,"threads_per_cta":64,"call_ms_median":0.1046,"call_ms_p90":0.1051,"kernel_ms_median":0.1028,"kernel_ms_p90":0.1031,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":24576,"kv_bytes_naive":131072,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":512,"tab_bytes":68,"out_bytes":2112,"kv_source":"staged"},{"q_heads":2,"kv_heads":2,"gqa_ratio":1,"head_dim":64,"context":2048,"q_width":128,"out_width":128,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000660894`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":32,"threads_per_cta":64,"call_ms_median":0.1076,"call_ms_p90":0.1092,"kernel_ms_median":0.1028,"kernel_ms_p90":0.1036,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":155648,"kv_bytes_naive":`1048576`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":512,"tab_bytes":516,"out_bytes":8448,"kv_source":"staged"},{"q_heads":4,"kv_heads":1,"gqa_ratio":4,"head_dim":64,"context":256,"q_width":256,"out_width":256,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00114263`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":16,"threads_per_cta":64,"call_ms_median":0.1050,"call_ms_p90":0.1053,"kernel_ms_median":0.1027,"kernel_ms_p90":0.1029,"kernel_cache_hits":20,"first_call_cache_hit":false,"kv_bytes_staged":12288,"kv_bytes_naive":65536,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":1024,"tab_bytes":68,"out_bytes":4224,"kv_source":"staged"},{"q_heads":4,"kv_heads":1,"gqa_ratio":4,"head_dim":64,"context":2048,"q_width":256,"out_width":256,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000593025`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":64,"threads_per_cta":64,"call_ms_median":0.1092,"call_ms_p90":0.1096,"kernel_ms_median":0.1028,"kernel_ms_p90":0.1031,"kernel_cache_hits":20,"first_call_cache_hit":false,"kv_bytes_staged":77824,"kv_bytes_naive":524288,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":1024,"tab_bytes":516,"out_bytes":16896,"kv_source":"staged"},{"q_heads":4,"kv_heads":2,"gqa_ratio":2,"head_dim":64,"context":256,"q_width":256,"out_width":256,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000809567`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":16,"threads_per_cta":64,"call_ms_median":0.1053,"call_ms_p90":0.1149,"kernel_ms_median":0.1029,"kernel_ms_p90":0.1124,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":24576,"kv_bytes_naive":131072,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":1024,"tab_bytes":68,"out_bytes":4224,"kv_source":"staged"},{"q_heads":4,"kv_heads":2,"gqa_ratio":2,"head_dim":64,"context":2048,"q_width":256,"out_width":256,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000605015`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":64,"threads_per_cta":64,"call_ms_median":0.1097,"call_ms_p90":0.1108,"kernel_ms_median":0.1028,"kernel_ms_p90":0.1038,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":155648,"kv_bytes_naive":`1048576`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":1024,"tab_bytes":516,"out_bytes":16896,"kv_source":"staged"},{"q_heads":4,"kv_heads":4,"gqa_ratio":1,"head_dim":64,"context":256,"q_width":256,"out_width":256,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00100267`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":16,"threads_per_cta":64,"call_ms_median":0.1054,"call_ms_p90":0.1057,"kernel_ms_median":0.1027,"kernel_ms_p90":0.1030,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":49152,"kv_bytes_naive":262144,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":1024,"tab_bytes":68,"out_bytes":4224,"kv_source":"staged"},{"q_heads":4,"kv_heads":4,"gqa_ratio":1,"head_dim":64,"context":2048,"q_width":256,"out_width":256,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000600994`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":64,"threads_per_cta":64,"call_ms_median":0.1116,"call_ms_p90":0.1307,"kernel_ms_median":0.1032,"kernel_ms_p90":0.1156,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":311296,"kv_bytes_naive":`2097152`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":1024,"tab_bytes":516,"out_bytes":16896,"kv_source":"staged"},{"q_heads":8,"kv_heads":1,"gqa_ratio":8,"head_dim":64,"context":256,"q_width":512,"out_width":512,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`0012878`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":32,"threads_per_cta":64,"call_ms_median":0.1062,"call_ms_p90":0.1068,"kernel_ms_median":0.1029,"kernel_ms_p90":0.1035,"kernel_cache_hits":20,"first_call_cache_hit":false,"kv_bytes_staged":12288,"kv_bytes_naive":65536,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":2048,"tab_bytes":68,"out_bytes":8448,"kv_source":"staged"},{"q_heads":8,"kv_heads":1,"gqa_ratio":8,"head_dim":64,"context":2048,"q_width":512,"out_width":512,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000633052`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":128,"threads_per_cta":64,"call_ms_median":0.1132,"call_ms_p90":0.1211,"kernel_ms_median":0.1029,"kernel_ms_p90":0.1046,"kernel_cache_hits":20,"first_call_cache_hit":false,"kv_bytes_staged":77824,"kv_bytes_naive":524288,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":2048,"tab_bytes":516,"out_bytes":33792,"kv_source":"staged"},{"q_heads":8,"kv_heads":2,"gqa_ratio":4,"head_dim":64,"context":256,"q_width":512,"out_width":512,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00108287`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":32,"threads_per_cta":64,"call_ms_median":0.1063,"call_ms_p90":0.1066,"kernel_ms_median":0.1029,"kernel_ms_p90":0.1031,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":24576,"kv_bytes_naive":131072,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":2048,"tab_bytes":68,"out_bytes":8448,"kv_source":"staged"},{"q_heads":8,"kv_heads":2,"gqa_ratio":4,"head_dim":64,"context":2048,"q_width":512,"out_width":512,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000777759`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":128,"threads_per_cta":64,"call_ms_median":0.1140,"call_ms_p90":0.1145,"kernel_ms_median":0.1028,"kernel_ms_p90":0.1033,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":155648,"kv_bytes_naive":`1048576`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":2048,"tab_bytes":516,"out_bytes":33792,"kv_source":"staged"},{"q_heads":8,"kv_heads":4,"gqa_ratio":2,"head_dim":64,"context":256,"q_width":512,"out_width":512,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00106688`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":32,"threads_per_cta":64,"call_ms_median":0.1066,"call_ms_p90":0.1128,"kernel_ms_median":0.1028,"kernel_ms_p90":0.1055,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":49152,"kv_bytes_naive":262144,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":2048,"tab_bytes":68,"out_bytes":8448,"kv_source":"staged"},{"q_heads":8,"kv_heads":4,"gqa_ratio":2,"head_dim":64,"context":2048,"q_width":512,"out_width":512,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00075066`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":128,"threads_per_cta":64,"call_ms_median":0.1193,"call_ms_p90":0.2449,"kernel_ms_median":0.1053,"kernel_ms_p90":0.2162,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":311296,"kv_bytes_naive":`2097152`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":2048,"tab_bytes":516,"out_bytes":33792,"kv_source":"staged"},{"q_heads":8,"kv_heads":8,"gqa_ratio":1,"head_dim":64,"context":256,"q_width":512,"out_width":512,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000945711`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":32,"threads_per_cta":64,"call_ms_median":0.1146,"call_ms_p90":0.1290,"kernel_ms_median":0.1050,"kernel_ms_p90":0.1182,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":98304,"kv_bytes_naive":524288,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":2048,"tab_bytes":68,"out_bytes":8448,"kv_source":"staged"},{"q_heads":8,"kv_heads":8,"gqa_ratio":1,"head_dim":64,"context":2048,"q_width":512,"out_width":512,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00074738`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":128,"threads_per_cta":64,"call_ms_median":0.1465,"call_ms_p90":0.1571,"kernel_ms_median":0.1085,"kernel_ms_p90":0.1171,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":622592,"kv_bytes_naive":`4194304`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":2048,"tab_bytes":516,"out_bytes":33792,"kv_source":"staged"},{"q_heads":16,"kv_heads":1,"gqa_ratio":16,"head_dim":64,"context":256,"q_width":1024,"out_width":1024,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00116708`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":64,"threads_per_cta":64,"call_ms_median":0.1088,"call_ms_p90":0.1273,"kernel_ms_median":0.1030,"kernel_ms_p90":0.1158,"kernel_cache_hits":20,"first_call_cache_hit":false,"kv_bytes_staged":12288,"kv_bytes_naive":65536,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":4096,"tab_bytes":68,"out_bytes":16896,"kv_source":"staged"},{"q_heads":16,"kv_heads":1,"gqa_ratio":16,"head_dim":64,"context":2048,"q_width":1024,"out_width":1024,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000804221`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":256,"threads_per_cta":64,"call_ms_median":0.1216,"call_ms_p90":0.1937,"kernel_ms_median":0.1027,"kernel_ms_p90":0.1747,"kernel_cache_hits":20,"first_call_cache_hit":false,"kv_bytes_staged":77824,"kv_bytes_naive":524288,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":4096,"tab_bytes":516,"out_bytes":67584,"kv_source":"staged"},{"q_heads":16,"kv_heads":2,"gqa_ratio":8,"head_dim":64,"context":256,"q_width":1024,"out_width":1024,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`0012559`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":64,"threads_per_cta":64,"call_ms_median":0.1083,"call_ms_p90":0.1088,"kernel_ms_median":0.1027,"kernel_ms_p90":0.1034,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":24576,"kv_bytes_naive":131072,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":4096,"tab_bytes":68,"out_bytes":16896,"kv_source":"staged"},{"q_heads":16,"kv_heads":2,"gqa_ratio":8,"head_dim":64,"context":2048,"q_width":1024,"out_width":1024,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000721877`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":256,"threads_per_cta":64,"call_ms_median":0.1328,"call_ms_p90":0.2151,"kernel_ms_median":0.1082,"kernel_ms_p90":0.1748,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":155648,"kv_bytes_naive":`1048576`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":4096,"tab_bytes":516,"out_bytes":67584,"kv_source":"staged"},{"q_heads":16,"kv_heads":4,"gqa_ratio":4,"head_dim":64,"context":256,"q_width":1024,"out_width":1024,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00105089`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":64,"threads_per_cta":64,"call_ms_median":0.1170,"call_ms_p90":0.1314,"kernel_ms_median":0.1048,"kernel_ms_p90":0.1158,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":49152,"kv_bytes_naive":262144,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":4096,"tab_bytes":68,"out_bytes":16896,"kv_source":"staged"},{"q_heads":16,"kv_heads":4,"gqa_ratio":4,"head_dim":64,"context":2048,"q_width":1024,"out_width":1024,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000986507`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":256,"threads_per_cta":64,"call_ms_median":0.1545,"call_ms_p90":0.1727,"kernel_ms_median":0.1095,"kernel_ms_p90":0.1265,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":311296,"kv_bytes_naive":`2097152`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":4096,"tab_bytes":516,"out_bytes":67584,"kv_source":"staged"},{"q_heads":16,"kv_heads":8,"gqa_ratio":2,"head_dim":64,"context":256,"q_width":1024,"out_width":1024,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000962271`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":64,"threads_per_cta":64,"call_ms_median":0.1193,"call_ms_p90":0.1351,"kernel_ms_median":0.1057,"kernel_ms_p90":0.1207,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":98304,"kv_bytes_naive":524288,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":4096,"tab_bytes":68,"out_bytes":16896,"kv_source":"staged"},{"q_heads":16,"kv_heads":8,"gqa_ratio":2,"head_dim":64,"context":2048,"q_width":1024,"out_width":1024,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000765968`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":256,"threads_per_cta":64,"call_ms_median":0.1693,"call_ms_p90":0.2435,"kernel_ms_median":0.1168,"kernel_ms_p90":0.2097,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":622592,"kv_bytes_naive":`4194304`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":4096,"tab_bytes":516,"out_bytes":67584,"kv_source":"staged"},{"q_heads":16,"kv_heads":16,"gqa_ratio":1,"head_dim":64,"context":256,"q_width":1024,"out_width":1024,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00104407`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":64,"threads_per_cta":64,"call_ms_median":0.1099,"call_ms_p90":0.1144,"kernel_ms_median":0.1027,"kernel_ms_p90":0.1065,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":196608,"kv_bytes_naive":`1048576`,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":4096,"tab_bytes":68,"out_bytes":16896,"kv_source":"staged"},{"q_heads":16,"kv_heads":16,"gqa_ratio":1,"head_dim":64,"context":2048,"q_width":1024,"out_width":1024,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000910028`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":256,"threads_per_cta":64,"call_ms_median":0.1436,"call_ms_p90":0.1766,"kernel_ms_median":0.1052,"kernel_ms_p90":0.1145,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":`1245184`,"kv_bytes_naive":`8388608`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":4096,"tab_bytes":516,"out_bytes":67584,"kv_source":"staged"},{"q_heads":24,"kv_heads":1,"gqa_ratio":24,"head_dim":64,"context":256,"q_width":1536,"out_width":1536,"class":"unsupported_by_kernel_envelope","rc":"BAD_ARGS","pass":true},{"q_heads":24,"kv_heads":1,"gqa_ratio":24,"head_dim":64,"context":2048,"q_width":1536,"out_width":1536,"class":"unsupported_by_kernel_envelope","rc":"BAD_ARGS","pass":true},{"q_heads":24,"kv_heads":2,"gqa_ratio":12,"head_dim":64,"context":256,"q_width":1536,"out_width":1536,"class":"unsupported_by_kernel_envelope","rc":"BAD_ARGS","pass":true},{"q_heads":24,"kv_heads":2,"gqa_ratio":12,"head_dim":64,"context":2048,"q_width":1536,"out_width":1536,"class":"unsupported_by_kernel_envelope","rc":"BAD_ARGS","pass":true},{"q_heads":24,"kv_heads":3,"gqa_ratio":8,"head_dim":64,"context":256,"q_width":1536,"out_width":1536,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00116392`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":96,"threads_per_cta":64,"call_ms_median":0.1109,"call_ms_p90":0.1182,"kernel_ms_median":0.1030,"kernel_ms_p90":0.1072,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":36864,"kv_bytes_naive":196608,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":6144,"tab_bytes":68,"out_bytes":25344,"kv_source":"staged"},{"q_heads":24,"kv_heads":3,"gqa_ratio":8,"head_dim":64,"context":2048,"q_width":1536,"out_width":1536,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000687275`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":384,"threads_per_cta":64,"call_ms_median":0.2334,"call_ms_p90":0.2470,"kernel_ms_median":0.2043,"kernel_ms_p90":0.2088,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":233472,"kv_bytes_naive":`1572864`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":6144,"tab_bytes":516,"out_bytes":101376,"kv_source":"staged"},{"q_heads":24,"kv_heads":4,"gqa_ratio":6,"head_dim":64,"context":256,"q_width":1536,"out_width":1536,"class":"unsupported_by_kernel_envelope","rc":"BAD_ARGS","pass":true},{"q_heads":24,"kv_heads":4,"gqa_ratio":6,"head_dim":64,"context":2048,"q_width":1536,"out_width":1536,"class":"unsupported_by_kernel_envelope","rc":"BAD_ARGS","pass":true},{"q_heads":24,"kv_heads":6,"gqa_ratio":4,"head_dim":64,"context":256,"q_width":1536,"out_width":1536,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00134672`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":96,"threads_per_cta":64,"call_ms_median":0.1110,"call_ms_p90":0.1163,"kernel_ms_median":0.1027,"kernel_ms_p90":0.1040,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":73728,"kv_bytes_naive":393216,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":6144,"tab_bytes":68,"out_bytes":25344,"kv_source":"staged"},{"q_heads":24,"kv_heads":6,"gqa_ratio":4,"head_dim":64,"context":2048,"q_width":1536,"out_width":1536,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000869373`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":384,"threads_per_cta":64,"call_ms_median":0.2380,"call_ms_p90":0.2656,"kernel_ms_median":0.2048,"kernel_ms_p90":0.2145,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":466944,"kv_bytes_naive":`3145728`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":6144,"tab_bytes":516,"out_bytes":101376,"kv_source":"staged"},{"q_heads":24,"kv_heads":8,"gqa_ratio":3,"head_dim":64,"context":256,"q_width":1536,"out_width":1536,"class":"unsupported_by_kernel_envelope","rc":"BAD_ARGS","pass":true},{"q_heads":24,"kv_heads":8,"gqa_ratio":3,"head_dim":64,"context":2048,"q_width":1536,"out_width":1536,"class":"unsupported_by_kernel_envelope","rc":"BAD_ARGS","pass":true},{"q_heads":24,"kv_heads":12,"gqa_ratio":2,"head_dim":64,"context":256,"q_width":1536,"out_width":1536,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00109466`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":96,"threads_per_cta":64,"call_ms_median":0.1116,"call_ms_p90":0.1186,"kernel_ms_median":0.1027,"kernel_ms_p90":0.1036,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":147456,"kv_bytes_naive":786432,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":6144,"tab_bytes":68,"out_bytes":25344,"kv_source":"staged"},{"q_heads":24,"kv_heads":12,"gqa_ratio":2,"head_dim":64,"context":2048,"q_width":1536,"out_width":1536,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000905124`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":384,"threads_per_cta":64,"call_ms_median":0.2518,"call_ms_p90":0.2929,"kernel_ms_median":0.2063,"kernel_ms_p90":0.2328,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":933888,"kv_bytes_naive":`6291456`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":6144,"tab_bytes":516,"out_bytes":101376,"kv_source":"staged"},{"q_heads":24,"kv_heads":24,"gqa_ratio":1,"head_dim":64,"context":256,"q_width":1536,"out_width":1536,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00115814`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":96,"threads_per_cta":64,"call_ms_median":0.1137,"call_ms_p90":0.1245,"kernel_ms_median":0.1029,"kernel_ms_p90":0.1109,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":294912,"kv_bytes_naive":`1572864`,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":6144,"tab_bytes":68,"out_bytes":25344,"kv_source":"staged"},{"q_heads":24,"kv_heads":24,"gqa_ratio":1,"head_dim":64,"context":2048,"q_width":1536,"out_width":1536,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000723758`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":384,"threads_per_cta":64,"call_ms_median":0.2543,"call_ms_p90":0.3014,"kernel_ms_median":0.1902,"kernel_ms_p90":0.2253,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":`1867776`,"kv_bytes_naive":`12582912`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":6144,"tab_bytes":516,"out_bytes":101376,"kv_source":"staged"},{"q_heads":32,"kv_heads":1,"gqa_ratio":32,"head_dim":64,"context":256,"q_width":2048,"out_width":2048,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000983527`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":128,"threads_per_cta":64,"call_ms_median":0.1125,"call_ms_p90":0.1152,"kernel_ms_median":0.1027,"kernel_ms_p90":0.1034,"kernel_cache_hits":20,"first_call_cache_hit":false,"kv_bytes_staged":12288,"kv_bytes_naive":65536,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":8192,"tab_bytes":68,"out_bytes":33792,"kv_source":"staged"},{"q_heads":32,"kv_heads":1,"gqa_ratio":32,"head_dim":64,"context":2048,"q_width":2048,"out_width":2048,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00096523`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":512,"threads_per_cta":64,"call_ms_median":0.1382,"call_ms_p90":0.1468,"kernel_ms_median":0.1029,"kernel_ms_p90":0.1098,"kernel_cache_hits":20,"first_call_cache_hit":false,"kv_bytes_staged":77824,"kv_bytes_naive":524288,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":8192,"tab_bytes":516,"out_bytes":135168,"kv_source":"staged"},{"q_heads":32,"kv_heads":2,"gqa_ratio":16,"head_dim":64,"context":256,"q_width":2048,"out_width":2048,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00107618`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":128,"threads_per_cta":64,"call_ms_median":0.1129,"call_ms_p90":0.1230,"kernel_ms_median":0.1030,"kernel_ms_p90":0.1107,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":24576,"kv_bytes_naive":131072,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":8192,"tab_bytes":68,"out_bytes":33792,"kv_source":"staged"},{"q_heads":32,"kv_heads":2,"gqa_ratio":16,"head_dim":64,"context":2048,"q_width":2048,"out_width":2048,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000909898`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":512,"threads_per_cta":64,"call_ms_median":0.3427,"call_ms_p90":0.4456,"kernel_ms_median":0.3066,"kernel_ms_p90":0.4077,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":155648,"kv_bytes_naive":`1048576`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":8192,"tab_bytes":516,"out_bytes":135168,"kv_source":"staged"},{"q_heads":32,"kv_heads":4,"gqa_ratio":8,"head_dim":64,"context":256,"q_width":2048,"out_width":2048,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00148519`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":128,"threads_per_cta":64,"call_ms_median":0.1130,"call_ms_p90":0.1134,"kernel_ms_median":0.1027,"kernel_ms_p90":0.1029,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":49152,"kv_bytes_naive":262144,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":8192,"tab_bytes":68,"out_bytes":33792,"kv_source":"staged"},{"q_heads":32,"kv_heads":4,"gqa_ratio":8,"head_dim":64,"context":2048,"q_width":2048,"out_width":2048,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000728955`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":512,"threads_per_cta":64,"call_ms_median":0.4447,"call_ms_p90":0.4588,"kernel_ms_median":0.4066,"kernel_ms_p90":0.4101,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":311296,"kv_bytes_naive":`2097152`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":8192,"tab_bytes":516,"out_bytes":135168,"kv_source":"staged"},{"q_heads":32,"kv_heads":8,"gqa_ratio":4,"head_dim":64,"context":256,"q_width":2048,"out_width":2048,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00120324`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":128,"threads_per_cta":64,"call_ms_median":0.1135,"call_ms_p90":0.1190,"kernel_ms_median":0.1028,"kernel_ms_p90":0.1034,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":98304,"kv_bytes_naive":524288,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":8192,"tab_bytes":68,"out_bytes":33792,"kv_source":"staged"},{"q_heads":32,"kv_heads":8,"gqa_ratio":4,"head_dim":64,"context":2048,"q_width":2048,"out_width":2048,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000902204`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":512,"threads_per_cta":64,"call_ms_median":0.3521,"call_ms_p90":0.4629,"kernel_ms_median":0.3084,"kernel_ms_p90":0.4127,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":622592,"kv_bytes_naive":`4194304`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":8192,"tab_bytes":516,"out_bytes":135168,"kv_source":"staged"},{"q_heads":32,"kv_heads":16,"gqa_ratio":2,"head_dim":64,"context":256,"q_width":2048,"out_width":2048,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00134401`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":128,"threads_per_cta":64,"call_ms_median":0.1143,"call_ms_p90":0.1199,"kernel_ms_median":0.1028,"kernel_ms_p90":0.1060,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":196608,"kv_bytes_naive":`1048576`,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":8192,"tab_bytes":68,"out_bytes":33792,"kv_source":"staged"},{"q_heads":32,"kv_heads":16,"gqa_ratio":2,"head_dim":64,"context":2048,"q_width":2048,"out_width":2048,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000943157`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":512,"threads_per_cta":64,"call_ms_median":0.3734,"call_ms_p90":0.4880,"kernel_ms_median":0.3146,"kernel_ms_p90":0.4279,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":`1245184`,"kv_bytes_naive":`8388608`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":8192,"tab_bytes":516,"out_bytes":135168,"kv_source":"staged"},{"q_heads":32,"kv_heads":32,"gqa_ratio":1,"head_dim":64,"context":256,"q_width":2048,"out_width":2048,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`0011642`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":128,"threads_per_cta":64,"call_ms_median":0.1171,"call_ms_p90":0.1261,"kernel_ms_median":0.1032,"kernel_ms_p90":0.1076,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":393216,"kv_bytes_naive":`2097152`,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":8192,"tab_bytes":68,"out_bytes":33792,"kv_source":"staged"},{"q_heads":32,"kv_heads":32,"gqa_ratio":1,"head_dim":64,"context":2048,"q_width":2048,"out_width":2048,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000786263`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":512,"threads_per_cta":64,"call_ms_median":0.3032,"call_ms_p90":0.4002,"kernel_ms_median":0.2225,"kernel_ms_p90":0.3233,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":`2490368`,"kv_bytes_naive":`16777216`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":8192,"tab_bytes":516,"out_bytes":135168,"kv_source":"staged"},{"q_heads":64,"kv_heads":1,"gqa_ratio":64,"head_dim":64,"context":256,"q_width":4096,"out_width":4096,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00130635`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":256,"threads_per_cta":64,"call_ms_median":0.1211,"call_ms_p90":0.1223,"kernel_ms_median":0.1027,"kernel_ms_p90":0.1030,"kernel_cache_hits":20,"first_call_cache_hit":false,"kv_bytes_staged":12288,"kv_bytes_naive":65536,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":16384,"tab_bytes":68,"out_bytes":67584,"kv_source":"staged"},{"q_heads":64,"kv_heads":1,"gqa_ratio":64,"head_dim":64,"context":2048,"q_width":4096,"out_width":4096,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00103163`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":1024,"threads_per_cta":64,"call_ms_median":0.2717,"call_ms_p90":0.2755,"kernel_ms_median":0.2041,"kernel_ms_p90":0.2054,"kernel_cache_hits":20,"first_call_cache_hit":false,"kv_bytes_staged":77824,"kv_bytes_naive":524288,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":16384,"tab_bytes":516,"out_bytes":270336,"kv_source":"staged"},{"q_heads":64,"kv_heads":2,"gqa_ratio":32,"head_dim":64,"context":256,"q_width":4096,"out_width":4096,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00117469`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":256,"threads_per_cta":64,"call_ms_median":0.1210,"call_ms_p90":0.1249,"kernel_ms_median":0.1027,"kernel_ms_p90":0.1043,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":24576,"kv_bytes_naive":131072,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":16384,"tab_bytes":68,"out_bytes":67584,"kv_source":"staged"},{"q_heads":64,"kv_heads":2,"gqa_ratio":32,"head_dim":64,"context":2048,"q_width":4096,"out_width":4096,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000887297`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":1024,"threads_per_cta":64,"call_ms_median":0.4711,"call_ms_p90":0.4840,"kernel_ms_median":0.4030,"kernel_ms_p90":0.4127,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":155648,"kv_bytes_naive":`1048576`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":16384,"tab_bytes":516,"out_bytes":270336,"kv_source":"staged"},{"q_heads":64,"kv_heads":4,"gqa_ratio":16,"head_dim":64,"context":256,"q_width":4096,"out_width":4096,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`0014115`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":256,"threads_per_cta":64,"call_ms_median":0.1211,"call_ms_p90":0.1276,"kernel_ms_median":0.1027,"kernel_ms_p90":0.1080,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":49152,"kv_bytes_naive":262144,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":16384,"tab_bytes":68,"out_bytes":67584,"kv_source":"staged"},{"q_heads":64,"kv_heads":4,"gqa_ratio":16,"head_dim":64,"context":2048,"q_width":4096,"out_width":4096,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000843739`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":1024,"threads_per_cta":64,"call_ms_median":0.5048,"call_ms_p90":0.5901,"kernel_ms_median":0.4303,"kernel_ms_p90":0.5128,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":311296,"kv_bytes_naive":`2097152`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":16384,"tab_bytes":516,"out_bytes":270336,"kv_source":"staged"},{"q_heads":64,"kv_heads":8,"gqa_ratio":8,"head_dim":64,"context":256,"q_width":4096,"out_width":4096,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`0011426`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":256,"threads_per_cta":64,"call_ms_median":0.1216,"call_ms_p90":0.1219,"kernel_ms_median":0.1027,"kernel_ms_p90":0.1030,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":98304,"kv_bytes_naive":524288,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":16384,"tab_bytes":68,"out_bytes":67584,"kv_source":"staged"},{"q_heads":64,"kv_heads":8,"gqa_ratio":8,"head_dim":64,"context":2048,"q_width":4096,"out_width":4096,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000889638`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":1024,"threads_per_cta":64,"call_ms_median":0.5923,"call_ms_p90":0.6595,"kernel_ms_median":0.5146,"kernel_ms_p90":0.5824,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":622592,"kv_bytes_naive":`4194304`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":16384,"tab_bytes":516,"out_bytes":270336,"kv_source":"staged"},{"q_heads":64,"kv_heads":16,"gqa_ratio":4,"head_dim":64,"context":256,"q_width":4096,"out_width":4096,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00133774`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":256,"threads_per_cta":64,"call_ms_median":0.1233,"call_ms_p90":0.1356,"kernel_ms_median":0.1031,"kernel_ms_p90":0.1134,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":196608,"kv_bytes_naive":`1048576`,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":16384,"tab_bytes":68,"out_bytes":67584,"kv_source":"staged"},{"q_heads":64,"kv_heads":16,"gqa_ratio":4,"head_dim":64,"context":2048,"q_width":4096,"out_width":4096,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000935371`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":1024,"threads_per_cta":64,"call_ms_median":0.6025,"call_ms_p90":0.7174,"kernel_ms_median":0.5128,"kernel_ms_p90":0.6178,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":`1245184`,"kv_bytes_naive":`8388608`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":16384,"tab_bytes":516,"out_bytes":270336,"kv_source":"staged"},{"q_heads":64,"kv_heads":32,"gqa_ratio":2,"head_dim":64,"context":256,"q_width":4096,"out_width":4096,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`0013971`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":256,"threads_per_cta":64,"call_ms_median":0.1276,"call_ms_p90":0.1506,"kernel_ms_median":0.1034,"kernel_ms_p90":0.1142,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":393216,"kv_bytes_naive":`2097152`,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":16384,"tab_bytes":68,"out_bytes":67584,"kv_source":"staged"},{"q_heads":64,"kv_heads":32,"gqa_ratio":2,"head_dim":64,"context":2048,"q_width":4096,"out_width":4096,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`000789703`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":1024,"threads_per_cta":64,"call_ms_median":0.5505,"call_ms_p90":0.8004,"kernel_ms_median":0.4158,"kernel_ms_p90":0.6666,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":`2490368`,"kv_bytes_naive":`16777216`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":16384,"tab_bytes":516,"out_bytes":270336,"kv_source":"staged"},{"q_heads":64,"kv_heads":64,"gqa_ratio":1,"head_dim":64,"context":256,"q_width":4096,"out_width":4096,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00124046`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":256,"threads_per_cta":64,"call_ms_median":0.1342,"call_ms_p90":0.1354,"kernel_ms_median":0.1038,"kernel_ms_p90":0.1043,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":786432,"kv_bytes_naive":`4194304`,"kv_blocks_logical":16,"kv_blocks_unique":3,"q_bytes":16384,"tab_bytes":68,"out_bytes":67584,"kv_source":"staged"},{"q_heads":64,"kv_heads":64,"gqa_ratio":1,"head_dim":64,"context":2048,"q_width":4096,"out_width":4096,"class":"supported","rc":"OK","pass":true,"violations":0,"worst_scaled_err":0.`00162937`,"unwritten_words":0,"launches_per_call":1,"ctas_last_launch":1024,"threads_per_cta":64,"call_ms_median":0.8274,"call_ms_p90":0.9440,"kernel_ms_median":0.6406,"kernel_ms_p90":0.7476,"kernel_cache_hits":20,"first_call_cache_hit":true,"kv_bytes_staged":`4980736`,"kv_bytes_naive":`33554432`,"kv_blocks_logical":128,"kv_blocks_unique":19,"q_bytes":16384,"tab_bytes":516,"out_bytes":270336,"kv_source":"staged"}],"points_total":72,"points_supported":64,"points_unsupported":8,"device_opens":1,"checks":73,"failed":0,"verdict":"OMEGA_GPU_ATTENTION_SWEEP_PASS"} evidence/q38-stress-gb10-20261120T143359Z/paged/sweep.log new file mode 100644 @@ -0,0 +1,74 @@ 1 +PASS sweep 1q/ 1kv ratio 1 ctx 256: launches=1 ctas=4 call_ms med=0.106 p90=0.118 kernel_ms med=0.104 p90=0.115 kv_staged=12288 (naive 65536) blocks=3/16 q=256 tab=68 out=1056 worst=0.`00054275` 2 +PASS sweep 1q/ 1kv ratio 1 ctx 2048: launches=1 ctas=16 call_ms med=0.106 p90=0.114 kernel_ms med=0.103 p90=0.106 kv_staged=77824 (naive 524288) blocks=19/128 q=256 tab=516 out=4224 worst=0.`000613896` 3 +PASS sweep 2q/ 1kv ratio 2 ctx 256: launches=1 ctas=8 call_ms med=0.105 p90=0.105 kernel_ms med=0.103 p90=0.103 kv_staged=12288 (naive 65536) blocks=3/16 q=512 tab=68 out=2112 worst=0.`000915783` 4 +PASS sweep 2q/ 1kv ratio 2 ctx 2048: launches=1 ctas=32 call_ms med=0.107 p90=0.117 kernel_ms med=0.103 p90=0.112 kv_staged=77824 (naive 524288) blocks=19/128 q=512 tab=516 out=8448 worst=0.`00051606` 5 +PASS sweep 2q/ 2kv ratio 1 ctx 256: launches=1 ctas=8 call_ms med=0.105 p90=0.105 kernel_ms med=0.103 p90=0.103 kv_staged=24576 (naive 131072) blocks=3/16 q=512 tab=68 out=2112 worst=0.`00103359` 6 +PASS sweep 2q/ 2kv ratio 1 ctx 2048: launches=1 ctas=32 call_ms med=0.108 p90=0.109 kernel_ms med=0.103 p90=0.104 kv_staged=155648 (naive `1048576`) blocks=19/128 q=512 tab=516 out=8448 worst=0.`000660894` 7 +PASS sweep 4q/ 1kv ratio 4 ctx 256: launches=1 ctas=16 call_ms med=0.105 p90=0.105 kernel_ms med=0.103 p90=0.103 kv_staged=12288 (naive 65536) blocks=3/16 q=1024 tab=68 out=4224 worst=0.`00114263` 8 +PASS sweep 4q/ 1kv ratio 4 ctx 2048: launches=1 ctas=64 call_ms med=0.109 p90=0.110 kernel_ms med=0.103 p90=0.103 kv_staged=77824 (naive 524288) blocks=19/128 q=1024 tab=516 out=16896 worst=0.`000593025` 9 +PASS sweep 4q/ 2kv ratio 2 ctx 256: launches=1 ctas=16 call_ms med=0.105 p90=0.115 kernel_ms med=0.103 p90=0.112 kv_staged=24576 (naive 131072) blocks=3/16 q=1024 tab=68 out=4224 worst=0.`000809567` 10 +PASS sweep 4q/ 2kv ratio 2 ctx 2048: launches=1 ctas=64 call_ms med=0.110 p90=0.111 kernel_ms med=0.103 p90=0.104 kv_staged=155648 (naive `1048576`) blocks=19/128 q=1024 tab=516 out=16896 worst=0.`000605015` 11 +PASS sweep 4q/ 4kv ratio 1 ctx 256: launches=1 ctas=16 call_ms med=0.105 p90=0.106 kernel_ms med=0.103 p90=0.103 kv_staged=49152 (naive 262144) blocks=3/16 q=1024 tab=68 out=4224 worst=0.`00100267` 12 +PASS sweep 4q/ 4kv ratio 1 ctx 2048: launches=1 ctas=64 call_ms med=0.112 p90=0.131 kernel_ms med=0.103 p90=0.116 kv_staged=311296 (naive `2097152`) blocks=19/128 q=1024 tab=516 out=16896 worst=0.`000600994` 13 +PASS sweep 8q/ 1kv ratio 8 ctx 256: launches=1 ctas=32 call_ms med=0.106 p90=0.107 kernel_ms med=0.103 p90=0.103 kv_staged=12288 (naive 65536) blocks=3/16 q=2048 tab=68 out=8448 worst=0.`0012878` 14 +PASS sweep 8q/ 1kv ratio 8 ctx 2048: launches=1 ctas=128 call_ms med=0.113 p90=0.121 kernel_ms med=0.103 p90=0.105 kv_staged=77824 (naive 524288) blocks=19/128 q=2048 tab=516 out=33792 worst=0.`000633052` 15 +PASS sweep 8q/ 2kv ratio 4 ctx 256: launches=1 ctas=32 call_ms med=0.106 p90=0.107 kernel_ms med=0.103 p90=0.103 kv_staged=24576 (naive 131072) blocks=3/16 q=2048 tab=68 out=8448 worst=0.`00108287` 16 +PASS sweep 8q/ 2kv ratio 4 ctx 2048: launches=1 ctas=128 call_ms med=0.114 p90=0.115 kernel_ms med=0.103 p90=0.103 kv_staged=155648 (naive `1048576`) blocks=19/128 q=2048 tab=516 out=33792 worst=0.`000777759` 17 +PASS sweep 8q/ 4kv ratio 2 ctx 256: launches=1 ctas=32 call_ms med=0.107 p90=0.113 kernel_ms med=0.103 p90=0.105 kv_staged=49152 (naive 262144) blocks=3/16 q=2048 tab=68 out=8448 worst=0.`00106688` 18 +PASS sweep 8q/ 4kv ratio 2 ctx 2048: launches=1 ctas=128 call_ms med=0.119 p90=0.245 kernel_ms med=0.105 p90=0.216 kv_staged=311296 (naive `2097152`) blocks=19/128 q=2048 tab=516 out=33792 worst=0.`00075066` 19 +PASS sweep 8q/ 8kv ratio 1 ctx 256: launches=1 ctas=32 call_ms med=0.115 p90=0.129 kernel_ms med=0.105 p90=0.118 kv_staged=98304 (naive 524288) blocks=3/16 q=2048 tab=68 out=8448 worst=0.`000945711` 20 +PASS sweep 8q/ 8kv ratio 1 ctx 2048: launches=1 ctas=128 call_ms med=0.147 p90=0.157 kernel_ms med=0.108 p90=0.117 kv_staged=622592 (naive `4194304`) blocks=19/128 q=2048 tab=516 out=33792 worst=0.`00074738` 21 +PASS sweep 16q/ 1kv ratio 16 ctx 256: launches=1 ctas=64 call_ms med=0.109 p90=0.127 kernel_ms med=0.103 p90=0.116 kv_staged=12288 (naive 65536) blocks=3/16 q=4096 tab=68 out=16896 worst=0.`00116708` 22 +PASS sweep 16q/ 1kv ratio 16 ctx 2048: launches=1 ctas=256 call_ms med=0.122 p90=0.194 kernel_ms med=0.103 p90=0.175 kv_staged=77824 (naive 524288) blocks=19/128 q=4096 tab=516 out=67584 worst=0.`000804221` 23 +PASS sweep 16q/ 2kv ratio 8 ctx 256: launches=1 ctas=64 call_ms med=0.108 p90=0.109 kernel_ms med=0.103 p90=0.103 kv_staged=24576 (naive 131072) blocks=3/16 q=4096 tab=68 out=16896 worst=0.`0012559` 24 +PASS sweep 16q/ 2kv ratio 8 ctx 2048: launches=1 ctas=256 call_ms med=0.133 p90=0.215 kernel_ms med=0.108 p90=0.175 kv_staged=155648 (naive `1048576`) blocks=19/128 q=4096 tab=516 out=67584 worst=0.`000721877` 25 +PASS sweep 16q/ 4kv ratio 4 ctx 256: launches=1 ctas=64 call_ms med=0.117 p90=0.131 kernel_ms med=0.105 p90=0.116 kv_staged=49152 (naive 262144) blocks=3/16 q=4096 tab=68 out=16896 worst=0.`00105089` 26 +PASS sweep 16q/ 4kv ratio 4 ctx 2048: launches=1 ctas=256 call_ms med=0.155 p90=0.173 kernel_ms med=0.109 p90=0.126 kv_staged=311296 (naive `2097152`) blocks=19/128 q=4096 tab=516 out=67584 worst=0.`000986507` 27 +PASS sweep 16q/ 8kv ratio 2 ctx 256: launches=1 ctas=64 call_ms med=0.119 p90=0.135 kernel_ms med=0.106 p90=0.121 kv_staged=98304 (naive 524288) blocks=3/16 q=4096 tab=68 out=16896 worst=0.`000962271` 28 +PASS sweep 16q/ 8kv ratio 2 ctx 2048: launches=1 ctas=256 call_ms med=0.169 p90=0.244 kernel_ms med=0.117 p90=0.210 kv_staged=622592 (naive `4194304`) blocks=19/128 q=4096 tab=516 out=67584 worst=0.`000765968` 29 +PASS sweep 16q/16kv ratio 1 ctx 256: launches=1 ctas=64 call_ms med=0.110 p90=0.114 kernel_ms med=0.103 p90=0.106 kv_staged=196608 (naive `1048576`) blocks=3/16 q=4096 tab=68 out=16896 worst=0.`00104407` 30 +PASS sweep 16q/16kv ratio 1 ctx 2048: launches=1 ctas=256 call_ms med=0.144 p90=0.177 kernel_ms med=0.105 p90=0.115 kv_staged=`1245184` (naive `8388608`) blocks=19/128 q=4096 tab=516 out=67584 worst=0.`000910028` 31 +PASS sweep 24q/ 1kv ratio 24 ctx 256: unsupported_by_kernel_envelope (rc=BAD_ARGS) 32 +PASS sweep 24q/ 1kv ratio 24 ctx 2048: unsupported_by_kernel_envelope (rc=BAD_ARGS) 33 +PASS sweep 24q/ 2kv ratio 12 ctx 256: unsupported_by_kernel_envelope (rc=BAD_ARGS) 34 +PASS sweep 24q/ 2kv ratio 12 ctx 2048: unsupported_by_kernel_envelope (rc=BAD_ARGS) 35 +PASS sweep 24q/ 3kv ratio 8 ctx 256: launches=1 ctas=96 call_ms med=0.111 p90=0.118 kernel_ms med=0.103 p90=0.107 kv_staged=36864 (naive 196608) blocks=3/16 q=6144 tab=68 out=25344 worst=0.`00116392` 36 +PASS sweep 24q/ 3kv ratio 8 ctx 2048: launches=1 ctas=384 call_ms med=0.233 p90=0.247 kernel_ms med=0.204 p90=0.209 kv_staged=233472 (naive `1572864`) blocks=19/128 q=6144 tab=516 out=101376 worst=0.`000687275` 37 +PASS sweep 24q/ 4kv ratio 6 ctx 256: unsupported_by_kernel_envelope (rc=BAD_ARGS) 38 +PASS sweep 24q/ 4kv ratio 6 ctx 2048: unsupported_by_kernel_envelope (rc=BAD_ARGS) 39 +PASS sweep 24q/ 6kv ratio 4 ctx 256: launches=1 ctas=96 call_ms med=0.111 p90=0.116 kernel_ms med=0.103 p90=0.104 kv_staged=73728 (naive 393216) blocks=3/16 q=6144 tab=68 out=25344 worst=0.`00134672` 40 +PASS sweep 24q/ 6kv ratio 4 ctx 2048: launches=1 ctas=384 call_ms med=0.238 p90=0.266 kernel_ms med=0.205 p90=0.214 kv_staged=466944 (naive `3145728`) blocks=19/128 q=6144 tab=516 out=101376 worst=0.`000869373` 41 +PASS sweep 24q/ 8kv ratio 3 ctx 256: unsupported_by_kernel_envelope (rc=BAD_ARGS) 42 +PASS sweep 24q/ 8kv ratio 3 ctx 2048: unsupported_by_kernel_envelope (rc=BAD_ARGS) 43 +PASS sweep 24q/12kv ratio 2 ctx 256: launches=1 ctas=96 call_ms med=0.112 p90=0.119 kernel_ms med=0.103 p90=0.104 kv_staged=147456 (naive 786432) blocks=3/16 q=6144 tab=68 out=25344 worst=0.`00109466` 44 +PASS sweep 24q/12kv ratio 2 ctx 2048: launches=1 ctas=384 call_ms med=0.252 p90=0.293 kernel_ms med=0.206 p90=0.233 kv_staged=933888 (naive `6291456`) blocks=19/128 q=6144 tab=516 out=101376 worst=0.`000905124` 45 +PASS sweep 24q/24kv ratio 1 ctx 256: launches=1 ctas=96 call_ms med=0.114 p90=0.125 kernel_ms med=0.103 p90=0.111 kv_staged=294912 (naive `1572864`) blocks=3/16 q=6144 tab=68 out=25344 worst=0.`00115814` 46 +PASS sweep 24q/24kv ratio 1 ctx 2048: launches=1 ctas=384 call_ms med=0.254 p90=0.301 kernel_ms med=0.190 p90=0.225 kv_staged=`1867776` (naive `12582912`) blocks=19/128 q=6144 tab=516 out=101376 worst=0.`000723758` 47 +PASS sweep 32q/ 1kv ratio 32 ctx 256: launches=1 ctas=128 call_ms med=0.113 p90=0.115 kernel_ms med=0.103 p90=0.103 kv_staged=12288 (naive 65536) blocks=3/16 q=8192 tab=68 out=33792 worst=0.`000983527` 48 +PASS sweep 32q/ 1kv ratio 32 ctx 2048: launches=1 ctas=512 call_ms med=0.138 p90=0.147 kernel_ms med=0.103 p90=0.110 kv_staged=77824 (naive 524288) blocks=19/128 q=8192 tab=516 out=135168 worst=0.`00096523` 49 +PASS sweep 32q/ 2kv ratio 16 ctx 256: launches=1 ctas=128 call_ms med=0.113 p90=0.123 kernel_ms med=0.103 p90=0.111 kv_staged=24576 (naive 131072) blocks=3/16 q=8192 tab=68 out=33792 worst=0.`00107618` 50 +PASS sweep 32q/ 2kv ratio 16 ctx 2048: launches=1 ctas=512 call_ms med=0.343 p90=0.446 kernel_ms med=0.307 p90=0.408 kv_staged=155648 (naive `1048576`) blocks=19/128 q=8192 tab=516 out=135168 worst=0.`000909898` 51 +PASS sweep 32q/ 4kv ratio 8 ctx 256: launches=1 ctas=128 call_ms med=0.113 p90=0.113 kernel_ms med=0.103 p90=0.103 kv_staged=49152 (naive 262144) blocks=3/16 q=8192 tab=68 out=33792 worst=0.`00148519` 52 +PASS sweep 32q/ 4kv ratio 8 ctx 2048: launches=1 ctas=512 call_ms med=0.445 p90=0.459 kernel_ms med=0.407 p90=0.410 kv_staged=311296 (naive `2097152`) blocks=19/128 q=8192 tab=516 out=135168 worst=0.`000728955` 53 +PASS sweep 32q/ 8kv ratio 4 ctx 256: launches=1 ctas=128 call_ms med=0.113 p90=0.119 kernel_ms med=0.103 p90=0.103 kv_staged=98304 (naive 524288) blocks=3/16 q=8192 tab=68 out=33792 worst=0.`00120324` 54 +PASS sweep 32q/ 8kv ratio 4 ctx 2048: launches=1 ctas=512 call_ms med=0.352 p90=0.463 kernel_ms med=0.308 p90=0.413 kv_staged=622592 (naive `4194304`) blocks=19/128 q=8192 tab=516 out=135168 worst=0.`000902204` 55 +PASS sweep 32q/16kv ratio 2 ctx 256: launches=1 ctas=128 call_ms med=0.114 p90=0.120 kernel_ms med=0.103 p90=0.106 kv_staged=196608 (naive `1048576`) blocks=3/16 q=8192 tab=68 out=33792 worst=0.`00134401` 56 +PASS sweep 32q/16kv ratio 2 ctx 2048: launches=1 ctas=512 call_ms med=0.373 p90=0.488 kernel_ms med=0.315 p90=0.428 kv_staged=`1245184` (naive `8388608`) blocks=19/128 q=8192 tab=516 out=135168 worst=0.`000943157` 57 +PASS sweep 32q/32kv ratio 1 ctx 256: launches=1 ctas=128 call_ms med=0.117 p90=0.126 kernel_ms med=0.103 p90=0.108 kv_staged=393216 (naive `2097152`) blocks=3/16 q=8192 tab=68 out=33792 worst=0.`0011642` 58 +PASS sweep 32q/32kv ratio 1 ctx 2048: launches=1 ctas=512 call_ms med=0.303 p90=0.400 kernel_ms med=0.223 p90=0.323 kv_staged=`2490368` (naive `16777216`) blocks=19/128 q=8192 tab=516 out=135168 worst=0.`000786263` 59 +PASS sweep 64q/ 1kv ratio 64 ctx 256: launches=1 ctas=256 call_ms med=0.121 p90=0.122 kernel_ms med=0.103 p90=0.103 kv_staged=12288 (naive 65536) blocks=3/16 q=16384 tab=68 out=67584 worst=0.`00130635` 60 +PASS sweep 64q/ 1kv ratio 64 ctx 2048: launches=1 ctas=1024 call_ms med=0.272 p90=0.276 kernel_ms med=0.204 p90=0.205 kv_staged=77824 (naive 524288) blocks=19/128 q=16384 tab=516 out=270336 worst=0.`00103163` 61 +PASS sweep 64q/ 2kv ratio 32 ctx 256: launches=1 ctas=256 call_ms med=0.121 p90=0.125 kernel_ms med=0.103 p90=0.104 kv_staged=24576 (naive 131072) blocks=3/16 q=16384 tab=68 out=67584 worst=0.`00117469` 62 +PASS sweep 64q/ 2kv ratio 32 ctx 2048: launches=1 ctas=1024 call_ms med=0.471 p90=0.484 kernel_ms med=0.403 p90=0.413 kv_staged=155648 (naive `1048576`) blocks=19/128 q=16384 tab=516 out=270336 worst=0.`000887297` 63 +PASS sweep 64q/ 4kv ratio 16 ctx 256: launches=1 ctas=256 call_ms med=0.121 p90=0.128 kernel_ms med=0.103 p90=0.108 kv_staged=49152 (naive 262144) blocks=3/16 q=16384 tab=68 out=67584 worst=0.`0014115` 64 +PASS sweep 64q/ 4kv ratio 16 ctx 2048: launches=1 ctas=1024 call_ms med=0.505 p90=0.590 kernel_ms med=0.430 p90=0.513 kv_staged=311296 (naive `2097152`) blocks=19/128 q=16384 tab=516 out=270336 worst=0.`000843739` 65 +PASS sweep 64q/ 8kv ratio 8 ctx 256: launches=1 ctas=256 call_ms med=0.122 p90=0.122 kernel_ms med=0.103 p90=0.103 kv_staged=98304 (naive 524288) blocks=3/16 q=16384 tab=68 out=67584 worst=0.`0011426` 66 +PASS sweep 64q/ 8kv ratio 8 ctx 2048: launches=1 ctas=1024 call_ms med=0.592 p90=0.659 kernel_ms med=0.515 p90=0.582 kv_staged=622592 (naive `4194304`) blocks=19/128 q=16384 tab=516 out=270336 worst=0.`000889638` 67 +PASS sweep 64q/16kv ratio 4 ctx 256: launches=1 ctas=256 call_ms med=0.123 p90=0.136 kernel_ms med=0.103 p90=0.113 kv_staged=196608 (naive `1048576`) blocks=3/16 q=16384 tab=68 out=67584 worst=0.`00133774` 68 +PASS sweep 64q/16kv ratio 4 ctx 2048: launches=1 ctas=1024 call_ms med=0.602 p90=0.717 kernel_ms med=0.513 p90=0.618 kv_staged=`1245184` (naive `8388608`) blocks=19/128 q=16384 tab=516 out=270336 worst=0.`000935371` 69 +PASS sweep 64q/32kv ratio 2 ctx 256: launches=1 ctas=256 call_ms med=0.128 p90=0.151 kernel_ms med=0.103 p90=0.114 kv_staged=393216 (naive `2097152`) blocks=3/16 q=16384 tab=68 out=67584 worst=0.`0013971` 70 +PASS sweep 64q/32kv ratio 2 ctx 2048: launches=1 ctas=1024 call_ms med=0.550 p90=0.800 kernel_ms med=0.416 p90=0.667 kv_staged=`2490368` (naive `16777216`) blocks=19/128 q=16384 tab=516 out=270336 worst=0.`000789703` 71 +PASS sweep 64q/64kv ratio 1 ctx 256: launches=1 ctas=256 call_ms med=0.134 p90=0.135 kernel_ms med=0.104 p90=0.104 kv_staged=786432 (naive `4194304`) blocks=3/16 q=16384 tab=68 out=67584 worst=0.`00124046` 72 +PASS sweep 64q/64kv ratio 1 ctx 2048: launches=1 ctas=1024 call_ms med=0.827 p90=0.944 kernel_ms med=0.641 p90=0.748 kv_staged=`4980736` (naive `33554432`) blocks=19/128 q=16384 tab=516 out=270336 worst=0.`00162937` 73 +sweep: 72 points (64 supported, 8 unsupported by the kernel envelope), device_opens=1 74 +PASS: 73 checks, 0 failed evidence/q38-stress-gb10-20261120T143359Z/paged/sweep.time new file mode 100644 @@ -0,0 +1,23 @@ 1 + Command being timed: "./build/gpu_attention_test --sweep --out /home/drakestapleton/handoffs/omega-q38-main-`371a882a5`-IV5N7v/paged/sweep.json" 2 + User time (seconds): 0.27 3 + System time (seconds): 0.22 4 + Percent of CPU this job got: 63% 5 + Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.78 6 + Average shared text size (kbytes): 0 7 + Average unshared data size (kbytes): 0 8 + Average stack size (kbytes): 0 9 + Average total size (kbytes): 0 10 + Maximum resident set size (kbytes): 60016 11 + Average resident set size (kbytes): 0 12 + Major (requiring I/O) page faults: 0 13 + Minor (reclaiming a frame) page faults: 24872 14 + Voluntary context switches: 2108 15 + Involuntary context switches: 22 16 + Swaps: 0 17 + File system inputs: 0 18 + File system outputs: 112 19 + Socket messages sent: 0 20 + Socket messages received: 0 21 + Signals delivered: 0 22 + Page size (bytes): 4096 23 + Exit status: 0 evidence/q38-stress-gb10-20261120T143359Z/paged/telemetry.csv new file mode 100644 @@ -0,0 +1,4 @@ 1 +timestamp, utilization.gpu [%], clocks.current.sm [MHz], temperature.gpu, power.draw [W] 2 +2026/11/20 08:42:23.155, 0, 208, 49, 5.22 3 +2026/11/20 08:42:24.177, 0, 962, 50, 6.58 4 +2026/11/20 08:42:25.177, 15, 1280, 50, 11.94 evidence/q38-stress-gb10-20261120T143359Z/paged/timing.json new file mode 100644 @@ -0,0 +1 @@ 1 +{"schema":"OMEGA_GPU_ATTENTION_TIMING_V1","gate_median_ms":3.0,"calls":100,"cases":[{"case":"gqa_f32_tinyllama_32q4kv_ctx2048","first_call_ms":152.989,"ok_calls":100,"violations":0,"worst_scaled_err":0.`00323017`,"median_ms":0.5771,"p90_ms":0.7035,"min_ms":0.4188,"max_ms":0.9043,"chip_us_mean":483.1,"device_opens":1,"pass":true}],"checks":2,"failed":0,"verdict":"OMEGA_GPU_ATTENTION_TIMING_PASS"} evidence/q38-stress-gb10-20261120T143359Z/paged/timing.log new file mode 100644 @@ -0,0 +1,2 @@ 1 +PASS timing gqa_f32_tinyllama_32q4kv_ctx2048 first_call_ms=152.989 ok_calls=100/100 violations=0 worst_scaled_err=0.`00323017` median_ms=0.577 p90_ms=0.704 min_ms=0.419 max_ms=0.904 chip_us_mean=483.1 device_opens=1 2 +PASS: 2 checks, 0 failed evidence/q38-stress-gb10-20261120T143359Z/paged/timing.time new file mode 100644 @@ -0,0 +1,23 @@ 1 + Command being timed: "./build/gpu_attention_test --timing --out /home/drakestapleton/handoffs/omega-q38-main-`371a882a5`-IV5N7v/paged/timing.json" 2 + User time (seconds): 0.02 3 + System time (seconds): 0.18 4 + Percent of CPU this job got: 60% 5 + Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.33 6 + Average shared text size (kbytes): 0 7 + Average unshared data size (kbytes): 0 8 + Average stack size (kbytes): 0 9 + Average total size (kbytes): 0 10 + Maximum resident set size (kbytes): 12012 11 + Average resident set size (kbytes): 0 12 + Major (requiring I/O) page faults: 0 13 + Minor (reclaiming a frame) page faults: 1252 14 + Voluntary context switches: 531 15 + Involuntary context switches: 8 16 + Swaps: 0 17 + File system inputs: 0 18 + File system outputs: 16 19 + Socket messages sent: 0 20 + Socket messages received: 0 21 + Signals delivered: 0 22 + Page size (bytes): 4096 23 + Exit status: 0 evidence/q38-stress-gb10-20261120T143359Z/prepare-run.sh new file mode 100644 @@ -0,0 +1,22 @@ 1 +#!/bin/bash 2 +set -euo pipefail 3 +out=$1 4 +src=/tmp/osc-literal.1JF35k/landing-plain 5 +old=$HOME/handoffs/omega-stress-repeat-`20261120`-WI3xzN 6 +mkdir -p "$out/paged" 7 +ln -s "$src" "$out/source" 8 +cd "$src" 9 +rev=$(git rev-parse HEAD) 10 +test "$rev" = `371a882a5dc8509809abd9d4bbdf1316963f9d51` 11 +test -z "$(git status --porcelain)" 12 +test "$(git -C /tmp/physics-pin rev-parse HEAD)" = "$(cat physics.lock)" 13 +test -z "$(git -C /tmp/physics-pin status --porcelain -uno)" 14 +cp "$old/q38_stress_bench.c" "$out/" 15 +nice -n 10 make -j4 PHYSICS_DIR=/tmp/physics-pin build/gpu_q38_graph_test build/gpu_q38_stroke_exact_test build/gpu_attention_test > "$out/build.log" 2>&1 16 +cc -O2 -ffp-contract=off -Isrc "$out/q38_stress_bench.c" build/libomega_gpu.a -lpthread -lm -o "$out/q38_stress_bench" 17 +sha256sum build/gpu_attention_test build/gpu_q38_graph_test build/gpu_q38_stroke_exact_test build/libomega_gpu.a seed/out/omc > "$out/build.sha256" 18 +(cd "$out"; sha256sum q38_stress_bench q38_stress_bench.c >> build.sha256) 19 +{ hostname; uname -srmo; echo "$rev"; cat physics.lock; cc --version | head -1; nvidia-smi --query-gpu=name,driver_version --format=csv; echo "$old"; } > "$out/provenance.txt" 20 +for f in run.sh paged/run.sh; do sed -e "s/`c9fe0f228095e70b2ff5e48f9e0a7b3fdcccf721`/$rev/g" -e "s/`c9fe0f228`/`371a882a5`/g" "$old/$f" > "$out/$f"; done 21 +bash "$out/run.sh" "$out" 22 +bash "$out/paged/run.sh" "$out/paged" evidence/q38-stress-gb10-20261120T143359Z/process-metrics.csv new file mode 100644 @@ -0,0 +1,28 @@ 1 +run,test,wall,peak_RSS_KiB,exit 2 +Last night,attention-128,0:00.75,65068,0 3 +Last night,attention-64,0:00.49,34112,0 4 +Last night,graph,0:06.12,`5739120`,0 5 +Last night,paged/split-128,0:00.48,20720,0 6 +Last night,paged/split-64,0:00.44,12216,0 7 +Last night,paged/sweep,0:00.79,61412,0 8 +Last night,paged/timing,0:00.32,12168,0 9 +Last night,stress,6:59.11,`8971908`,0 10 +Last night,stroke,0:16.86,`6980412`,0 11 +This morning,attention-128,0:00.74,64852,0 12 +This morning,attention-64,0:00.49,33892,0 13 +This morning,graph,0:04.35,`5739364`,0 14 +This morning,paged/split-128,0:00.46,20508,0 15 +This morning,paged/split-64,0:00.41,12416,0 16 +This morning,paged/sweep,0:00.77,61292,0 17 +This morning,paged/timing,0:00.34,12104,0 18 +This morning,stress,6:59.16,`8971808`,0 19 +This morning,stroke,0:16.07,`6980624`,0 20 +Merged main,attention-128,0:00.76,65024,0 21 +Merged main,attention-64,0:00.48,33888,0 22 +Merged main,graph,0:04.31,`5739124`,0 23 +Merged main,paged/split-128,0:00.48,20368,0 24 +Merged main,paged/split-64,0:00.45,12264,0 25 +Merged main,paged/sweep,0:00.78,60016,0 26 +Merged main,paged/timing,0:00.33,12012,0 27 +Merged main,stress,6:59.27,`8971936`,0 28 +Merged main,stroke,0:16.23,`6980608`,0 evidence/q38-stress-gb10-20261120T143359Z/provenance.txt new file mode 100644 @@ -0,0 +1,8 @@ 1 +spark-b87b 2 +Linux 7.0.0-1019-nvidia aarch64 GNU/Linux 3 +`371a882a5dc8509809abd9d4bbdf1316963f9d51` 4 +`048e5f5e881b092733baaf65d0ace46abda7f908` 5 +cc (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 6 +name, driver_version 7 +NVIDIA GB10, 580.173.02 8 +/home/drakestapleton/handoffs/omega-stress-repeat-`20261120`-WI3xzN evidence/q38-stress-gb10-20261120T143359Z/q38_stress_bench.c new file mode 100644 @@ -0,0 +1,220 @@ 1 +#include "omega_gpu_cmdlist.h" 2 +#include "omega_gpu_q38_graph.h" 3 +#include "omega_gpu_fp8_api.h" 4 +#include "omega_gpu_bf16_gemv_api.h" 5 +#include "omega_gpu_session.h" 6 +#include 7 +#include 8 +#include 9 +#include 10 +#include 11 + 12 +#define H OMEGA_GPU_Q38_HIDDEN 13 +#define I OMEGA_GPU_Q38_INTER 14 +#define VOCAB 248320u 15 +#define LAYERS 4u 16 +#define MASK 0x8ull /* 3 GDN (0,1,2) + 1 full attention (3) */ 17 +#define MAX_HEADS 8u 18 +#define MAX_POS 256u 19 +#define EPS 1e-6f 20 +#define SCALE_2M64 5.`42101086242752217e`-20f 21 + 22 +static uint32_t lcg(uint32_t *s) { *s = *s * 1664525u + 1013904223u; return *s; } 23 +static float frand(uint32_t *s, float lo, float hi) { return lo + (hi - lo) * ((float)(lcg(s) >> 8) / `16777216`.0f); } 24 +static uint16_t bf16_rne(float f) { uint32_t x; memcpy(&x, &f, 4); uint32_t r = x + 0x7fffu + ((x >> 16) & 1u); return (uint16_t)(r >> 16); } 25 +static float bf16_f32(uint16_t b) { uint32_t x = (uint32_t)b << 16; float f; memcpy(&f, &x, 4); return f; } 26 +static float e4m3_f32(uint8_t u) { 27 + int s = (u >> 7) & 1, e = (u >> 3) & 0xf, m = u & 7; 28 + float v = e == 0 ? ldexpf((float)m, -9) : ldexpf((float)(8 + m), e - 10); 29 + return s ? -v : v; 30 +} 31 +static int cmp_u64(const void *a, const void *b) { uint64_t x = *(const uint64_t *)a, y = *(const uint64_t *)b; return x < y ? -1 : x > y; } 32 +static uint64_t median_u64(uint64_t *v, unsigned n) { qsort(v, n, sizeof *v, cmp_u64); return v[n / 2]; } 33 + 34 +static int fp8_random(uint32_t seed, uint32_t n, uint32_t k, OmegaGpuFp8Tensor **out) { 35 + size_t wb = (size_t)n * k, sb = (size_t)(n / 128) * (k / 128); 36 + uint8_t *w = malloc(wb); uint16_t *s = malloc(sb * 2); 37 + uint32_t st = seed; 38 + for (size_t i = 0; i < wb; i += 4) { uint32_t r = lcg(&st); for (unsigned j = 0; j < 4 && i + j < wb; j++) w[i + j] = (uint8_t)((r >> (8 * j)) & 0xbfu); } 39 + const float sc = 1.5f / sqrtf((float)k); 40 + for (size_t i = 0; i < sb; i++) s[i] = bf16_rne(frand(&st, 0.5f * sc, sc)); 41 + int rc = omega_gpu_fp8_tensor_upload(1, n, k, w, s, out); 42 + free(w); free(s); return rc; 43 +} 44 +static int bf16_random(uint32_t seed, uint32_t n, uint32_t k, float lo, float hi, float mul, OmegaGpuBf16Tensor **out, uint16_t **keep) { 45 + uint16_t *w = malloc((size_t)n * k * 2); 46 + uint32_t st = seed; 47 + for (size_t i = 0; i < (size_t)n * k; i++) w[i] = bf16_rne(frand(&st, lo, hi) * mul); 48 + int rc = omega_gpu_bf16_tensor_upload(n, k, w, out); 49 + if (keep) *keep = w; else free(w); 50 + return rc; 51 +} 52 +static int build_exact_screen(const uint16_t *lm_w, OmegaGpuFp8Tensor **screen_out, float **coef_out) { 53 + const uint32_t nb = VOCAB / 128u, kb = H / 128u; 54 + uint8_t *qw = malloc((size_t)VOCAB * H); 55 + uint16_t *qs = malloc((size_t)nb * kb * 2); 56 + float *coef = calloc(VOCAB, 4); 57 + for (uint32_t b0 = 0; b0 < nb; b0++) { 58 + for (uint32_t b1 = 0; b1 < kb; b1++) { 59 + float amax = 0.0f; 60 + for (uint32_t r = 0; r < 128; r++) { 61 + const uint16_t *row = lm_w + (size_t)(b0 * 128 + r) * H + b1 * 128; 62 + for (uint32_t c = 0; c < 128; c++) { float v = fabsf(bf16_f32(row[c])); if (v > amax) amax = v; } 63 + } 64 + float sc = amax > 0.0f ? amax / 448.0f : 1e-6f; 65 + uint16_t sc16 = bf16_rne(sc); 66 + sc = bf16_f32(sc16); 67 + qs[(size_t)b0 * kb + b1] = sc16; 68 + float inv = 1.0f / sc; 69 + for (uint32_t r = 0; r < 128; r++) { 70 + const uint16_t *row = lm_w + (size_t)(b0 * 128 + r) * H + b1 * 128; 71 + uint8_t *dst = qw + (size_t)(b0 * 128 + r) * H + b1 * 128; 72 + double err2 = 0.0; 73 + for (uint32_t c = 0; c < 128; c++) { 74 + float vf = bf16_f32(row[c]), qf = vf * inv; 75 + int neg = qf < 0.0f; float a = fabsf(qf); 76 + uint8_t best = 0; float bd = a; 77 + for (uint8_t code = 1; code < 127; code++) { 78 + float ev = e4m3_f32(code); float d = fabsf(ev - a); 79 + if (d < bd) { bd = d; best = code; } 80 + } 81 + uint8_t enc = (uint8_t)(best | (neg ? 0x80u : 0u)); 82 + dst[c] = enc; 83 + double diff = (double)vf - (double)e4m3_f32(enc) * (double)sc; 84 + err2 += diff * diff; 85 + } 86 + coef[b0 * 128 + r] += (float)err2; 87 + } 88 + } 89 + } 90 + for (uint32_t r = 0; r < VOCAB; r++) coef[r] = sqrtf(coef[r]) * 1.01f; 91 + int rc = omega_gpu_fp8_tensor_upload(1, VOCAB, H, qw, qs, screen_out); 92 + free(qw); free(qs); *coef_out = coef; 93 + return rc; 94 +} 95 + 96 +static void print_ptimer(const char *label, OmegaGpuQ38Graph *g) { 97 + static uint64_t st[OMEGA_GPU_CMDLIST_MAX_LAUNCHES + 1]; 98 + static uint8_t kd[OMEGA_GPU_CMDLIST_MAX_LAUNCHES]; 99 + int n = omega_gpu_q38_graph_stamps(g, st, kd, OMEGA_GPU_CMDLIST_MAX_LAUNCHES + 1); 100 + double sum[OMEGA_GPU_Q38_K_COUNT] = { 0 }; 101 + uint32_t cnt[OMEGA_GPU_Q38_K_COUNT] = { 0 }; 102 + double total = 0, trunk = 0; 103 + for (int i = 0; i < n; i++) { 104 + double us = (double)(st[i + 1] - st[i]) / 1e3; 105 + sum[kd[i]] += us; cnt[kd[i]]++; total += us; 106 + if (kd[i] != OMEGA_GPU_Q38_K_LM_HEAD && kd[i] != OMEGA_GPU_Q38_K_ARGMAX) trunk += us; 107 + } 108 + printf("PTIMER [%s]: launches=%d total=%.1f us trunk=%.1f us\n", label, n, total, trunk); 109 + for (uint8_t k = 0; k < OMEGA_GPU_Q38_K_COUNT; k++) 110 + if (cnt[k]) printf(" %-10s %3u launches %9.1f us\n", omega_gpu_q38_graph_kind_name(k), cnt[k], sum[k]); 111 +} 112 + 113 +int main(void) { 114 + struct { OmegaGpuFp8Tensor *mix, *o, *gu, *dn; OmegaGpuBf16Tensor *ab; float in_n[H], po_n[H]; } L[LAYERS]; 115 + uint32_t seed = 1337; 116 + for (uint32_t l = 0; l < LAYERS; l++) { 117 + int attn = (int)((MASK >> l) & 1u); 118 + if (fp8_random(seed++, attn ? 14336u : 16384u, H, &L[l].mix) != 0) return 2; 119 + if (fp8_random(seed++, H, 6144u, &L[l].o) != 0) return 2; 120 + if (fp8_random(seed++, 2 * I, H, &L[l].gu) != 0) return 2; 121 + if (fp8_random(seed++, H, I, &L[l].dn) != 0) return 2; 122 + L[l].ab = NULL; 123 + if (!attn && bf16_random(seed++, 96u, H, -0.5f, 0.5f, SCALE_2M64, &L[l].ab, NULL) != 0) return 2; 124 + for (unsigned i = 0; i < H; i++) { L[l].in_n[i] = frand(&seed, 0.5f, 1.5f); L[l].po_n[i] = frand(&seed, 0.5f, 1.5f); } 125 + } 126 + OmegaGpuBf16Tensor *lm = NULL; uint16_t *lm_w = NULL; 127 + if (bf16_random(seed++, VOCAB, H, -0.05f, 0.05f, 1.0f, &lm, &lm_w) != 0) return 2; 128 + OmegaGpuFp8Tensor *screen = NULL; float *coef = NULL; 129 + if (build_exact_screen(lm_w, &screen, &coef) != 0) return 2; 130 + free(lm_w); 131 + float fnorm[H]; for (unsigned i = 0; i < H; i++) fnorm[i] = frand(&seed, 0.5f, 1.5f); 132 + 133 + OmegaGpuGdn *gdn[MAX_HEADS]; OmegaGpuDecodeAttn256Cache *att[MAX_HEADS]; 134 + for (uint32_t h = 0; h < MAX_HEADS; h++) { 135 + if (omega_gpu_gdn_alloc(3, &gdn[h]) != 0) return 3; 136 + if (omega_gpu_decode_attn256_cache_alloc(1, MAX_POS, `10000000`.0, OMEGA_GPU_Q38_ROTARY, &att[h]) != 0) return 3; 137 + float conv[OMEGA_GDN_CONV_DIM * 4], alog[48], dt[48], nw[128], qn[256], kn[256]; 138 + for (size_t i = 0; i < sizeof conv / 4; i++) conv[i] = frand(&seed, -0.25f, 0.25f); 139 + for (unsigned i = 0; i < 48; i++) { alog[i] = frand(&seed, -2.0f, 0.2f); dt[i] = frand(&seed, -1.0f, 1.0f); } 140 + for (unsigned i = 0; i < 128; i++) nw[i] = frand(&seed, 0.5f, 1.5f); 141 + for (uint32_t g = 0; g < 3; g++) omega_gpu_gdn_set_layer(gdn[h], g, conv, alog, dt, nw); 142 + for (unsigned i = 0; i < 256; i++) { qn[i] = frand(&seed, 0.5f, 1.5f); kn[i] = frand(&seed, 0.5f, 1.5f); } 143 + omega_gpu_decode_attn256_set_norms(att[h], 0, qn, kn); 144 + } 145 + 146 + OmegaGpuQ38GraphConfig cfg; memset(&cfg, 0, sizeof cfg); 147 + cfg.layers = LAYERS; cfg.attn_mask = MASK; cfg.vocab = VOCAB; cfg.eps = EPS; cfg.eps_l2 = EPS; 148 + cfg.gdn = gdn[0]; cfg.attn = att[0]; cfg.lm_head = lm; 149 + OmegaGpuQ38Graph *g = NULL; 150 + if (omega_gpu_q38_graph_create_heads(&cfg, MAX_HEADS, &g) != 0) { printf("create_heads fail: %s\n", omega_gpu_session_last_error()); return 4; } 151 + for (uint32_t h = 0; h < MAX_HEADS; h++) omega_gpu_q38_graph_set_head_state(g, h, gdn[h], att[h]); 152 + for (uint32_t l = 0; l < LAYERS; l++) omega_gpu_q38_graph_set_layer(g, l, L[l].mix, L[l].ab, L[l].o, L[l].gu, L[l].dn, L[l].in_n, L[l].po_n); 153 + omega_gpu_q38_graph_set_final_norm(g, fnorm); 154 + if (omega_gpu_q38_graph_set_exact_head(g, screen, coef, 10384u) != 0) return 5; 155 + omega_gpu_q38_graph_set_exact_head_on(g, 0); 156 + 157 + float *x = malloc((size_t)MAX_HEADS * H * 4); 158 + for (size_t i = 0; i < (size_t)MAX_HEADS * H; i++) x[i] = frand(&seed, -1.0f, 1.0f); 159 + uint32_t pos[MAX_HEADS] = { 1, 1, 1, 1, 1, 1, 1, 1 }, tok[MAX_HEADS] = { 0 }, tok_ref[MAX_HEADS] = { 0 }; 160 + 161 + /* Parity check: N=8 batched exact_head vs plain bf16 */ 162 + omega_gpu_q38_graph_set_batch(g, 0); omega_gpu_q38_graph_set_exact_head_on(g, 0); 163 + for (uint32_t h = 0; h < MAX_HEADS; h++) omega_gpu_gdn_reset(gdn[h]); 164 + if (omega_gpu_q38_graph_stroke(g, x, pos, MAX_HEADS, tok_ref, NULL) != 0) { printf("ref stroke fail: %s\n", omega_gpu_session_last_error()); return 6; } 165 + 166 + omega_gpu_q38_graph_set_batch(g, 1); omega_gpu_q38_graph_set_exact_head_on(g, 0); 167 + for (uint32_t h = 0; h < MAX_HEADS; h++) omega_gpu_gdn_reset(gdn[h]); 168 + if (omega_gpu_q38_graph_stroke(g, x, pos, MAX_HEADS, tok, NULL) != 0) { printf("bat plain fail: %s\n", omega_gpu_session_last_error()); return 6; } 169 + int bad_plain = 0; for (uint32_t h = 0; h < MAX_HEADS; h++) if (tok[h] != tok_ref[h]) bad_plain++; 170 + printf("PARITY N=8 batched plain bf16 (XB=4) vs unbatched: %d/8 exact\n", 8 - bad_plain); 171 + 172 + omega_gpu_q38_graph_set_batch(g, 1); omega_gpu_q38_graph_set_exact_head_on(g, 1); 173 + for (uint32_t h = 0; h < MAX_HEADS; h++) omega_gpu_gdn_reset(gdn[h]); 174 + if (omega_gpu_q38_graph_stroke(g, x, pos, MAX_HEADS, tok, NULL) != 0) { printf("bat exact fail: %s\n", omega_gpu_session_last_error()); return 6; } 175 + int bad_ex = 0; for (uint32_t h = 0; h < MAX_HEADS; h++) if (tok[h] != tok_ref[h]) bad_ex++; 176 + printf("PARITY N=8 batched exact_head vs plain bf16: %d/8 exact\n", 8 - bad_ex); 177 + if (bad_plain || bad_ex) return 7; 178 + 179 + /* Sweep N = 1, 2, 4, 6, 8: plain bf16 unbatched vs batched + exact_head batched */ 180 + const uint32_t ns[] = { 1, 2, 4, 6, 8 }; 181 + for (unsigned ni = 0; ni < 5; ni++) { 182 + uint32_t N = ns[ni]; 183 + uint64_t tu[7], tb[7], te[7]; 184 + omega_gpu_q38_graph_set_exact_head_on(g, 0); omega_gpu_q38_graph_set_batch(g, 0); 185 + for (unsigned r = 0; r < 7; r++) { OmegaGpuDecodeGraphStats st; omega_gpu_q38_graph_stroke(g, x, pos, N, tok, &st); tu[r] = st.chip_ns; } 186 + omega_gpu_q38_graph_set_batch(g, 1); 187 + for (unsigned r = 0; r < 7; r++) { OmegaGpuDecodeGraphStats st; omega_gpu_q38_graph_stroke(g, x, pos, N, tok, &st); tb[r] = st.chip_ns; } 188 + omega_gpu_q38_graph_set_exact_head_on(g, 1); 189 + for (unsigned r = 0; r < 7; r++) { OmegaGpuDecodeGraphStats st; omega_gpu_q38_graph_stroke(g, x, pos, N, tok, &st); te[r] = st.chip_ns; } 190 + printf("SWEEP N=%u: unb_bf16=%.3f ms | bat_bf16=%.3f ms (%.2fx) | bat_exact=%.3f ms (%.2fx)\n", 191 + N, median_u64(tu, 7)/1e6, median_u64(tb, 7)/1e6, (double)median_u64(tu,7)/(double)median_u64(tb,7), 192 + median_u64(te, 7)/1e6, (double)median_u64(tu,7)/(double)median_u64(te,7)); 193 + } 194 + 195 + /* PTIMER breakdowns */ 196 + omega_gpu_q38_graph_set_stamps(g, 1); 197 + omega_gpu_q38_graph_set_batch(g, 0); omega_gpu_q38_graph_set_exact_head_on(g, 0); 198 + omega_gpu_q38_graph_stroke(g, x, pos, 1, tok, NULL); print_ptimer("N=1 unb plain_bf16", g); 199 + omega_gpu_q38_graph_set_exact_head_on(g, 1); 200 + omega_gpu_q38_graph_stroke(g, x, pos, 1, tok, NULL); print_ptimer("N=1 unb exact_head", g); 201 + omega_gpu_q38_graph_set_batch(g, 1); omega_gpu_q38_graph_set_exact_head_on(g, 0); 202 + omega_gpu_q38_graph_stroke(g, x, pos, 8, tok, NULL); print_ptimer("N=8 bat plain_bf16", g); 203 + omega_gpu_q38_graph_set_exact_head_on(g, 1); 204 + omega_gpu_q38_graph_stroke(g, x, pos, 8, tok, NULL); print_ptimer("N=8 bat exact_head", g); 205 + omega_gpu_q38_graph_set_stamps(g, 0); 206 + 207 + /* Sustained 64 x 8 stress (batched + exact_head ON) */ 208 + uint64_t ts[64], sum_ns = 0; 209 + for (unsigned s = 0; s < 64; s++) { 210 + uint32_t ps[MAX_HEADS]; for (uint32_t h = 0; h < MAX_HEADS; h++) ps[h] = 2u + (s % 64u); 211 + OmegaGpuDecodeGraphStats st; 212 + if (omega_gpu_q38_graph_stroke(g, x, ps, MAX_HEADS, tok, &st) != 0) { printf("stress step %u fail\n", s); return 8; } 213 + ts[s] = st.chip_ns; sum_ns += st.chip_ns; 214 + } 215 + qsort(ts, 64, sizeof *ts, cmp_u64); 216 + printf("STRESS 64x8 (bat_exact): min=%.3f p50=%.3f p95=%.3f max=%.3f mean=%.3f ms (%.2f tok/s)\n", 217 + ts[0]/1e6, ts[32]/1e6, ts[60]/1e6, ts[63]/1e6, (sum_ns/64.0)/1e6, 8.0 / ((sum_ns/64.0)/1e9)); 218 + printf("Q38_STRESS_BENCH: PASS\n"); 219 + return 0; 220 +} evidence/q38-stress-gb10-20261120T143359Z/receipt.`86e51fdd435712fbf474af2e10c769f3648a551066a71e05def1f771c4888463`.json new file mode 100644 @@ -0,0 +1,62 @@ 1 +{ 2 + "commit": "`371a882a5dc8509809abd9d4bbdf1316963f9d51`", 3 + "inputs_and_results": { 4 + "attention-128.json": "`d1516ea5395a30351b66d80088311de7ab2eca5c4ff279f878af7fa3e6077ffc`", 5 + "attention-128.log": "`7349f64af936bd369fd5c9ac13ccbab867f8bd0723391d0dc781ad635bd73608`", 6 + "attention-128.time": "`849a96d6c37f607cc2da0a01b633104651f56372f45b786d8f27290d37eb949e`", 7 + "attention-64.json": "`153bdebdcb4adb97e102ecae8225f6590c99abb57142fffb4cc1623353dcf10a`", 8 + "attention-64.log": "`a17e87e984a1fbb98f5f3e1a17467948ea1523c4dff19a52b1f429ff231b71eb`", 9 + "attention-64.time": "`f2fc1cc149295814c5ebfd5ef7ea05e44465f3b77d9f9ac58065d919fea4440c`", 10 + "attention-battery.csv": "`4062c31f21b6ca56a488177ea5c7498330163091e2fdf945eac42a4e73621489`", 11 + "build.log": "`8073f79b13eba22436dc841d8e82159f3bfa998014d8b0c657fdc78fad2ba0d7`", 12 + "build.sha256": "`e56497e238ebd4a38f64c6e77f533cd54b15859cbf00f20de472c905c4bf8186`", 13 + "checks.csv": "`797770990c5e362063e7ecc470ae68b4990c0f54f0322ae6b9e6ec2b5d880593`", 14 + "close.json": "`a1b581c5310e845e3131e08d85c453f47c40aaef347e434d852ae8064399fd2b`", 15 + "decode.csv": "`c35467ddea4f0c17c2d1fa3aa60d4cf14c5919ae1182a7115a04ab3367a65a38`", 16 + "graph.log": "`69be66b50955f07ebd9266f0d8e1bd56588ce61cbbc092714c050783e82b0a6f`", 17 + "graph.time": "`7f8bf3042e9f9a9957e6bf51df3b702a48f7eee8a36600d5722941a72632b7e9`", 18 + "kernels.csv": "`52a574c859b5f01079d65f0ea8ed65c60a39d1b49b1aa1ecf097d0d811475fe2`", 19 + "open.json": "`8c2609bea3a18408b2aec1d03336d74550e4476c0108c1510e88e34167991463`", 20 + "paged-attention.csv": "`43d2c182b60d9249b02ef2af934bcb2208f545608fe7fb7a6281a39f5638eb3c`", 21 + "paged/close.json": "`3d099b6f9e4d6bd8aec95b942a59863fe6d6ead229843591ccff7595bdfc5444`", 22 + "paged/open.json": "`33dac070f6d2c62a638363f69dbd83a752d6379cda35c68f2b01736027041d06`", 23 + "paged/results.txt": "`bd7664da19ace7abcd5f3fbdd04e0995299b1aced44700e0ef5cb0a6a5826d82`", 24 + "paged/run.sh": "`fc268b959115e4d90939db93d8eb61c131b193149fc0e69b5fc934792984f29c`", 25 + "paged/split-128.json": "`f97851bdee584989344d02ebfabc8ca2866eaa57fa9af7d6814830bd639f7505`", 26 + "paged/split-128.log": "`9847bac3662ef15d756f791afc67a143a33ba4f218e04290cc80eaab57dba6ad`", 27 + "paged/split-128.time": "`6fb24f0cecd6c33482d73f88ec2a728ee26bfe36e40cbda36232283a6fcbef56`", 28 + "paged/split-64.json": "`12533a7d1cd752d15b9e5560fa06bd2c737a4b526762c692a593998422ba2447`", 29 + "paged/split-64.log": "`2d2aa39d7dc6800f87b468a1c94e2c7a5769723729281cf5843367eefe240b8e`", 30 + "paged/split-64.time": "`b6046885b0bc7b3b79302d47b274d82ef43e7aa9a9dbc250b9deeb6bf8207266`", 31 + "paged/sweep.json": "`7dfe3f727dbd0d4570713aa65bae9a22424a87f988d0566a9c8cab8db413c3cc`", 32 + "paged/sweep.log": "`03282262f53fe6f2f892a48fce0f2e7e247c71aa5a69779765e3c5cc330f53f8`", 33 + "paged/sweep.time": "`aaed178a2bbe7acc201664cd3908de58afa300ef2c2df501a99a81b9c13b554d`", 34 + "paged/telemetry.csv": "`bcd0eaed4d824ee6f060f40dc2622f7a390ba7f289ecead607ca2c72570e649d`", 35 + "paged/timing.json": "`631eb69d9d614f761d7bd0875fb0b741641f65c8165958ee76237e080a70f488`", 36 + "paged/timing.log": "`52087fc10d3718d7f6044e274895c5ed18335a3e7e9330dc336356438f2bdc3a`", 37 + "paged/timing.time": "`ad394f5825ee7587ba1ed801587ee719337567d435504f9690e6e843e6b2b69d`", 38 + "prepare-run.sh": "`93bee9630f032b8c57b539887af05531f954ea1278739a85025c2849b89f1e3b`", 39 + "process-metrics.csv": "`07cfaf143d15105b85ef890a4113be8eacd35c6b77928ea124de704542477e82`", 40 + "provenance.txt": "`b28611bdac4e417a964da86bc9d06227484b0237f354d1f65b23af6ffa703d75`", 41 + "q38_stress_bench.c": "`913c4d72b7cc72428b4b36c2c7d685d1db6038cb96be66cbb7820277bac8aa3d`", 42 + "results.txt": "`3cb46f42cda9282353ac9fedcb5fdd7872b6e3f956dbe98ce092bbf78c3df51d`", 43 + "run.sh": "`d4baf06236fce599f74a5eac8f845c6d04cbe22a46392e900da96938d54cc792`", 44 + "stress.log": "`50eebab3743bf3e070afd0494f260168c36e00c91ecd77b1f07951108cd1e24c`", 45 + "stress.time": "`18b8d04f6d385f89c2fb30a9222a52353daee201cc4b759b2121b2c0723374f7`", 46 + "stroke.log": "`0162791b3ebd551d63eab9f5e3e030fee3cdbc930de2fbcd86f1eefd676c63ad`", 47 + "stroke.time": "`647a2a015923443820000145cc4a5537405a0c8574ed23f913cb55267a75df69`", 48 + "sustained.csv": "`d03943019e4cb5b17c99dce95e54fd2eaa9019266934359ef1b923fd55703551`", 49 + "telemetry-by-command.csv": "`d92a92ca4c271be39458ab4c0af0b2a711899e539389b14e6f90b58c06567138`", 50 + "telemetry-summary.csv": "`3c93741f1359b4785a2ceaa184b1218ac82d60ebd9735b3a16e4058dc11746f6`", 51 + "telemetry.csv": "`2869f74cdf9d6e874de2cfc697971e485645b4d6168a64d88ccc1beb271b86c9`" 52 + }, 53 + "physics": "`048e5f5e881b092733baaf65d0ace46abda7f908`", 54 + "report": { 55 + "docs/gpu/Q38_27B_GB10_STRESS_`20261120`.md": "`747773b7e44b5f9b57c2c23ce8ecde733586dbe349a04839f7a5136421e4a783`" 56 + }, 57 + "verdict": "PASS", 58 + "windows": [ 59 + "20261120T143359Z-be6ef1", 60 + "20261120T144219Z-0fb968" 61 + ] 62 +} evidence/q38-stress-gb10-20261120T143359Z/results.txt new file mode 100644 @@ -0,0 +1,10 @@ 1 +2026-11-20T14:34:03Z graph start 2 +2026-11-20T14:34:07Z graph exit 0 3 +2026-11-20T14:34:17Z stroke start 4 +2026-11-20T14:34:33Z stroke exit 0 5 +2026-11-20T14:34:43Z stress start 6 +2026-11-20T14:41:42Z stress exit 0 7 +2026-11-20T14:41:42Z attention-64 start 8 +2026-11-20T14:41:43Z attention-64 exit 0 9 +2026-11-20T14:41:43Z attention-128 start 10 +2026-11-20T14:41:44Z attention-128 exit 0 evidence/q38-stress-gb10-20261120T143359Z/run.sh new file mode 100644 @@ -0,0 +1,35 @@ 1 +#!/bin/bash 2 +set -euo pipefail 3 +out=$1 4 +cd "$out/source" 5 +test "$(git rev-parse HEAD)" = `371a882a5dc8509809abd9d4bbdf1316963f9d51` 6 +test -z "$(git status --porcelain)" 7 +printf '%s CLAIM Codex Q38 and attention stress, `371a882a5`, exclusive GPU and quiet timing window, 15 minute lease. Contact via board.\n' "$(date -u +%FT%TZ)" >> ~/handoffs/BOARD.md 8 +spark-window open codex-q38-stress-`371a882a5` --gb10 exclusive --quiet exclusive --lease 15 --wait > "$out/window.txt" 9 +wid=$(spark-window id) 10 +monitor= 11 +cleanup() { 12 + if [ -n "$monitor" ]; then kill "$monitor" 2>/dev/null || true; wait "$monitor" 2>/dev/null || true; fi 13 + spark-window close "$wid" > "$out/close.log" 14 + cp ~/yardsticks/windows/"$wid"/{open,close}.json "$out/" 15 + printf '%s RELEASE Codex Q38 and attention stress %s.\n' "$(date -u +%FT%TZ)" "$wid" >> ~/handoffs/BOARD.md 16 +} 17 +trap cleanup EXIT 18 +nvidia-smi --query-gpu=timestamp,utilization.gpu,clocks.sm,temperature.gpu,power.draw --format=csv,nounits -l 1 > "$out/telemetry.csv" & 19 +monitor=$! 20 +run() { 21 + name=$1; shift 22 + printf '%s %s start\n' "$(date -u +%FT%TZ)" "$name" >> "$out/results.txt" 23 + set +e 24 + spark-window run /usr/bin/time -v -o "$out/$name.time" "$@" > "$out/$name.log" 2>&1 25 + code=$? 26 + set -e 27 + printf '%s %s exit %d\n' "$(date -u +%FT%TZ)" "$name" "$code" >> "$out/results.txt" 28 + return "$code" 29 +} 30 +run graph ./build/gpu_q38_graph_test 31 +sleep 10 32 +run stroke ./build/gpu_q38_stroke_exact_test 33 +sleep 10 34 +run stress "$out/q38_stress_bench" 35 +for h in 64 128; do run "attention-$h" ./build/gpu_attention_test --hd "$h" --out "$out/attention-$h.json"; done evidence/q38-stress-gb10-20261120T143359Z/stress.log new file mode 100644 @@ -0,0 +1,71 @@ 1 +PARITY N=8 batched plain bf16 (XB=4) vs unbatched: 8/8 exact 2 +PARITY N=8 batched exact_head vs plain bf16: 8/8 exact 3 +SWEEP N=1: unb_bf16=17.791 ms | bat_bf16=20.766 ms (0.86x) | bat_exact=17.647 ms (1.01x) 4 +SWEEP N=2: unb_bf16=36.014 ms | bat_bf16=20.962 ms (1.72x) | bat_exact=22.198 ms (1.62x) 5 +SWEEP N=4: unb_bf16=71.738 ms | bat_bf16=21.161 ms (3.39x) | bat_exact=29.370 ms (2.44x) 6 +SWEEP N=6: unb_bf16=108.267 ms | bat_bf16=33.670 ms (3.22x) | bat_exact=35.926 ms (3.01x) 7 +SWEEP N=8: unb_bf16=144.245 ms | bat_bf16=33.412 ms (4.32x) | bat_exact=42.922 ms (3.36x) 8 +PTIMER [N=1 unb plain_bf16]: launches=41 total=18158.2 us trunk=7180.9 us 9 + norm 1 launches 11.9 us 10 + mix 4 launches 1482.3 us 11 + ab 3 launches 1.4 us 12 + gdn 3 launches 156.7 us 13 + gather 1 launches 4.5 us 14 + attn 1 launches 31.0 us 15 + gate 1 launches 2.7 us 16 + o_proj 4 launches 704.9 us 17 + res 8 launches 105.7 us 18 + gate_up 4 launches 2927.9 us 19 + swiglu 4 launches 14.2 us 20 + down 4 launches 1737.7 us 21 + lm_head 1 launches 10956.5 us 22 + argmax 2 launches 20.8 us 23 +PTIMER [N=1 unb exact_head]: launches=46 total=14752.4 us trunk=6677.2 us 24 + norm 1 launches 9.8 us 25 + mix 4 launches 1392.0 us 26 + ab 3 launches 1.2 us 27 + gdn 3 launches 80.8 us 28 + gather 1 launches 4.2 us 29 + attn 1 launches 31.0 us 30 + gate 1 launches 2.7 us 31 + o_proj 4 launches 617.8 us 32 + res 8 launches 102.4 us 33 + gate_up 4 launches 2883.9 us 34 + swiglu 4 launches 11.5 us 35 + down 4 launches 1540.2 us 36 + lm_head 4 launches 8040.6 us 37 + argmax 4 launches 34.6 us 38 +PTIMER [N=8 bat plain_bf16]: launches=128 total=32696.8 us trunk=10398.3 us 39 + norm 1 launches 16.0 us 40 + mix 4 launches 2018.6 us 41 + ab 3 launches 1.2 us 42 + gdn 24 launches 771.9 us 43 + gather 1 launches 7.5 us 44 + attn 8 launches 36.6 us 45 + gate 8 launches 7.5 us 46 + o_proj 4 launches 787.3 us 47 + res 8 launches 243.3 us 48 + gate_up 4 launches 4278.6 us 49 + swiglu 4 launches 17.2 us 50 + down 4 launches 2122.3 us 51 + lm_head 2 launches 22239.7 us 52 + argmax 16 launches 58.8 us 53 + perm 37 launches 90.3 us 54 +PTIMER [N=8 bat exact_head]: launches=161 total=42219.2 us trunk=10651.2 us 55 + norm 1 launches 15.2 us 56 + mix 4 launches 2019.2 us 57 + ab 3 launches 1.2 us 58 + gdn 24 launches 779.4 us 59 + gather 1 launches 7.3 us 60 + attn 8 launches 37.8 us 61 + gate 8 launches 7.5 us 62 + o_proj 4 launches 749.1 us 63 + res 8 launches 215.8 us 64 + gate_up 4 launches 4543.7 us 65 + swiglu 4 launches 36.5 us 66 + down 4 launches 2145.9 us 67 + lm_head 18 launches 31451.2 us 68 + argmax 32 launches 116.8 us 69 + perm 38 launches 92.8 us 70 +STRESS 64x8 (bat_exact): min=40.664 p50=42.346 p95=43.409 max=44.962 mean=42.153 ms (189.78 tok/s) 71 +Q38_STRESS_BENCH: PASS evidence/q38-stress-gb10-20261120T143359Z/stress.time new file mode 100644 @@ -0,0 +1,23 @@ 1 + Command being timed: "/home/drakestapleton/handoffs/omega-q38-main-`371a882a5`-IV5N7v/q38_stress_bench" 2 + User time (seconds): 409.24 3 + System time (seconds): 2.36 4 + Percent of CPU this job got: 98% 5 + Elapsed (wall clock) time (h:mm:ss or m:ss): 6:59.27 6 + Average shared text size (kbytes): 0 7 + Average unshared data size (kbytes): 0 8 + Average stack size (kbytes): 0 9 + Average total size (kbytes): 0 10 + Maximum resident set size (kbytes): `8971936` 11 + Average resident set size (kbytes): 0 12 + Major (requiring I/O) page faults: 10 13 + Minor (reclaiming a frame) page faults: `1287398` 14 + Voluntary context switches: 74923 15 + Involuntary context switches: 6195 16 + Swaps: 0 17 + File system inputs: 1824 18 + File system outputs: 8 19 + Socket messages sent: 0 20 + Socket messages received: 0 21 + Signals delivered: 0 22 + Page size (bytes): 4096 23 + Exit status: 0 evidence/q38-stress-gb10-20261120T143359Z/stroke.log new file mode 100644 @@ -0,0 +1,74 @@ 1 +ok: ref create head 0 2 +ok: ref set_layer 0 3 +ok: ref set_layer 1 4 +ok: ref final_norm 5 +ok: ref token0 head 0 6 +ok: ref token1 head 0 7 +ok: ref read head 0 8 +ok: ref create head 1 9 +ok: ref set_layer 0 10 +ok: ref set_layer 1 11 +ok: ref final_norm 12 +ok: ref token0 head 1 13 +ok: ref token1 head 1 14 +ok: ref read head 1 15 +ok: ref create head 2 16 +ok: ref set_layer 0 17 +ok: ref set_layer 1 18 +ok: ref final_norm 19 +ok: ref token0 head 2 20 +ok: ref token1 head 2 21 +ok: ref read head 2 22 +ok: ref create head 3 23 +ok: ref set_layer 0 24 +ok: ref set_layer 1 25 +ok: ref final_norm 26 +ok: ref token0 head 3 27 +ok: ref token1 head 3 28 +ok: ref read head 3 29 +ok: create_heads(4) 30 +ok: set_head_state 0 31 +ok: set_head_state 1 32 +ok: set_head_state 2 33 +ok: set_head_state 3 34 +ok: stroke set_layer 0 35 +ok: stroke set_layer 1 36 +ok: stroke final_norm 37 +ok: unbatched stroke step 0 38 +ok: unbatched stroke step 1 39 +ok: unbatched head 0 tokens exact (167966/30020 vs 167966/30020) 40 +ok: unbatched read_head 0 41 +ok: unbatched head 0 logits bit-identical to single-head 42 +ok: unbatched head 1 tokens exact (74914/159916 vs 74914/159916) 43 +ok: unbatched read_head 1 44 +ok: unbatched head 1 logits bit-identical to single-head 45 +ok: unbatched head 2 tokens exact (35205/180590 vs 35205/180590) 46 +ok: unbatched read_head 2 47 +ok: unbatched head 2 logits bit-identical to single-head 48 +ok: unbatched head 3 tokens exact (6384/189128 vs 6384/189128) 49 +ok: unbatched read_head 3 50 +ok: unbatched head 3 logits bit-identical to single-head 51 +ok: set_batch(1) ok 52 +ok: batched stroke step 0 53 +ok: batched stroke step 1 54 +ok: batched head 0 tokens exact (167966/30020 vs 167966/30020) 55 +ok: batched read_head 0 56 +ok: batched head 0 logits bit-identical to single-head 57 +ok: batched head 1 tokens exact (74914/159916 vs 74914/159916) 58 +ok: batched read_head 1 59 +ok: batched head 1 logits bit-identical to single-head 60 +ok: batched head 2 tokens exact (35205/180590 vs 35205/180590) 61 +ok: batched read_head 2 62 +ok: batched head 2 logits bit-identical to single-head 63 +ok: batched head 3 tokens exact (6384/189128 vs 6384/189128) 64 +ok: batched read_head 3 65 +ok: batched head 3 logits bit-identical to single-head 66 +TIMING 4-head 2-layer 27B stroke: unbatched=58.390 ms, batched=16.699 ms (3.50x) 67 +ok: batched 4-head stroke faster than unbatched (16.699 < 58.390 ms) 68 +ok: set_exact_head(screen, coef, 10384) 69 +ok: exact_head token 0 70 +ok: exact_head token 1 71 +ok: exact_head tokens match plain bf16 (167966/30020 vs 167966/30020) 72 +ok: exact_head mutant 5 (MASK inverted) caught (97900 != 167966) 73 +TIMING 1-head 2-layer 27B token: plain_bf16=14.493 ms, exact_two_pass=13.275 ms (saved 1.218 ms) 74 +gpu_q38_stroke_exact_test: 71 checks, 0 failed: PASS evidence/q38-stress-gb10-20261120T143359Z/stroke.time new file mode 100644 @@ -0,0 +1,23 @@ 1 + Command being timed: "./build/gpu_q38_stroke_exact_test" 2 + User time (seconds): 13.03 3 + System time (seconds): 2.10 4 + Percent of CPU this job got: 93% 5 + Elapsed (wall clock) time (h:mm:ss or m:ss): 0:16.23 6 + Average shared text size (kbytes): 0 7 + Average unshared data size (kbytes): 0 8 + Average stack size (kbytes): 0 9 + Average total size (kbytes): 0 10 + Maximum resident set size (kbytes): `6980608` 11 + Average resident set size (kbytes): 0 12 + Major (requiring I/O) page faults: 0 13 + Minor (reclaiming a frame) page faults: `1115836` 14 + Voluntary context switches: 10235 15 + Involuntary context switches: 115 16 + Swaps: 0 17 + File system inputs: 0 18 + File system outputs: 8 19 + Socket messages sent: 0 20 + Socket messages received: 0 21 + Signals delivered: 0 22 + Page size (bytes): 4096 23 + Exit status: 0 evidence/q38-stress-gb10-20261120T143359Z/sustained.csv new file mode 100644 @@ -0,0 +1,4 @@ 1 +run,min,p50,p95,max,mean,tok/s 2 +Last night,40.479,41.86,42.848,45.419,41.871,191.06 3 +This morning,40.785,42.708,43.881,46.485,42.54,188.06 4 +Merged main,40.664,42.346,43.409,44.962,42.153,189.78 evidence/q38-stress-gb10-20261120T143359Z/telemetry-by-command.csv new file mode 100644 @@ -0,0 +1,8 @@ 1 +command,n,util_pct_min,util_pct_mean,util_pct_max,sm_mhz_min,sm_mhz_mean,sm_mhz_max,temp_c_min,temp_c_mean,temp_c_max,board_w_min,board_w_mean,board_w_max 2 +graph,4,0.0,0.0,0.0,208.0,209.5,214.0,55.0,55.0,55.0,5.8,5.83,5.87 3 +stroke,16,0.0,0.0,0.0,201.0,207.56,208.0,53.0,53.56,54.0,5.58,5.66,5.78 4 +stress,419,0.0,1.38,96.0,201.0,234.09,2535.0,46.0,49.13,55.0,4.96,5.67,47.15 5 +attention-64,1,96.0,96.0,96.0,2528.0,2528.0,2528.0,56.0,56.0,56.0,47.11,47.11,47.11 6 +attention-128,1,96.0,96.0,96.0,1124.0,1124.0,1124.0,50.0,50.0,50.0,37.72,37.72,37.72 7 +paged/sweep,1,0.0,0.0,0.0,208.0,208.0,208.0,49.0,49.0,49.0,5.22,5.22,5.22 8 +paged/split-128,1,0.0,0.0,0.0,962.0,962.0,962.0,50.0,50.0,50.0,6.58,6.58,6.58 evidence/q38-stress-gb10-20261120T143359Z/telemetry-summary.csv new file mode 100644 @@ -0,0 +1,25 @@ 1 +run,window,verdict,held_s,metric,samples,min,median,max 2 +Last night,20261120T022623Z-a7442e,quiet machine,469,GPU utilization %,464,0.0,0.0,96.0 3 +Last night,20261120T022623Z-a7442e,quiet machine,469,SM clock MHz,464,208.0,208.0,2548.0 4 +Last night,20261120T022623Z-a7442e,quiet machine,469,Temperature °C,464,41.0,42.0,51.0 5 +Last night,20261120T022623Z-a7442e,quiet machine,469,Board power W,464,4.45,4.71,46.58 6 +Last night,20261120T023412Z-c5da4c,quiet machine,8,GPU utilization %,3,0.0,0.0,13.0 7 +Last night,20261120T023412Z-c5da4c,quiet machine,8,SM clock MHz,3,208.0,968.0,1696.0 8 +Last night,20261120T023412Z-c5da4c,quiet machine,8,Temperature °C,3,44.0,44.0,45.0 9 +Last night,20261120T023412Z-c5da4c,quiet machine,8,Board power W,3,4.94,7.31,11.23 10 +This morning,20261120T130548Z-ebdfce,quiet machine,468,GPU utilization %,461,0.0,0.0,96.0 11 +This morning,20261120T130548Z-ebdfce,quiet machine,468,SM clock MHz,461,201.0,208.0,2548.0 12 +This morning,20261120T130548Z-ebdfce,quiet machine,468,Temperature °C,461,43.0,43.0,53.0 13 +This morning,20261120T130548Z-ebdfce,quiet machine,468,Board power W,461,4.8,4.95,46.35 14 +This morning,20261120T131336Z-efb67e,quiet machine,7,GPU utilization %,2,0.0,0.0,0.0 15 +This morning,20261120T131336Z-efb67e,quiet machine,7,SM clock MHz,2,208.0,692.0,1176.0 16 +This morning,20261120T131336Z-efb67e,quiet machine,7,Temperature °C,2,44.0,44.5,45.0 17 +This morning,20261120T131336Z-efb67e,quiet machine,7,Board power W,2,5.0,6.`095000000000001`,7.19 18 +Merged main,20261120T143359Z-be6ef1,quiet machine,467,GPU utilization %,462,0.0,0.0,96.0 19 +Merged main,20261120T143359Z-be6ef1,quiet machine,467,SM clock MHz,462,201.0,208.0,2535.0 20 +Merged main,20261120T143359Z-be6ef1,quiet machine,467,Temperature °C,462,46.0,49.0,56.0 21 +Merged main,20261120T143359Z-be6ef1,quiet machine,467,Board power W,462,4.96,5.26,47.15 22 +Merged main,20261120T144219Z-0fb968,quiet machine,9,GPU utilization %,3,0.0,0.0,15.0 23 +Merged main,20261120T144219Z-0fb968,quiet machine,9,SM clock MHz,3,208.0,962.0,1280.0 24 +Merged main,20261120T144219Z-0fb968,quiet machine,9,Temperature °C,3,49.0,50.0,50.0 25 +Merged main,20261120T144219Z-0fb968,quiet machine,9,Board power W,3,5.22,6.58,11.94 evidence/q38-stress-gb10-20261120T143359Z/telemetry.csv new file mode 100644 @@ -0,0 +1,463 @@ 1 +timestamp, utilization.gpu [%], clocks.current.sm [MHz], temperature.gpu, power.draw [W] 2 +2026/11/20 08:34:03.019, 0, 208, 55, 5.80 3 +2026/11/20 08:34:04.033, 0, 208, 55, 5.87 4 +2026/11/20 08:34:05.033, 0, 208, 55, 5.82 5 +2026/11/20 08:34:06.033, 0, 214, 55, 5.83 6 +2026/11/20 08:34:07.033, 0, 208, 56, 6.29 7 +2026/11/20 08:34:08.033, 87, 598, 55, 12.88 8 +2026/11/20 08:34:09.034, 0, 598, 55, 6.88 9 +2026/11/20 08:34:10.034, 0, 598, 55, 6.87 10 +2026/11/20 08:34:11.034, 0, 598, 55, 6.87 11 +2026/11/20 08:34:12.034, 0, 208, 55, 5.83 12 +2026/11/20 08:34:13.034, 0, 208, 54, 5.81 13 +2026/11/20 08:34:14.034, 0, 208, 54, 5.74 14 +2026/11/20 08:34:15.034, 0, 208, 54, 5.72 15 +2026/11/20 08:34:16.034, 0, 208, 54, 5.69 16 +2026/11/20 08:34:17.035, 0, 208, 54, 5.68 17 +2026/11/20 08:34:18.035, 0, 208, 54, 5.74 18 +2026/11/20 08:34:19.035, 0, 208, 54, 5.73 19 +2026/11/20 08:34:20.035, 0, 208, 54, 5.77 20 +2026/11/20 08:34:21.035, 0, 208, 54, 5.62 21 +2026/11/20 08:34:22.035, 0, 208, 54, 5.74 22 +2026/11/20 08:34:23.036, 0, 208, 54, 5.74 23 +2026/11/20 08:34:24.036, 0, 208, 54, 5.62 24 +2026/11/20 08:34:25.036, 0, 208, 54, 5.78 25 +2026/11/20 08:34:26.036, 0, 208, 53, 5.61 26 +2026/11/20 08:34:27.036, 0, 208, 53, 5.63 27 +2026/11/20 08:34:28.036, 0, 208, 53, 5.60 28 +2026/11/20 08:34:29.036, 0, 201, 53, 5.59 29 +2026/11/20 08:34:30.036, 0, 208, 53, 5.59 30 +2026/11/20 08:34:31.037, 0, 208, 53, 5.58 31 +2026/11/20 08:34:32.037, 0, 208, 53, 5.60 32 +2026/11/20 08:34:33.037, 5, 1410, 56, 8.91 33 +2026/11/20 08:34:34.037, 94, 845, 54, 19.40 34 +2026/11/20 08:34:35.037, 0, 598, 54, 6.71 35 +2026/11/20 08:34:36.038, 0, 442, 53, 6.63 36 +2026/11/20 08:34:37.038, 0, 442, 53, 6.63 37 +2026/11/20 08:34:38.038, 0, 208, 53, 5.65 38 +2026/11/20 08:34:39.038, 0, 208, 53, 5.62 39 +2026/11/20 08:34:40.038, 0, 208, 53, 5.61 40 +2026/11/20 08:34:41.039, 0, 208, 53, 5.57 41 +2026/11/20 08:34:42.039, 0, 208, 53, 5.54 42 +2026/11/20 08:34:43.039, 0, 208, 53, 5.49 43 +2026/11/20 08:34:44.039, 0, 208, 52, 5.53 44 +2026/11/20 08:34:45.039, 1, 208, 53, 5.67 45 +2026/11/20 08:34:46.039, 0, 208, 52, 5.61 46 +2026/11/20 08:34:47.040, 0, 208, 52, 5.59 47 +2026/11/20 08:34:48.040, 0, 208, 52, 5.51 48 +2026/11/20 08:34:49.040, 0, 208, 52, 5.63 49 +2026/11/20 08:34:50.040, 0, 208, 52, 5.63 50 +2026/11/20 08:34:51.040, 0, 208, 52, 5.46 51 +2026/11/20 08:34:52.040, 0, 208, 52, 5.47 52 +2026/11/20 08:34:53.040, 0, 208, 53, 5.50 53 +2026/11/20 08:34:54.041, 0, 208, 53, 5.51 54 +2026/11/20 08:34:55.041, 0, 208, 53, 5.48 55 +2026/11/20 08:34:56.041, 0, 208, 53, 5.46 56 +2026/11/20 08:34:57.041, 0, 208, 52, 5.50 57 +2026/11/20 08:34:58.041, 0, 208, 52, 5.48 58 +2026/11/20 08:34:59.041, 0, 201, 52, 5.46 59 +2026/11/20 08:35:00.041, 0, 208, 52, 5.47 60 +2026/11/20 08:35:01.041, 0, 208, 52, 5.47 61 +2026/11/20 08:35:02.042, 0, 208, 52, 5.42 62 +2026/11/20 08:35:03.042, 0, 208, 52, 5.45 63 +2026/11/20 08:35:04.042, 0, 208, 52, 5.45 64 +2026/11/20 08:35:05.042, 0, 208, 52, 5.47 65 +2026/11/20 08:35:06.042, 0, 208, 52, 5.46 66 +2026/11/20 08:35:07.042, 0, 208, 52, 5.45 67 +2026/11/20 08:35:08.042, 0, 208, 52, 5.46 68 +2026/11/20 08:35:09.042, 0, 208, 52, 5.47 69 +2026/11/20 08:35:10.043, 0, 208, 52, 5.48 70 +2026/11/20 08:35:11.043, 0, 208, 52, 5.48 71 +2026/11/20 08:35:12.043, 0, 208, 52, 5.46 72 +2026/11/20 08:35:13.043, 0, 208, 52, 5.45 73 +2026/11/20 08:35:14.043, 0, 208, 52, 5.45 74 +2026/11/20 08:35:15.043, 0, 208, 52, 5.50 75 +2026/11/20 08:35:16.044, 0, 208, 52, 5.43 76 +2026/11/20 08:35:17.044, 0, 208, 52, 5.43 77 +2026/11/20 08:35:18.044, 0, 208, 52, 5.45 78 +2026/11/20 08:35:19.044, 0, 208, 52, 5.45 79 +2026/11/20 08:35:20.044, 0, 208, 52, 5.45 80 +2026/11/20 08:35:21.044, 0, 208, 52, 5.45 81 +2026/11/20 08:35:22.044, 0, 208, 52, 5.42 82 +2026/11/20 08:35:23.044, 0, 208, 52, 5.42 83 +2026/11/20 08:35:24.045, 0, 208, 52, 5.37 84 +2026/11/20 08:35:25.045, 0, 208, 52, 5.42 85 +2026/11/20 08:35:26.045, 0, 208, 52, 5.42 86 +2026/11/20 08:35:27.045, 0, 208, 52, 5.42 87 +2026/11/20 08:35:28.045, 0, 208, 52, 5.41 88 +2026/11/20 08:35:29.045, 0, 208, 52, 5.41 89 +2026/11/20 08:35:30.045, 0, 208, 52, 5.44 90 +2026/11/20 08:35:31.046, 0, 208, 52, 5.42 91 +2026/11/20 08:35:32.046, 0, 208, 52, 5.42 92 +2026/11/20 08:35:33.046, 0, 208, 51, 5.41 93 +2026/11/20 08:35:34.046, 0, 208, 51, 5.41 94 +2026/11/20 08:35:35.046, 0, 208, 51, 5.43 95 +2026/11/20 08:35:36.046, 0, 208, 51, 5.43 96 +2026/11/20 08:35:37.047, 0, 208, 51, 5.37 97 +2026/11/20 08:35:38.047, 0, 208, 51, 5.39 98 +2026/11/20 08:35:39.047, 0, 208, 51, 5.39 99 +2026/11/20 08:35:40.047, 0, 201, 51, 5.39 100 +2026/11/20 08:35:41.047, 0, 208, 51, 5.38 101 +2026/11/20 08:35:42.047, 0, 208, 51, 5.37 102 +2026/11/20 08:35:43.047, 0, 208, 51, 5.37 103 +2026/11/20 08:35:44.048, 0, 208, 51, 5.40 104 +2026/11/20 08:35:45.048, 0, 208, 51, 5.40 105 +2026/11/20 08:35:46.048, 0, 208, 51, 5.40 106 +2026/11/20 08:35:47.048, 0, 208, 51, 5.33 107 +2026/11/20 08:35:48.048, 0, 208, 51, 5.35 108 +2026/11/20 08:35:49.048, 0, 208, 51, 5.40 109 +2026/11/20 08:35:50.048, 0, 208, 51, 5.41 110 +2026/11/20 08:35:51.049, 0, 208, 51, 5.41 111 +2026/11/20 08:35:52.049, 0, 208, 51, 5.46 112 +2026/11/20 08:35:53.049, 0, 208, 51, 5.41 113 +2026/11/20 08:35:54.049, 0, 208, 51, 5.38 114 +2026/11/20 08:35:55.049, 0, 208, 51, 5.41 115 +2026/11/20 08:35:56.049, 0, 208, 51, 5.38 116 +2026/11/20 08:35:57.049, 0, 208, 51, 5.40 117 +2026/11/20 08:35:58.050, 0, 208, 51, 5.40 118 +2026/11/20 08:35:59.050, 0, 208, 51, 5.37 119 +2026/11/20 08:36:00.050, 0, 208, 51, 5.38 120 +2026/11/20 08:36:01.050, 0, 208, 51, 5.37 121 +2026/11/20 08:36:02.050, 0, 208, 51, 5.34 122 +2026/11/20 08:36:03.050, 0, 208, 51, 5.33 123 +2026/11/20 08:36:04.050, 0, 208, 51, 5.29 124 +2026/11/20 08:36:05.050, 0, 214, 51, 5.34 125 +2026/11/20 08:36:06.051, 0, 208, 50, 5.30 126 +2026/11/20 08:36:07.051, 0, 208, 50, 5.35 127 +2026/11/20 08:36:08.051, 0, 208, 50, 5.34 128 +2026/11/20 08:36:09.051, 0, 208, 50, 5.37 129 +2026/11/20 08:36:10.051, 0, 208, 50, 5.36 130 +2026/11/20 08:36:11.051, 0, 208, 50, 5.35 131 +2026/11/20 08:36:12.051, 0, 208, 50, 5.34 132 +2026/11/20 08:36:13.051, 0, 208, 50, 5.35 133 +2026/11/20 08:36:14.052, 0, 208, 50, 5.31 134 +2026/11/20 08:36:15.052, 0, 208, 50, 5.31 135 +2026/11/20 08:36:16.052, 0, 208, 50, 5.32 136 +2026/11/20 08:36:17.052, 0, 208, 50, 5.31 137 +2026/11/20 08:36:18.052, 0, 208, 50, 5.31 138 +2026/11/20 08:36:19.052, 0, 208, 50, 5.34 139 +2026/11/20 08:36:20.052, 0, 208, 50, 5.27 140 +2026/11/20 08:36:21.053, 0, 201, 50, 5.29 141 +2026/11/20 08:36:22.053, 0, 208, 50, 5.30 142 +2026/11/20 08:36:23.053, 0, 208, 50, 5.29 143 +2026/11/20 08:36:24.053, 0, 208, 50, 5.28 144 +2026/11/20 08:36:25.053, 0, 208, 50, 5.28 145 +2026/11/20 08:36:26.054, 0, 208, 50, 5.29 146 +2026/11/20 08:36:27.054, 0, 208, 50, 5.34 147 +2026/11/20 08:36:28.054, 0, 208, 50, 5.33 148 +2026/11/20 08:36:29.054, 0, 208, 50, 5.31 149 +2026/11/20 08:36:30.054, 0, 208, 50, 5.30 150 +2026/11/20 08:36:31.054, 0, 208, 50, 5.30 151 +2026/11/20 08:36:32.054, 0, 208, 50, 5.37 152 +2026/11/20 08:36:33.055, 0, 208, 50, 5.38 153 +2026/11/20 08:36:34.055, 0, 208, 50, 5.32 154 +2026/11/20 08:36:35.055, 0, 208, 50, 5.35 155 +2026/11/20 08:36:36.055, 0, 208, 50, 5.33 156 +2026/11/20 08:36:37.055, 0, 208, 50, 5.33 157 +2026/11/20 08:36:38.055, 0, 208, 50, 5.31 158 +2026/11/20 08:36:39.056, 0, 208, 50, 5.33 159 +2026/11/20 08:36:40.056, 0, 208, 50, 5.34 160 +2026/11/20 08:36:41.056, 0, 208, 50, 5.26 161 +2026/11/20 08:36:42.056, 0, 208, 50, 5.26 162 +2026/11/20 08:36:43.056, 0, 208, 50, 5.26 163 +2026/11/20 08:36:44.056, 0, 208, 50, 5.25 164 +2026/11/20 08:36:45.056, 0, 208, 50, 5.29 165 +2026/11/20 08:36:46.057, 0, 208, 50, 5.31 166 +2026/11/20 08:36:47.057, 0, 208, 50, 5.29 167 +2026/11/20 08:36:48.057, 0, 208, 50, 5.29 168 +2026/11/20 08:36:49.057, 0, 208, 50, 5.30 169 +2026/11/20 08:36:50.057, 0, 208, 50, 5.27 170 +2026/11/20 08:36:51.057, 0, 208, 50, 5.27 171 +2026/11/20 08:36:52.057, 0, 208, 50, 5.28 172 +2026/11/20 08:36:53.058, 0, 208, 50, 5.28 173 +2026/11/20 08:36:54.058, 0, 208, 50, 5.28 174 +2026/11/20 08:36:55.058, 0, 208, 50, 5.28 175 +2026/11/20 08:36:56.058, 0, 208, 50, 5.26 176 +2026/11/20 08:36:57.058, 0, 208, 50, 5.25 177 +2026/11/20 08:36:58.058, 0, 208, 50, 5.24 178 +2026/11/20 08:36:59.058, 0, 208, 50, 5.24 179 +2026/11/20 08:37:00.059, 0, 208, 50, 5.28 180 +2026/11/20 08:37:01.059, 0, 208, 50, 5.30 181 +2026/11/20 08:37:02.059, 0, 208, 50, 5.26 182 +2026/11/20 08:37:03.059, 0, 208, 50, 5.26 183 +2026/11/20 08:37:04.059, 0, 208, 50, 5.22 184 +2026/11/20 08:37:05.060, 0, 208, 49, 5.30 185 +2026/11/20 08:37:06.060, 0, 208, 49, 5.30 186 +2026/11/20 08:37:07.060, 0, 208, 50, 5.27 187 +2026/11/20 08:37:08.060, 0, 208, 49, 5.27 188 +2026/11/20 08:37:09.060, 0, 208, 49, 5.27 189 +2026/11/20 08:37:10.060, 0, 208, 49, 5.27 190 +2026/11/20 08:37:11.061, 0, 208, 49, 5.28 191 +2026/11/20 08:37:12.061, 0, 208, 49, 5.26 192 +2026/11/20 08:37:13.061, 0, 208, 49, 5.28 193 +2026/11/20 08:37:14.061, 0, 208, 49, 5.29 194 +2026/11/20 08:37:15.061, 0, 208, 49, 5.31 195 +2026/11/20 08:37:16.061, 0, 208, 49, 5.28 196 +2026/11/20 08:37:17.061, 0, 208, 49, 5.26 197 +2026/11/20 08:37:18.062, 0, 208, 49, 5.26 198 +2026/11/20 08:37:19.062, 0, 208, 49, 5.28 199 +2026/11/20 08:37:20.062, 0, 208, 49, 5.26 200 +2026/11/20 08:37:21.062, 0, 208, 49, 5.27 201 +2026/11/20 08:37:22.062, 0, 208, 49, 5.24 202 +2026/11/20 08:37:23.062, 0, 208, 49, 5.27 203 +2026/11/20 08:37:24.062, 0, 208, 49, 5.25 204 +2026/11/20 08:37:25.063, 0, 208, 49, 5.23 205 +2026/11/20 08:37:26.063, 0, 208, 49, 5.21 206 +2026/11/20 08:37:27.063, 0, 208, 49, 5.25 207 +2026/11/20 08:37:28.063, 0, 208, 49, 5.23 208 +2026/11/20 08:37:29.063, 0, 208, 49, 5.24 209 +2026/11/20 08:37:30.063, 0, 208, 49, 5.25 210 +2026/11/20 08:37:31.063, 0, 208, 49, 5.26 211 +2026/11/20 08:37:32.063, 0, 208, 49, 5.24 212 +2026/11/20 08:37:33.064, 0, 208, 49, 5.26 213 +2026/11/20 08:37:34.064, 0, 208, 49, 5.27 214 +2026/11/20 08:37:35.064, 0, 208, 49, 5.26 215 +2026/11/20 08:37:36.064, 0, 208, 49, 5.27 216 +2026/11/20 08:37:37.064, 0, 208, 49, 5.27 217 +2026/11/20 08:37:38.064, 0, 208, 49, 5.23 218 +2026/11/20 08:37:39.064, 0, 208, 49, 5.22 219 +2026/11/20 08:37:40.064, 0, 208, 49, 5.25 220 +2026/11/20 08:37:41.064, 0, 208, 49, 5.25 221 +2026/11/20 08:37:42.065, 0, 208, 49, 5.25 222 +2026/11/20 08:37:43.065, 0, 201, 49, 5.26 223 +2026/11/20 08:37:44.065, 0, 208, 49, 5.26 224 +2026/11/20 08:37:45.065, 0, 208, 49, 5.25 225 +2026/11/20 08:37:46.065, 0, 208, 49, 5.23 226 +2026/11/20 08:37:47.065, 0, 208, 49, 5.24 227 +2026/11/20 08:37:48.065, 0, 208, 49, 5.25 228 +2026/11/20 08:37:49.065, 0, 208, 49, 5.24 229 +2026/11/20 08:37:50.066, 0, 208, 49, 5.26 230 +2026/11/20 08:37:51.066, 0, 208, 49, 5.24 231 +2026/11/20 08:37:52.066, 0, 208, 49, 5.24 232 +2026/11/20 08:37:53.066, 0, 208, 49, 5.22 233 +2026/11/20 08:37:54.066, 0, 208, 49, 5.20 234 +2026/11/20 08:37:55.066, 0, 208, 49, 5.28 235 +2026/11/20 08:37:56.066, 0, 208, 50, 5.26 236 +2026/11/20 08:37:57.066, 0, 208, 50, 5.27 237 +2026/11/20 08:37:58.066, 0, 208, 50, 5.30 238 +2026/11/20 08:37:59.066, 0, 208, 50, 5.29 239 +2026/11/20 08:38:00.067, 0, 208, 50, 5.27 240 +2026/11/20 08:38:01.067, 0, 208, 50, 5.25 241 +2026/11/20 08:38:02.067, 0, 208, 50, 5.25 242 +2026/11/20 08:38:03.067, 0, 208, 49, 5.25 243 +2026/11/20 08:38:04.067, 0, 208, 49, 5.25 244 +2026/11/20 08:38:05.067, 0, 208, 49, 5.28 245 +2026/11/20 08:38:06.067, 0, 208, 49, 5.30 246 +2026/11/20 08:38:07.068, 0, 208, 49, 5.29 247 +2026/11/20 08:38:08.068, 0, 208, 49, 5.22 248 +2026/11/20 08:38:09.068, 0, 208, 49, 5.19 249 +2026/11/20 08:38:10.068, 0, 208, 49, 5.23 250 +2026/11/20 08:38:11.068, 0, 208, 49, 5.27 251 +2026/11/20 08:38:12.068, 0, 208, 49, 5.26 252 +2026/11/20 08:38:13.069, 0, 208, 49, 5.25 253 +2026/11/20 08:38:14.069, 0, 208, 49, 5.27 254 +2026/11/20 08:38:15.069, 0, 208, 49, 5.29 255 +2026/11/20 08:38:16.084, 0, 208, 49, 5.28 256 +2026/11/20 08:38:17.084, 0, 208, 49, 5.26 257 +2026/11/20 08:38:18.084, 0, 208, 49, 5.25 258 +2026/11/20 08:38:19.085, 0, 208, 49, 5.26 259 +2026/11/20 08:38:20.085, 0, 208, 49, 5.25 260 +2026/11/20 08:38:21.085, 0, 208, 49, 5.25 261 +2026/11/20 08:38:22.085, 0, 208, 49, 5.24 262 +2026/11/20 08:38:23.085, 0, 208, 49, 5.26 263 +2026/11/20 08:38:24.085, 0, 201, 49, 5.27 264 +2026/11/20 08:38:25.085, 0, 208, 49, 5.28 265 +2026/11/20 08:38:26.085, 0, 208, 49, 5.28 266 +2026/11/20 08:38:27.086, 0, 208, 49, 5.28 267 +2026/11/20 08:38:28.086, 0, 208, 49, 5.24 268 +2026/11/20 08:38:29.086, 0, 208, 49, 5.24 269 +2026/11/20 08:38:30.086, 0, 208, 49, 5.26 270 +2026/11/20 08:38:31.086, 0, 208, 49, 5.29 271 +2026/11/20 08:38:32.087, 0, 208, 49, 5.26 272 +2026/11/20 08:38:33.087, 0, 208, 49, 5.24 273 +2026/11/20 08:38:34.087, 0, 208, 49, 5.23 274 +2026/11/20 08:38:35.087, 0, 208, 49, 5.22 275 +2026/11/20 08:38:36.087, 0, 208, 49, 5.20 276 +2026/11/20 08:38:37.087, 0, 208, 49, 5.23 277 +2026/11/20 08:38:38.087, 0, 208, 49, 5.21 278 +2026/11/20 08:38:39.087, 0, 208, 49, 5.20 279 +2026/11/20 08:38:40.088, 0, 208, 49, 5.21 280 +2026/11/20 08:38:41.088, 0, 208, 49, 5.24 281 +2026/11/20 08:38:42.088, 0, 208, 49, 5.23 282 +2026/11/20 08:38:43.088, 0, 208, 49, 5.24 283 +2026/11/20 08:38:44.088, 0, 208, 49, 5.27 284 +2026/11/20 08:38:45.088, 0, 208, 49, 5.28 285 +2026/11/20 08:38:46.089, 0, 208, 49, 5.27 286 +2026/11/20 08:38:47.089, 0, 208, 49, 5.28 287 +2026/11/20 08:38:48.089, 0, 208, 49, 5.28 288 +2026/11/20 08:38:49.089, 0, 208, 49, 5.27 289 +2026/11/20 08:38:50.089, 0, 208, 49, 5.28 290 +2026/11/20 08:38:51.089, 0, 208, 50, 5.28 291 +2026/11/20 08:38:52.089, 0, 208, 50, 5.28 292 +2026/11/20 08:38:53.090, 0, 208, 50, 5.28 293 +2026/11/20 08:38:54.090, 0, 208, 50, 5.24 294 +2026/11/20 08:38:55.090, 0, 208, 49, 5.20 295 +2026/11/20 08:38:56.090, 0, 208, 49, 5.21 296 +2026/11/20 08:38:57.090, 0, 208, 49, 5.20 297 +2026/11/20 08:38:58.090, 0, 208, 49, 5.17 298 +2026/11/20 08:38:59.090, 0, 208, 49, 5.18 299 +2026/11/20 08:39:00.091, 0, 208, 49, 5.23 300 +2026/11/20 08:39:01.091, 0, 208, 49, 5.26 301 +2026/11/20 08:39:02.091, 0, 208, 49, 5.26 302 +2026/11/20 08:39:03.091, 0, 208, 49, 5.26 303 +2026/11/20 08:39:04.091, 0, 208, 49, 5.28 304 +2026/11/20 08:39:05.091, 0, 201, 49, 5.29 305 +2026/11/20 08:39:06.092, 0, 208, 49, 5.26 306 +2026/11/20 08:39:07.092, 0, 208, 49, 5.24 307 +2026/11/20 08:39:08.092, 0, 208, 49, 5.23 308 +2026/11/20 08:39:09.092, 0, 208, 49, 5.23 309 +2026/11/20 08:39:10.092, 0, 208, 49, 5.26 310 +2026/11/20 08:39:11.092, 0, 208, 49, 5.25 311 +2026/11/20 08:39:12.092, 0, 208, 49, 5.20 312 +2026/11/20 08:39:13.093, 0, 208, 49, 5.21 313 +2026/11/20 08:39:14.093, 0, 208, 49, 5.21 314 +2026/11/20 08:39:15.093, 0, 208, 49, 5.21 315 +2026/11/20 08:39:16.093, 0, 208, 49, 5.18 316 +2026/11/20 08:39:17.094, 0, 208, 49, 5.17 317 +2026/11/20 08:39:18.094, 0, 208, 49, 5.18 318 +2026/11/20 08:39:19.094, 0, 208, 49, 5.19 319 +2026/11/20 08:39:20.094, 0, 208, 49, 5.23 320 +2026/11/20 08:39:21.094, 0, 208, 49, 5.18 321 +2026/11/20 08:39:22.094, 0, 208, 49, 5.20 322 +2026/11/20 08:39:23.095, 0, 208, 49, 5.21 323 +2026/11/20 08:39:24.095, 0, 208, 49, 5.22 324 +2026/11/20 08:39:25.095, 0, 208, 49, 5.24 325 +2026/11/20 08:39:26.095, 0, 208, 48, 5.20 326 +2026/11/20 08:39:27.095, 0, 208, 48, 5.22 327 +2026/11/20 08:39:28.095, 0, 208, 48, 5.22 328 +2026/11/20 08:39:29.095, 0, 208, 48, 5.18 329 +2026/11/20 08:39:30.096, 0, 208, 48, 5.17 330 +2026/11/20 08:39:31.096, 0, 208, 48, 5.15 331 +2026/11/20 08:39:32.096, 0, 208, 48, 5.16 332 +2026/11/20 08:39:33.096, 0, 208, 48, 5.21 333 +2026/11/20 08:39:34.096, 0, 208, 48, 5.21 334 +2026/11/20 08:39:35.096, 0, 208, 48, 5.17 335 +2026/11/20 08:39:36.097, 0, 208, 48, 5.14 336 +2026/11/20 08:39:37.097, 0, 208, 48, 5.18 337 +2026/11/20 08:39:38.097, 0, 208, 48, 5.18 338 +2026/11/20 08:39:39.097, 0, 208, 48, 5.21 339 +2026/11/20 08:39:40.097, 0, 208, 48, 5.20 340 +2026/11/20 08:39:41.097, 0, 208, 48, 5.18 341 +2026/11/20 08:39:42.098, 0, 208, 48, 5.06 342 +2026/11/20 08:39:43.098, 0, 208, 48, 5.07 343 +2026/11/20 08:39:44.098, 0, 208, 48, 5.10 344 +2026/11/20 08:39:45.098, 0, 208, 48, 5.14 345 +2026/11/20 08:39:46.098, 0, 201, 48, 5.14 346 +2026/11/20 08:39:47.099, 0, 208, 48, 5.14 347 +2026/11/20 08:39:48.099, 0, 208, 48, 5.11 348 +2026/11/20 08:39:49.099, 0, 208, 48, 5.07 349 +2026/11/20 08:39:50.099, 0, 208, 48, 5.14 350 +2026/11/20 08:39:51.099, 0, 208, 48, 5.18 351 +2026/11/20 08:39:52.099, 0, 208, 48, 5.16 352 +2026/11/20 08:39:53.099, 0, 208, 48, 5.18 353 +2026/11/20 08:39:54.099, 0, 208, 48, 5.12 354 +2026/11/20 08:39:55.099, 0, 208, 48, 5.16 355 +2026/11/20 08:39:56.100, 0, 208, 48, 5.14 356 +2026/11/20 08:39:57.100, 0, 208, 48, 5.20 357 +2026/11/20 08:39:58.100, 0, 208, 48, 5.17 358 +2026/11/20 08:39:59.100, 0, 208, 48, 5.17 359 +2026/11/20 08:40:00.101, 0, 208, 48, 5.18 360 +2026/11/20 08:40:01.101, 0, 208, 48, 5.17 361 +2026/11/20 08:40:02.101, 0, 208, 47, 5.13 362 +2026/11/20 08:40:03.101, 0, 208, 47, 5.14 363 +2026/11/20 08:40:04.101, 0, 208, 47, 5.16 364 +2026/11/20 08:40:05.101, 0, 208, 47, 5.14 365 +2026/11/20 08:40:06.101, 0, 208, 47, 5.14 366 +2026/11/20 08:40:07.102, 0, 208, 47, 5.13 367 +2026/11/20 08:40:08.102, 0, 208, 47, 5.12 368 +2026/11/20 08:40:09.102, 0, 208, 47, 5.11 369 +2026/11/20 08:40:10.102, 0, 208, 47, 5.15 370 +2026/11/20 08:40:11.102, 0, 208, 47, 5.13 371 +2026/11/20 08:40:12.102, 0, 208, 47, 5.10 372 +2026/11/20 08:40:13.103, 0, 208, 47, 5.13 373 +2026/11/20 08:40:14.103, 0, 208, 47, 5.15 374 +2026/11/20 08:40:15.103, 0, 208, 47, 5.15 375 +2026/11/20 08:40:16.103, 0, 208, 47, 5.10 376 +2026/11/20 08:40:17.103, 0, 208, 47, 5.06 377 +2026/11/20 08:40:18.103, 0, 208, 47, 5.05 378 +2026/11/20 08:40:19.103, 0, 208, 47, 5.09 379 +2026/11/20 08:40:20.103, 0, 208, 47, 5.12 380 +2026/11/20 08:40:21.104, 0, 208, 47, 5.11 381 +2026/11/20 08:40:22.104, 0, 208, 47, 5.08 382 +2026/11/20 08:40:23.104, 0, 208, 47, 5.12 383 +2026/11/20 08:40:24.104, 0, 208, 47, 5.13 384 +2026/11/20 08:40:25.104, 0, 208, 47, 5.12 385 +2026/11/20 08:40:26.104, 0, 201, 47, 5.11 386 +2026/11/20 08:40:27.104, 0, 208, 47, 5.12 387 +2026/11/20 08:40:28.105, 0, 208, 47, 5.09 388 +2026/11/20 08:40:29.105, 0, 208, 47, 5.09 389 +2026/11/20 08:40:30.105, 0, 208, 47, 5.09 390 +2026/11/20 08:40:31.105, 0, 208, 47, 5.11 391 +2026/11/20 08:40:32.105, 0, 208, 47, 5.13 392 +2026/11/20 08:40:33.106, 0, 208, 47, 5.05 393 +2026/11/20 08:40:34.106, 0, 208, 47, 5.07 394 +2026/11/20 08:40:35.106, 0, 208, 47, 5.09 395 +2026/11/20 08:40:36.106, 0, 208, 47, 5.12 396 +2026/11/20 08:40:37.106, 0, 208, 47, 5.11 397 +2026/11/20 08:40:38.107, 0, 208, 47, 5.09 398 +2026/11/20 08:40:39.107, 0, 208, 47, 5.06 399 +2026/11/20 08:40:40.107, 0, 208, 47, 5.08 400 +2026/11/20 08:40:41.107, 0, 208, 47, 5.11 401 +2026/11/20 08:40:42.107, 0, 208, 47, 5.12 402 +2026/11/20 08:40:43.107, 0, 208, 47, 5.10 403 +2026/11/20 08:40:44.108, 0, 208, 47, 5.16 404 +2026/11/20 08:40:45.108, 0, 208, 47, 5.14 405 +2026/11/20 08:40:46.108, 0, 208, 47, 5.12 406 +2026/11/20 08:40:47.108, 0, 208, 47, 5.05 407 +2026/11/20 08:40:48.108, 0, 208, 47, 5.08 408 +2026/11/20 08:40:49.108, 0, 208, 47, 5.10 409 +2026/11/20 08:40:50.108, 0, 208, 47, 5.09 410 +2026/11/20 08:40:51.108, 0, 208, 47, 5.09 411 +2026/11/20 08:40:52.109, 0, 208, 47, 5.09 412 +2026/11/20 08:40:53.109, 0, 208, 47, 5.08 413 +2026/11/20 08:40:54.109, 0, 208, 47, 5.09 414 +2026/11/20 08:40:55.109, 0, 208, 47, 5.07 415 +2026/11/20 08:40:56.109, 0, 208, 47, 5.09 416 +2026/11/20 08:40:57.109, 0, 208, 47, 5.10 417 +2026/11/20 08:40:58.109, 0, 208, 47, 5.07 418 +2026/11/20 08:40:59.110, 0, 208, 47, 5.09 419 +2026/11/20 08:41:00.110, 0, 214, 47, 5.14 420 +2026/11/20 08:41:01.110, 0, 208, 47, 5.13 421 +2026/11/20 08:41:02.110, 0, 208, 47, 5.11 422 +2026/11/20 08:41:03.110, 0, 208, 46, 5.06 423 +2026/11/20 08:41:04.110, 0, 208, 46, 5.11 424 +2026/11/20 08:41:05.110, 0, 208, 46, 5.09 425 +2026/11/20 08:41:06.111, 0, 208, 47, 5.08 426 +2026/11/20 08:41:07.111, 0, 201, 46, 5.05 427 +2026/11/20 08:41:08.111, 0, 208, 46, 5.02 428 +2026/11/20 08:41:09.111, 0, 208, 46, 5.10 429 +2026/11/20 08:41:10.111, 0, 208, 46, 5.09 430 +2026/11/20 08:41:11.111, 0, 208, 46, 5.08 431 +2026/11/20 08:41:12.112, 0, 208, 46, 5.11 432 +2026/11/20 08:41:13.112, 0, 208, 46, 5.04 433 +2026/11/20 08:41:14.112, 0, 208, 46, 5.05 434 +2026/11/20 08:41:15.112, 0, 208, 46, 5.09 435 +2026/11/20 08:41:16.112, 0, 208, 46, 5.08 436 +2026/11/20 08:41:17.112, 0, 208, 46, 5.07 437 +2026/11/20 08:41:18.112, 0, 208, 46, 5.07 438 +2026/11/20 08:41:19.113, 0, 208, 46, 5.09 439 +2026/11/20 08:41:20.113, 0, 208, 46, 4.99 440 +2026/11/20 08:41:21.113, 0, 208, 46, 5.03 441 +2026/11/20 08:41:22.113, 0, 208, 46, 5.06 442 +2026/11/20 08:41:23.113, 0, 208, 46, 5.05 443 +2026/11/20 08:41:24.113, 0, 208, 46, 5.00 444 +2026/11/20 08:41:25.113, 0, 208, 46, 5.00 445 +2026/11/20 08:41:26.114, 0, 208, 46, 5.02 446 +2026/11/20 08:41:27.114, 0, 208, 46, 5.04 447 +2026/11/20 08:41:28.114, 0, 208, 46, 5.01 448 +2026/11/20 08:41:29.114, 0, 208, 46, 5.03 449 +2026/11/20 08:41:30.114, 0, 208, 46, 5.03 450 +2026/11/20 08:41:31.114, 0, 208, 46, 4.97 451 +2026/11/20 08:41:32.115, 0, 208, 46, 4.96 452 +2026/11/20 08:41:33.115, 0, 208, 46, 4.99 453 +2026/11/20 08:41:34.115, 0, 208, 46, 5.04 454 +2026/11/20 08:41:35.115, 0, 208, 46, 5.05 455 +2026/11/20 08:41:36.115, 96, 1852, 51, 28.71 456 +2026/11/20 08:41:37.116, 96, 1807, 52, 36.03 457 +2026/11/20 08:41:38.116, 96, 1729, 50, 30.14 458 +2026/11/20 08:41:39.116, 96, 1781, 50, 31.74 459 +2026/11/20 08:41:40.116, 96, 2535, 54, 34.10 460 +2026/11/20 08:41:41.116, 96, 2528, 55, 47.15 461 +2026/11/20 08:41:42.117, 96, 2528, 56, 47.11 462 +2026/11/20 08:41:43.117, 96, 1124, 50, 37.72 463 +2026/11/20 08:41:44.117, 16, 812, 49, 7.75 om/compiler/osc_literal.om new file mode 100644 @@ -0,0 +1,59 @@ 1 +note SPDX-License-Identifier: Apache-2.0 2 +note Decode the spelling of one OSC integer token. Syntax takes precedence over overflow. 3 +note bridge c-define OSC_LITERAL_MALFORMED 1 4 +note bridge c-define OSC_LITERAL_OVERFLOW 2 5 +om2 6 + 7 +fn literal_digit c ulong to ulong 8 +if and ge c 48 le c 57 9 + ret sub c 48 10 +end 11 +if and ge c 65 le c 70 12 + ret add 10 sub c 65 13 +end 14 +if and ge c 97 le c 102 15 + ret add 10 sub c 97 16 +end 17 +ret 16 18 +end 19 + 20 +export fn osc_parse_literal spelling view uchar * value out ulong 1 to ulong 21 +put value 0 0 22 +radix = ulong 10 23 +pos = ulong 0 24 +if ge len spelling 2 25 + if eq get spelling 0 48 26 + prefix = get spelling 1 27 + if eq prefix 120 28 + radix = 16 29 + pos = 2 30 + end 31 + if eq prefix 98 32 + radix = 2 33 + pos = 2 34 + end 35 + end 36 +end 37 +if eq pos len spelling 38 + ret 1 39 +end 40 +acc = ulong 0 41 +overflow = false 42 +note The input span bounds the scan, including arbitrarily many leading zeroes. 43 +while lt pos len spelling bound `9223372036854775807` 44 + digit = literal_digit ulong get spelling pos 45 + if ge digit radix 46 + ret 1 47 + end 48 + if gt acc div sub 0xffffffffffffffff digit radix 49 + overflow = true 50 + end 51 + acc = add mul acc radix digit 52 + pos = add pos 1 53 +end 54 +if overflow 55 + ret 2 56 +end 57 +put value 0 acc 58 +ret 0 59 +end om/compiler/osc_ownership.om new file mode 100644 @@ -0,0 +1,170 @@ 1 +note SPDX-License-Identifier: Apache-2.0 2 +note OSC semantic decisions. The checker supplies the live counts for the owner 3 +note or, for a reborrow, the live child counts for its parent borrow. 4 +note bridge c-define OSC_OWN_ALLOWED 0 5 +note bridge c-define OSC_OWN_MOVED 1 6 +note bridge c-define OSC_OWN_ALIAS 2 7 +note bridge c-define OSC_OWN_READ_ONLY 3 8 +note bridge c-define OSC_OWN_LOOP_MOVE 4 9 +note bridge c-type oscowner OscCheckedOwner 10 +note bridge c-type oscbor OscCheckedBorrow 11 +om2 12 + 13 +note The checker snapshots this record at each branch. sym is the owning 14 +note symbol or -1, and arena1 is the arena symbol plus one or zero. 15 +layout oscowner 20 16 +field moved uchar at 0 little 17 +field n_shared ushort at 2 little 18 +field n_mut ushort at 4 little 19 +field moveline uint at 8 little 20 +field sym int at 12 little 21 +field arena1 int at 16 little 22 +end 23 + 24 +note parent is -1 for a direct borrow. Nested borrows count against 25 +note the parent borrow, direct borrows count against the owner. 26 +layout oscbor 24 27 +field live uchar at 0 little 28 +field mut uchar at 1 little 29 +field obj int at 4 little 30 +field parent int at 8 little 31 +field n_shared ushort at 12 little 32 +field n_mut ushort at 14 little 33 +field line uint at 16 little 34 +field sym int at 20 little 35 +end 36 + 37 +const owner_live uchar 0 38 +const owner_moved uchar 1 39 +const owner_maybe uchar 3 40 + 41 +const allowed ulong 0 42 +const moved_owner ulong 1 43 +const mutable_alias ulong 2 44 +const read_only ulong 3 45 +const loop_move ulong 4 46 + 47 +fn check_alias exclusive ulong shared_count ulong mut_count ulong to ulong 48 + if or ne mut_count 0 and ne exclusive 0 ne shared_count 0 49 + ret mutable_alias 50 + end 51 + ret allowed 52 +end 53 + 54 +export fn osc_owner_access moved ulong exclusive ulong shared_count ulong mut_count ulong to ulong 55 + if ne moved 0 56 + ret moved_owner 57 + end 58 + ret check_alias exclusive shared_count mut_count 59 +end 60 + 61 +export fn osc_borrow_access writable ulong exclusive ulong shared_count ulong mut_count ulong to ulong 62 + if and ne exclusive 0 eq writable 0 63 + ret read_only 64 + end 65 + ret check_alias exclusive shared_count mut_count 66 +end 67 + 68 +export fn osc_owner_move moved ulong shared_count ulong mut_count ulong declaration_depth long loop_depth long to ulong 69 + decision = osc_owner_access moved 1 shared_count mut_count 70 + if ne decision allowed 71 + ret decision 72 + end 73 + if lt declaration_depth loop_depth 74 + ret loop_move 75 + end 76 + ret allowed 77 +end 78 + 79 +note Join two paths that reach the same point. Keep the diagnostic line from 80 +note the already maybe-moved path when the other path definitely moved. 81 +note Return one when the declaration needs a conditional release. 82 +export fn osc_join_owner taken view oscowner remaining edit oscowner to ulong 83 + first = get taken moved 84 + second = get remaining moved 85 + if eq first second 86 + ret 0 87 + end 88 + if or eq second owner_live and eq second owner_moved eq first owner_maybe 89 + put remaining moveline get taken moveline 90 + end 91 + put remaining moved owner_maybe 92 + ret 1 93 +end 94 + 95 +note Handle provenance is definite only while every surviving path retains 96 +note its original allocation. For a single surviving path pass before as other. 97 +export fn osc_join_handle before long current long other long to long 98 + if or ne current before ne other before 99 + ret -1 100 + end 101 + ret before 102 +end 103 + 104 +note A provenance is definitely freed only when it was freed on both paths. 105 +export fn osc_join_frees taken view uchar * remaining edit uchar * to void 106 +requires eq len taken len remaining 107 + for i ulong len remaining 108 + if and ne get taken i 0 ne get remaining i 0 109 + put remaining i 1 110 + else 111 + put remaining i 0 112 + end 113 + end 114 +end 115 + 116 +export fn osc_init_owner item edit oscowner symbol long to void 117 + put item moved owner_live 118 + put item n_shared 0 119 + put item n_mut 0 120 + put item moveline 0 121 + put item sym int symbol 122 + put item arena1 0 123 +end 124 + 125 +fn init_borrow child edit oscbor object long parent_id long mutable ulong source_line ulong to void 126 + put child live 1 127 + put child mut uchar mutable 128 + put child obj int object 129 + put child parent int parent_id 130 + put child n_shared 0 131 + put child n_mut 0 132 + put child line uint source_line 133 + put child sym -1 134 +end 135 + 136 +export fn osc_open_borrow owner edit oscowner child edit oscbor object long mutable ulong source_line ulong to void 137 + init_borrow child object -1 mutable source_line 138 + if ne mutable 0 139 + put owner n_mut add get owner n_mut 1 140 + else 141 + put owner n_shared add get owner n_shared 1 142 + end 143 +end 144 + 145 +export fn osc_open_reborrow parent edit oscbor child edit oscbor object long parent_id long mutable ulong source_line ulong to void 146 + init_borrow child object parent_id mutable source_line 147 + if ne mutable 0 148 + put parent n_mut add get parent n_mut 1 149 + else 150 + put parent n_shared add get parent n_shared 1 151 + end 152 +end 153 + 154 +export fn osc_close_borrow owner edit oscowner child edit oscbor to void 155 + put child live 0 156 + if ne get child mut 0 157 + put owner n_mut sub get owner n_mut 1 158 + else 159 + put owner n_shared sub get owner n_shared 1 160 + end 161 +end 162 + 163 +export fn osc_close_reborrow parent edit oscbor child edit oscbor to void 164 + put child live 0 165 + if ne get child mut 0 166 + put parent n_mut sub get parent n_mut 1 167 + else 168 + put parent n_shared sub get parent n_shared 1 169 + end 170 +end om/runtime/rx_capq_core.om new file mode 100644 @@ -0,0 +1,160 @@ 1 +om2 2 +note rx_capq_core.om -- Capability Graph key hashing, dimension evaluation, 3 +note Pareto dominance, strict ordering, and 128-bit tolerance band in pure OM-2. 4 +note Replaces pure ranking/hashing logic in src/runtime/rx_capq.c. 5 + 6 +const CQ_PPM ulong `1000000` 7 +const MASK32 ulong `4294967295` 8 +const MIX1 ulong 0x9e3779b97f4a7c15 9 +const MIX2 ulong 0xbf58476d1ce4e5b9 10 +const MIX3 ulong 0x94d049bb133111eb 11 + 12 +fn dim_val vals view ulong 7 dim ulong to ulong 13 + if eq dim 0 14 + ret get vals 0 15 + end 16 + if eq dim 1 17 + ret get vals 1 18 + end 19 + if eq dim 2 20 + ret get vals 2 21 + end 22 + if eq dim 3 23 + c = get vals 3 24 + if ge c CQ_PPM 25 + ret 0 26 + end 27 + ret sub CQ_PPM c 28 + end 29 + if eq dim 4 30 + r = get vals 4 31 + if ge r CQ_PPM 32 + ret 0 33 + end 34 + ret sub CQ_PPM r 35 + end 36 + if eq dim 5 37 + if ne get vals 5 0 38 + ret 0 39 + end 40 + ret 1 41 + end 42 + if eq dim 6 43 + if ne get vals 6 0 44 + ret 0 45 + end 46 + ret 1 47 + end 48 + ret 0 49 +end 50 + 51 +fn mul128_hi a ulong b ulong to ulong 52 + a0 = and a MASK32 53 + a1 = shr a 32 54 + b0 = and b MASK32 55 + b1 = shr b 32 56 + p1 = mul a0 b1 57 + p2 = mul a1 b0 58 + mid = add shr mul a0 b0 32 and p1 MASK32 59 + mid = add mid and p2 MASK32 60 + hi = add mul a1 b1 shr p1 32 61 + hi = add hi shr p2 32 62 + ret add hi shr mid 32 63 +end 64 + 65 +fn mul128 a ulong b ulong dst edit ulong 2 to void 66 + put dst 0 mul a b 67 + put dst 1 mul128_hi a b 68 +end 69 + 70 +export fn rx_cq_key_hash cap_id ulong real_id ulong mach_id ulong skill_id ulong to ulong 71 + h = mul cap_id MIX1 72 + t1 = add add add real_id MIX2 shl h 6 shr h 2 73 + h = xor h t1 74 + t2 = add add add mach_id MIX3 shl h 6 shr h 2 75 + h = xor h t2 76 + t3 = add add add skill_id MIX1 shl h 6 shr h 2 77 + h = xor h t3 78 + ret and xor h shr h 32 MASK32 79 +end 80 + 81 +export fn rx_cq_dim_value vals view ulong 7 dim ulong to ulong 82 + ret dim_val vals dim 83 +end 84 + 85 +export fn rx_cq_dominates a view ulong 7 b view ulong 7 dims view uchar 7 nd ulong to ulong 86 + n = nd 87 + if gt n 7 88 + n = ulong 7 89 + end 90 + strict = ulong 0 91 + for i ulong n bound 7 92 + d = ulong get dims i 93 + x = dim_val a d 94 + y = dim_val b d 95 + if gt x y 96 + ret 0 97 + end 98 + if lt x y 99 + strict = ulong 1 100 + end 101 + end 102 + ret strict 103 +end 104 + 105 +note Strict lexicographic order over dims[0..nd-1], then 4 id tie-breakers in [7..10]. 106 +export fn rx_cq_cmp_full a view ulong 11 b view ulong 11 dims view uchar 7 nd ulong to long 107 + n = nd 108 + if gt n 7 109 + n = ulong 7 110 + end 111 + av = new ulong 7 0 112 + bv = new ulong 7 0 113 + for k ulong 7 114 + put av k get a k 115 + put bv k get b k 116 + end 117 + for i ulong n bound 7 118 + d = ulong get dims i 119 + x = dim_val av d 120 + y = dim_val bv d 121 + if lt x y 122 + ret -1 123 + end 124 + if gt x y 125 + ret 1 126 + end 127 + end 128 + for j ulong 4 129 + idx = add j 7 130 + ka = get a idx 131 + kb = get b idx 132 + if lt ka kb 133 + ret -1 134 + end 135 + if gt ka kb 136 + ret 1 137 + end 138 + end 139 + ret 0 140 +end 141 + 142 +note Exact 128-bit tolerance band: v * CQ_PPM <= best * (CQ_PPM + tol_ppm). 143 +export fn rx_cq_within v ulong best ulong tol_ppm ulong to ulong 144 + lhs = new ulong 2 0 145 + rhs = new ulong 2 0 146 + mul128 v CQ_PPM lhs 147 + mul128 best add CQ_PPM tol_ppm rhs 148 + lhi = get lhs 1 149 + rhi = get rhs 1 150 + if lt lhi rhi 151 + ret 1 152 + end 153 + if gt lhi rhi 154 + ret 0 155 + end 156 + if le get lhs 0 get rhs 0 157 + ret 1 158 + end 159 + ret 0 160 +end om/runtime/rx_cortex_rec.om new file mode 100644 @@ -0,0 +1,113 @@ 1 +om2 2 +note rx_cortex_rec.om -- World crumb to Cortex record classification, 3 +note digest packing, and parent-link deduplication in pure OM-2. 4 +note Replaces pure logic in src/runtime/rx_cortex_record.c. 5 + 6 +const CX_ENTITY ulong 1 7 +const CX_OBSERVATION ulong 3 8 +const CX_EXECUTION ulong 4 9 +const CX_FAILURE ulong 5 10 + 11 +const CX_K_WORK_ACCEPTED ulong 65537 12 +const CX_K_ENTITY_CREATED ulong 65538 13 +const CX_K_ENTITY_RETIRED ulong 65539 14 +const CX_K_EXEC_COMMIT ulong 65540 15 +const CX_K_EXEC_NOOP ulong 65541 16 +const CX_K_EXEC_FAILED ulong 65542 17 + 18 +const CX_PROT_AUTHORITY ulong 1 19 +const CX_PROT_COMMIT_RECEIPT ulong 2 20 + 21 +note Map RxCrumbKind to (cls, kind, protect) in dst[0..2]. 22 +export fn rx_cx_kind_of ckind ulong dst edit ulong 4 to void 23 + put dst 2 0 24 + if eq ckind 2 25 + put dst 0 CX_OBSERVATION 26 + put dst 1 CX_K_WORK_ACCEPTED 27 + put dst 2 CX_PROT_AUTHORITY 28 + ret 29 + end 30 + if eq ckind 1 31 + put dst 0 CX_ENTITY 32 + put dst 1 CX_K_ENTITY_CREATED 33 + ret 34 + end 35 + if eq ckind 9 36 + put dst 0 CX_ENTITY 37 + put dst 1 CX_K_ENTITY_RETIRED 38 + ret 39 + end 40 + if eq ckind 3 41 + put dst 0 CX_EXECUTION 42 + put dst 1 CX_K_EXEC_COMMIT 43 + put dst 2 CX_PROT_COMMIT_RECEIPT 44 + ret 45 + end 46 + if eq ckind 8 47 + put dst 0 CX_EXECUTION 48 + put dst 1 CX_K_EXEC_NOOP 49 + ret 50 + end 51 + if eq ckind 5 52 + put dst 0 CX_FAILURE 53 + put dst 1 CX_K_EXEC_FAILED 54 + put dst 2 CX_PROT_AUTHORITY 55 + ret 56 + end 57 + put dst 0 CX_FAILURE 58 + put dst 1 CX_K_EXEC_FAILED 59 +end 60 + 61 +note Pack 32-byte digest into 4 little-endian ulong words. 62 +export fn rx_cx_pack_digest dig view uchar 32 dst edit ulong 4 to void 63 + for i ulong 4 64 + v = ulong 0 65 + base = mul i 8 66 + for b ulong 8 67 + bv = ulong get dig add base b 68 + v = or v shl bv mul b 8 69 + end 70 + put dst i v 71 + end 72 +end 73 + 74 +note Deduplicate wake cause + parent Cortex IDs into dst[0..max_links-1]. 75 +note Returns count written (<= 8). 76 +export fn rx_cx_dedup_links cause ulong parents view ulong * dst edit ulong 8 max_links ulong to ulong 77 + lim = max_links 78 + if gt lim 8 79 + lim = ulong 8 80 + end 81 + nl = ulong 0 82 + if ne cause 0 83 + if lt nl lim 84 + put dst nl cause 85 + nl = add nl 1 86 + end 87 + end 88 + np = len parents 89 + if gt np 1024 90 + np = ulong 1024 91 + end 92 + for i ulong np bound 1024 93 + if ge nl lim 94 + break 95 + end 96 + p = get parents i 97 + if eq p 0 98 + continue 99 + end 100 + dup = ulong 0 101 + for j ulong nl bound 8 102 + if eq get dst j p 103 + dup = ulong 1 104 + break 105 + end 106 + end 107 + if eq dup 0 108 + put dst nl p 109 + nl = add nl 1 110 + end 111 + end 112 + ret nl 113 +end om/runtime/rx_costmodel_core.om new file mode 100644 @@ -0,0 +1,171 @@ 1 +om2 2 +note rx_costmodel_core.om -- Pure OM-2 f64 linear algebra and Bayesian 3 +note sufficient-statistics updates for src/runtime/rx_costmodel.c. 4 +note f64 arrays are passed as bit-preserving ulong arrays (bitcast f64/ulong). 5 + 6 +const PRIOR_A f64 1.0 7 +const PRIOR_B f64 0.01 8 +const NOISE_FLOOR f64 0.0009 9 + 10 +fn unpack_sym tri view ulong 36 A edit f64 64 to void 11 + k = ulong 0 12 + for i ulong 8 13 + j = i 14 + while lt j 8 bound 8 15 + v = bitcast f64 get tri k 16 + put A add mul i 8 j v 17 + put A add mul j 8 i v 18 + k = add k 1 19 + j = add j 1 20 + end 21 + end 22 +end 23 + 24 +fn chol_diag A view f64 64 L view f64 64 j ulong to f64 25 + s = get A add mul j 8 j 26 + for k ulong j bound 8 27 + lk = get L add mul j 8 k 28 + s = sub s mul lk lk 29 + end 30 + ret s 31 +end 32 + 33 +fn chol_off A view f64 64 L view f64 64 i ulong j ulong to f64 34 + t = get A add mul i 8 j 35 + for k ulong j bound 8 36 + lik = get L add mul i 8 k 37 + ljk = get L add mul j 8 k 38 + t = sub t mul lik ljk 39 + end 40 + ret t 41 +end 42 + 43 +fn cholesky_8 tri view ulong 36 L edit f64 64 to long 44 + A = new f64 64 0.0f64 45 + unpack_sym tri A 46 + for z ulong 64 47 + put L z 0.0f64 48 + end 49 + for j ulong 8 50 + s = chol_diag A L j 51 + if not gt s 0.0f64 52 + ret -1 53 + end 54 + ljj = fsqrt s 55 + put L add mul j 8 j ljj 56 + i = add j 1 57 + while lt i 8 bound 8 58 + t = chol_off A L i j 59 + put L add mul i 8 j div t ljj 60 + i = add i 1 61 + end 62 + end 63 + ret 0 64 +end 65 + 66 +fn fwd_8 L view f64 64 b view f64 8 v edit f64 8 to void 67 + for i ulong 8 68 + s = get b i 69 + for k ulong i bound 8 70 + s = sub s mul get L add mul i 8 k get v k 71 + end 72 + put v i div s get L add mul i 8 i 73 + end 74 +end 75 + 76 +fn bwd_8 L view f64 64 v view f64 8 x edit f64 8 to void 77 + r = ulong 0 78 + while lt r 8 bound 8 79 + i = sub 7 r 80 + s = get v i 81 + k = add i 1 82 + while lt k 8 bound 8 83 + s = sub s mul get L add mul k 8 i get x k 84 + k = add k 1 85 + end 86 + put x i div s get L add mul i 8 i 87 + r = add r 1 88 + end 89 +end 90 + 91 +fn dot_8 a view f64 8 b view f64 8 to f64 92 + s = f64 0.0f64 93 + for i ulong 8 94 + s = add s mul get a i get b i 95 + end 96 + ret s 97 +end 98 + 99 +fn norm2_8 a view f64 8 to f64 100 + s = f64 0.0f64 101 + for i ulong 8 102 + x = get a i 103 + s = add s mul x x 104 + end 105 + ret s 106 +end 107 + 108 +fn post_sd n ulong yty_bits ulong quad f64 lev f64 dst edit ulong 4 to void 109 + yty = bitcast f64 yty_bits 110 + a = add PRIOR_A mul 0.5f64 f64 n 111 + b = add PRIOR_B mul 0.5f64 sub yty quad 112 + if lt b PRIOR_B 113 + b = PRIOR_B 114 + end 115 + sigma2 = div b a 116 + if lt sigma2 NOISE_FLOOR 117 + sigma2 = NOISE_FLOOR 118 + end 119 + sd = fsqrt mul sigma2 add 1.0f64 lev 120 + dof = mul 2.0f64 a 121 + put dst 1 bitcast ulong sd 122 + put dst 2 bitcast ulong dof 123 +end 124 + 125 +note Predictive Student-t for one (cell, arm). 126 +note meta[0] = n (ulong), meta[1] = bitcast(yty). 127 +note dst[0..2] = bitcast(mean, sd, dof). Returns 1 on success, 0 if no data / non-PD. 128 +export fn rx_cm_fit_predict tri view ulong 36 xty_u view ulong 8 phi_u view ulong 8 meta view ulong 2 dst edit ulong 4 to ulong 129 + n = get meta 0 130 + if eq n 0 131 + ret 0 132 + end 133 + L = new f64 64 0.0f64 134 + if ne cholesky_8 tri L 0 135 + ret 0 136 + end 137 + xty = new f64 8 0.0f64 138 + phi = new f64 8 0.0f64 139 + for i ulong 8 140 + put xty i bitcast f64 get xty_u i 141 + put phi i bitcast f64 get phi_u i 142 + end 143 + v = new f64 8 0.0f64 144 + mu = new f64 8 0.0f64 145 + w = new f64 8 0.0f64 146 + fwd_8 L xty v 147 + bwd_8 L v mu 148 + fwd_8 L phi w 149 + put dst 0 bitcast ulong dot_8 mu phi 150 + post_sd n get meta 1 norm2_8 v norm2_8 w dst 151 + ret 1 152 +end 153 + 154 +note Rank-1 sufficient-statistics update: tri += phi * phi^T, xty += phi * y. 155 +export fn rx_cm_rank1_update tri edit ulong 36 xty edit ulong 8 phi view ulong 8 y_bits ulong to void 156 + y = bitcast f64 y_bits 157 + k = ulong 0 158 + for i ulong 8 159 + pi = bitcast f64 get phi i 160 + j = i 161 + while lt j 8 bound 8 162 + pj = bitcast f64 get phi j 163 + cur = bitcast f64 get tri k 164 + put tri k bitcast ulong add cur mul pi pj 165 + k = add k 1 166 + j = add j 1 167 + end 168 + cx = bitcast f64 get xty i 169 + put xty i bitcast ulong add cx mul pi y 170 + end 171 +end om/runtime/rx_fusion_core.om new file mode 100644 @@ -0,0 +1,46 @@ 1 +om2 2 +note rx_fusion_core.om -- Workflow fusion eligibility and digest-word 3 +note helpers in pure OM-2. 4 +note Replaces eligible_kind and word64 in src/runtime/rx_fusion.c. 5 + 6 +export fn rx_fus_word64 d view uchar 8 to ulong 7 + v = ulong 0 8 + for i ulong 8 9 + v = or shl v 8 ulong get d i 10 + end 11 + ret v 12 +end 13 + 14 +note AgKind eligibility for fusion fragments: 15 +note 1 AG_CONST, 2 AG_PURE, 3 AG_WORLD_READ, 5 AG_RECALL, 16 +note 7 AG_PHYSICAL, 8 AG_SKILL, 9 AG_EFFECT_PROPOSE, 11 AG_VERIFY, 14 AG_RETRY 17 +export fn rx_fus_eligible_kind k ulong to ulong 18 + if eq k 1 19 + ret 1 20 + end 21 + if eq k 2 22 + ret 1 23 + end 24 + if eq k 3 25 + ret 1 26 + end 27 + if eq k 5 28 + ret 1 29 + end 30 + if eq k 7 31 + ret 1 32 + end 33 + if eq k 8 34 + ret 1 35 + end 36 + if eq k 9 37 + ret 1 38 + end 39 + if eq k 11 40 + ret 1 41 + end 42 + if eq k 14 43 + ret 1 44 + end 45 + ret 0 46 +end om/runtime/rx_mid.om new file mode 100644 @@ -0,0 +1,187 @@ 1 +om2 2 +note rx_mid.om -- Canonical AIEN Machine ID codec, comparison, and hashing in pure OM-2. 3 +note Replaces the pure byte-codec, hex-codec, equality, ordering, and hash logic 4 +note of src/runtime/aien_machine_id.h and src/runtime/aien_machine_id.c. 5 + 6 +const MID_OK long 0 7 +const MID_E_ARG long -1 8 +const MID_E_ZERO long -2 9 +const MID_E_FORMAT long -3 10 +const MID_E_CHECK long -4 11 + 12 +fn is_zero_32 buf view uchar 32 to ulong 13 + acc = uchar 0 14 + for i ulong 32 15 + acc = or acc get buf i 16 + end 17 + if eq acc 0 18 + ret 1 19 + end 20 + ret 0 21 +end 22 + 23 +fn root_valid r ulong to ulong 24 + if eq r 1 25 + ret 1 26 + end 27 + if eq r 2 28 + ret 1 29 + end 30 + if eq r 3 31 + ret 1 32 + end 33 + ret 0 34 +end 35 + 36 +fn hex_nibble c uchar to long 37 + if ge c 48 38 + if le c 57 39 + ret long sub c 48 40 + end 41 + end 42 + if ge c 97 43 + if le c 102 44 + ret add long sub c 97 10 45 + end 46 + end 47 + ret -1 48 +end 49 + 50 +fn nibble_hex v uchar to uchar 51 + if lt v 10 52 + ret add v 48 53 + end 54 + ret add sub v 10 97 55 +end 56 + 57 +export fn rx_mid_is_zero buf view uchar 32 to ulong 58 + ret is_zero_32 buf 59 +end 60 + 61 +export fn rx_mid_equal a view uchar 32 b view uchar 32 to ulong 62 + for i ulong 32 63 + if ne get a i get b i 64 + ret 0 65 + end 66 + end 67 + ret 1 68 +end 69 + 70 +export fn rx_mid_compare a view uchar 32 b view uchar 32 to long 71 + for i ulong 32 72 + va = get a i 73 + vb = get b i 74 + if lt va vb 75 + ret -1 76 + end 77 + if gt va vb 78 + ret 1 79 + end 80 + end 81 + ret 0 82 +end 83 + 84 +export fn rx_mid_hash buf view uchar 32 to ulong 85 + h = ulong 0 86 + for i ulong 8 87 + b = ulong get buf i 88 + h = or shl h 8 b 89 + end 90 + ret h 91 +end 92 + 93 +note Pack the 40-byte header+id prefix of an AMID record (caller fills check bytes 40..43). 94 +export fn rx_mid_pack_hdr root ulong id view uchar 32 rec edit uchar 44 to long 95 + if eq root_valid root 0 96 + ret MID_E_ARG 97 + end 98 + if eq is_zero_32 id 1 99 + ret MID_E_ZERO 100 + end 101 + put rec 0 uchar 65 102 + put rec 1 uchar 77 103 + put rec 2 uchar 73 104 + put rec 3 uchar 68 105 + put rec 4 uchar 1 106 + put rec 5 uchar and root 255 107 + put rec 6 uchar 0 108 + put rec 7 uchar 0 109 + for i ulong 32 110 + put rec add i 8 get id i 111 + end 112 + ret MID_OK 113 +end 114 + 115 +note Validate a 44-byte AMID record against expected 4-byte SHA-256 check prefix. 116 +note On success, writes dst[0]=root and dst[1..32]=id. 117 +export fn rx_mid_val_rec rec view uchar 44 chk view uchar 4 dst edit uchar 33 to long 118 + if ne get rec 0 65 119 + ret MID_E_FORMAT 120 + end 121 + if ne get rec 1 77 122 + ret MID_E_FORMAT 123 + end 124 + if ne get rec 2 73 125 + ret MID_E_FORMAT 126 + end 127 + if ne get rec 3 68 128 + ret MID_E_FORMAT 129 + end 130 + if ne get rec 4 1 131 + ret MID_E_FORMAT 132 + end 133 + if ne get rec 6 0 134 + ret MID_E_FORMAT 135 + end 136 + if ne get rec 7 0 137 + ret MID_E_FORMAT 138 + end 139 + r = ulong get rec 5 140 + if eq root_valid r 0 141 + ret MID_E_FORMAT 142 + end 143 + for i ulong 4 144 + if ne get rec add i 40 get chk i 145 + ret MID_E_CHECK 146 + end 147 + end 148 + acc = uchar 0 149 + for j ulong 32 150 + b = get rec add j 8 151 + acc = or acc b 152 + put dst add j 1 b 153 + end 154 + if eq acc 0 155 + ret MID_E_ZERO 156 + end 157 + put dst 0 get rec 5 158 + ret MID_OK 159 +end 160 + 161 +note Encode 44 raw bytes to 88 lowercase hex ASCII bytes. 162 +export fn rx_mid_to_hex rec view uchar 44 hex edit uchar 88 to void 163 + for i ulong 44 164 + v = get rec i 165 + hi = shr v 4 166 + lo = and v 15 167 + put hex mul i 2 nibble_hex hi 168 + put hex add mul i 2 1 nibble_hex lo 169 + end 170 +end 171 + 172 +note Decode 88 lowercase hex ASCII bytes to 44 raw bytes. 173 +export fn rx_mid_from_hex hex view uchar 88 rec edit uchar 44 to long 174 + for i ulong 44 175 + hi = hex_nibble get hex mul i 2 176 + if lt hi 0 177 + ret MID_E_FORMAT 178 + end 179 + lo = hex_nibble get hex add mul i 2 1 180 + if lt lo 0 181 + ret MID_E_FORMAT 182 + end 183 + bv = or shl ulong hi 4 ulong lo 184 + put rec i uchar and bv 255 185 + end 186 + ret MID_OK 187 +end om/runtime/rx_plan_core.om new file mode 100644 @@ -0,0 +1,90 @@ 1 +om2 2 +note rx_plan_core.om -- Plan IR word packing, predicate sorting, and 3 +note arrangement-domain fact pack/unpack in pure OM-2. 4 +note Replaces pure logic in src/runtime/rx_plan.c and src/runtime/rx_plan_arrange.c. 5 + 6 +note Read little-endian ulong word k (0..3) from 32-byte digest. 7 +export fn rx_pl_word dig view uchar 32 k ulong to ulong 8 + if ge k 4 9 + ret 0 10 + end 11 + base = mul k 8 12 + v = ulong 0 13 + for i ulong 8 14 + b = ulong get dig add base i 15 + v = or v shl b mul i 8 16 + end 17 + ret v 18 +end 19 + 20 +note Pack arrangement fact: bit 63=1, x.id(0..7), x.gen(8..31), 21 +note floor(62), t.id(32..39), t.gen(40..61). 22 +export fn rx_pla_fact_pack xid ulong xgen ulong is_floor ulong tid ulong tgen ulong to ulong 23 + v = or shl ulong 1 63 and xid 255 24 + v = or v shl and xgen `16777215` 8 25 + if ne is_floor 0 26 + ret or v shl ulong 1 62 27 + end 28 + v = or v shl and tid 255 32 29 + v = or v shl and tgen `4194303` 40 30 + ret v 31 +end 32 + 33 +note Unpack arrangement fact into dst[0..4]: xid, xgen, is_floor, tid, tgen. 34 +export fn rx_pla_fact_unpack f ulong dst edit ulong 5 to void 35 + put dst 0 and f 255 36 + put dst 1 and shr f 8 `16777215` 37 + put dst 2 and shr f 62 1 38 + put dst 3 and shr f 32 255 39 + put dst 4 and shr f 40 `4194303` 40 +end 41 + 42 +fn pred_gt buf view ulong 288 a ulong b ulong to ulong 43 + ia = mul a 6 44 + ib = mul b 6 45 + for k ulong 6 46 + va = get buf add ia k 47 + vb = get buf add ib k 48 + if gt va vb 49 + ret 1 50 + end 51 + if lt va vb 52 + ret 0 53 + end 54 + end 55 + ret 0 56 +end 57 + 58 +fn pred_swap buf edit ulong 288 a ulong b ulong to void 59 + ia = mul a 6 60 + ib = mul b 6 61 + for k ulong 6 62 + t = get buf add ia k 63 + put buf add ia k get buf add ib k 64 + put buf add ib k t 65 + end 66 +end 67 + 68 +note Insertion-sort up to 48 PlPreds packed as 6 ulongs each (kind, slot, field, slot2, type, value). 69 +export fn rx_pl_sort_preds buf edit ulong 288 n ulong to void 70 + if le n 1 71 + ret 72 + end 73 + cnt = n 74 + if gt cnt 48 75 + cnt = ulong 48 76 + end 77 + i = ulong 1 78 + while lt i cnt bound 48 79 + j = i 80 + while gt j 0 bound 48 81 + jm = sub j 1 82 + if eq pred_gt buf jm j 0 83 + break 84 + end 85 + pred_swap buf jm j 86 + j = jm 87 + end 88 + i = add i 1 89 + end 90 +end om/runtime/rx_projection.om new file mode 100644 @@ -0,0 +1,87 @@ 1 +om2 2 +note rx_projection.om -- Cognitive state projection core in pure OM-2. 3 +note Replaces pj_summarize, section_of, and form_of in src/runtime/rx_projection.c. 4 + 5 +const U64_MAX ulong `18446744073709551615` 6 + 7 +const CX_CLAIM ulong 2 8 +const CX_EVIDENCE ulong 6 9 + 10 +const PJ_LIVE ulong 2 11 +const PJ_RECALLABLE ulong 4 12 +const PJ_COMPRESSIBLE ulong 5 13 +const PJ_REFERENCE_ONLY ulong 6 14 + 15 +const PJ_T_LATEST ulong 2 16 + 17 +const PJ_SEC_WORLD ulong 1 18 +const PJ_SEC_CORTEX ulong 2 19 +const PJ_SEC_HYPOTHESIS ulong 3 20 +const PJ_SEC_EVIDENCE ulong 4 21 + 22 +const PJ_FORM_FULL ulong 1 23 +const PJ_FORM_SUMMARY ulong 2 24 +const PJ_FORM_REF ulong 3 25 + 26 +note Compute [count, sum, sum_sq, min, max] over w[0..len-1] into dst[0..4]. 27 +export fn rx_pj_summarize w view ulong * dst edit ulong 5 to void 28 + n = len w 29 + s = ulong 0 30 + sq = ulong 0 31 + mn = U64_MAX 32 + mx = ulong 0 33 + note The public C count is uint32_t. 34 + for i ulong n bound `4294967295` 35 + v = get w i 36 + s = add s v 37 + sq = add sq mul v v 38 + if lt v mn 39 + mn = v 40 + end 41 + if gt v mx 42 + mx = v 43 + end 44 + end 45 + put dst 0 n 46 + put dst 1 s 47 + put dst 2 sq 48 + if eq n 0 49 + put dst 3 0 50 + else 51 + put dst 3 mn 52 + end 53 + put dst 4 mx 54 +end 55 + 56 +note Classify a Cortex object into its projection section. 57 +export fn rx_pj_section_of protect ulong cls ulong treatment ulong temporal ulong to ulong 58 + if eq treatment PJ_LIVE 59 + if eq temporal PJ_T_LATEST 60 + ret PJ_SEC_WORLD 61 + end 62 + end 63 + if ne protect 0 64 + ret PJ_SEC_EVIDENCE 65 + end 66 + if eq cls CX_EVIDENCE 67 + ret PJ_SEC_EVIDENCE 68 + end 69 + if eq cls CX_CLAIM 70 + ret PJ_SEC_HYPOTHESIS 71 + end 72 + ret PJ_SEC_CORTEX 73 +end 74 + 75 +note Map treatment class to representation form (FULL, SUMMARY, REF). 76 +export fn rx_pj_form_of treatment ulong to ulong 77 + if eq treatment PJ_COMPRESSIBLE 78 + ret PJ_FORM_SUMMARY 79 + end 80 + if eq treatment PJ_RECALLABLE 81 + ret PJ_FORM_REF 82 + end 83 + if eq treatment PJ_REFERENCE_ONLY 84 + ret PJ_FORM_REF 85 + end 86 + ret PJ_FORM_FULL 87 +end om/runtime/rx_regulate.om new file mode 100644 @@ -0,0 +1,213 @@ 1 +om2 2 +note rx_regulate.om -- ADAPTIVE-M4 bounded resource regulation in pure OM-2. 3 +note Replaces the pure decision, envelope validation, policy derivation, 4 +note bounds checking, and state-transition logic of src/runtime/rx_regulate.c. 5 +note 6 +note Packed env[16] layout (ulong): 7 +note 0 slots_min 1 slots_max 8 +note 2 memory_min 3 memory_max 9 +note 4 energy_min 5 energy_max 10 +note 6 base_slots 7 base_memory 8 base_energy 11 +note 9 contention_hi 10 contention_lo 12 +note 11 pressure_hi 12 pressure_lo 13 +note 13 min_dwell 14 +note 15 +note Regimes: 0 = NOMINAL, 1 = EXPAND, 2 = PROTECT. 16 + 17 +const REG_NOMINAL ulong 0 18 +const REG_EXPAND ulong 1 19 +const REG_PROTECT ulong 2 20 +const U32_MAX ulong `4294967295` 21 + 22 +fn decide_impl env view ulong 16 regime ulong dwell ulong contention ulong pressure ulong to ulong 23 + min_dw = get env 13 24 + settled = ge dwell min_dw 25 + p_hi = get env 11 26 + if ge pressure p_hi 27 + ret REG_PROTECT 28 + end 29 + if eq regime REG_PROTECT 30 + p_lo = get env 12 31 + if not settled 32 + ret REG_PROTECT 33 + end 34 + if gt pressure p_lo 35 + ret REG_PROTECT 36 + end 37 + c_hi = get env 9 38 + if ge contention c_hi 39 + ret REG_EXPAND 40 + end 41 + ret REG_NOMINAL 42 + end 43 + if eq regime REG_EXPAND 44 + c_lo = get env 10 45 + if not settled 46 + ret REG_EXPAND 47 + end 48 + if gt contention c_lo 49 + ret REG_EXPAND 50 + end 51 + ret REG_NOMINAL 52 + end 53 + c_hi2 = get env 9 54 + if ge contention c_hi2 55 + ret REG_EXPAND 56 + end 57 + ret REG_NOMINAL 58 +end 59 + 60 +fn policy_fill env view ulong 16 regime ulong dst edit ulong 4 to void 61 + if eq regime REG_EXPAND 62 + put dst 0 get env 1 63 + put dst 1 get env 3 64 + put dst 2 get env 5 65 + ret 66 + end 67 + if eq regime REG_PROTECT 68 + put dst 0 get env 0 69 + put dst 1 get env 2 70 + put dst 2 get env 4 71 + ret 72 + end 73 + put dst 0 get env 6 74 + put dst 1 get env 7 75 + put dst 2 get env 8 76 +end 77 + 78 +note Returns 0 (RX_OK) when envelope is consistent, -1 (RX_ERR_ARG) otherwise. 79 +export fn rx_reg_envelope_ok env view ulong 16 to long 80 + smin = get env 0 81 + smax = get env 1 82 + if eq smin 0 83 + ret -1 84 + end 85 + if gt smin smax 86 + ret -1 87 + end 88 + if gt smax U32_MAX 89 + ret -1 90 + end 91 + mmin = get env 2 92 + mmax = get env 3 93 + if gt mmin mmax 94 + ret -1 95 + end 96 + emin = get env 4 97 + emax = get env 5 98 + if gt emin emax 99 + ret -1 100 + end 101 + bs = get env 6 102 + if lt bs smin 103 + ret -1 104 + end 105 + if gt bs smax 106 + ret -1 107 + end 108 + bm = get env 7 109 + if lt bm mmin 110 + ret -1 111 + end 112 + if gt bm mmax 113 + ret -1 114 + end 115 + be = get env 8 116 + if lt be emin 117 + ret -1 118 + end 119 + if gt be emax 120 + ret -1 121 + end 122 + chi = get env 9 123 + clo = get env 10 124 + if ge clo chi 125 + ret -1 126 + end 127 + phi = get env 11 128 + plo = get env 12 129 + if ge plo phi 130 + ret -1 131 + end 132 + if gt phi 100 133 + ret -1 134 + end 135 + mdw = get env 13 136 + if eq mdw 0 137 + ret -1 138 + end 139 + ret 0 140 +end 141 + 142 +note Pure regime decision with hysteresis and dwell. 143 +export fn rx_reg_decide env view ulong 16 regime ulong dwell ulong contention ulong pressure ulong to ulong 144 + ret decide_impl env regime dwell contention pressure 145 +end 146 + 147 +note Write the (slots, memory, energy) budget for regime into dst[0..2]. 148 +export fn rx_reg_policy_for env view ulong 16 regime ulong dst edit ulong 4 to void 149 + policy_fill env regime dst 150 +end 151 + 152 +note Validate a policy object's fields[0..7] against the fixed envelope. 153 +note Returns 0 (RX_OK) or -20 (RX_ERR_BOUNDS). 154 +export fn rx_reg_apply_check env view ulong 16 pol view ulong 8 to long 155 + slots = get pol 1 156 + if gt slots U32_MAX 157 + ret -20 158 + end 159 + if lt slots get env 0 160 + ret -20 161 + end 162 + if gt slots get env 1 163 + ret -20 164 + end 165 + mem = get pol 2 166 + if lt mem get env 2 167 + ret -20 168 + end 169 + if gt mem get env 3 170 + ret -20 171 + end 172 + eng = get pol 3 173 + if lt eng get env 4 174 + ret -20 175 + end 176 + if gt eng get env 5 177 + ret -20 178 + end 179 + reg = get pol 4 180 + if gt reg REG_PROTECT 181 + ret -20 182 + end 183 + ret 0 184 +end 185 + 186 +note Complete reaction step (fn_regulate): 187 +note returns 0 = no-op (cseq == pol[5]) 188 +note returns 1 = same regime (dst[5]=cseq, dst[6]=dwell+1) 189 +note returns 2 = regime flip (dst[0..7] populated with new policy fields) 190 +export fn rx_reg_step env view ulong 16 cond view ulong 8 pol view ulong 8 dst edit ulong 8 to ulong 191 + cseq = get cond 0 192 + if eq cseq get pol 5 193 + ret 0 194 + end 195 + regime = get pol 4 196 + dwell = get pol 6 197 + nxt = decide_impl env regime dwell get cond 1 get cond 3 198 + put dst 5 cseq 199 + if eq nxt regime 200 + put dst 6 add dwell 1 201 + ret 1 202 + end 203 + b = new ulong 4 0 204 + policy_fill env nxt b 205 + put dst 0 add get pol 0 1 206 + put dst 1 get b 0 207 + put dst 2 get b 1 208 + put dst 3 get b 2 209 + put dst 4 nxt 210 + put dst 6 0 211 + put dst 7 add get pol 7 1 212 + ret 2 213 +end om/runtime/rx_route_core.om new file mode 100644 @@ -0,0 +1,46 @@ 1 +om2 2 +note rx_route_core.om -- Cognitive compute routing confidence binning and 3 +note 95% Wilson score interval in pure OM-2. 4 +note Replaces conf_bin, wilson_lower, wilson_upper in src/runtime/rx_route.c. 5 + 6 +const WILSON_Z f64 1.959964 7 + 8 +fn wilson_lo k ulong n ulong to f64 9 + if eq n 0 10 + ret 0.0f64 11 + end 12 + nn = f64 n 13 + p = div f64 k nn 14 + z2 = mul WILSON_Z WILSON_Z 15 + c = add p div z2 mul 2.0f64 nn 16 + t1 = div mul p sub 1.0f64 p nn 17 + t2 = div z2 mul 4.0f64 mul nn nn 18 + r = mul WILSON_Z fsqrt add t1 t2 19 + ret div sub c r add 1.0f64 div z2 nn 20 +end 21 + 22 +export fn rx_rt_conf_bin conf ulong conf_one ulong bins ulong to ulong 23 + if eq bins 0 24 + ret 0 25 + end 26 + if eq conf_one 0 27 + ret 0 28 + end 29 + if ge conf conf_one 30 + ret sub bins 1 31 + end 32 + ret div mul conf bins conf_one 33 +end 34 + 35 +note Compute 95% Wilson lower (dst[0]) and upper (dst[1]) bounds as bitcast ulong. 36 +export fn rx_rt_wilson k ulong n ulong dst edit ulong 2 to void 37 + lo = wilson_lo k n 38 + hi = f64 1.0f64 39 + if ne n 0 40 + if le k n 41 + hi = sub 1.0f64 wilson_lo sub n k n 42 + end 43 + end 44 + put dst 0 bitcast ulong lo 45 + put dst 1 bitcast ulong hi 46 +end om/runtime/rx_skillroute_core.om new file mode 100644 @@ -0,0 +1,36 @@ 1 +om2 2 +note rx_skillroute_core.om -- Skill Router rejection-class bitmask and 3 +note digest-zero check in pure OM-2. 4 +note Replaces why_of and digest_zero in src/runtime/rx_skillroute.c. 5 + 6 +export fn rx_sr_digest_zero d view uchar 32 to ulong 7 + acc = uchar 0 8 + for i ulong 32 9 + acc = or acc get d i 10 + end 11 + if eq acc 0 12 + ret 1 13 + end 14 + ret 0 15 +end 16 + 17 +note counts[10]: 18 +note 0 rejected_dead -> 0x001 19 +note 1 rejected_unavailable -> 0x002 20 +note 2 rejected_authority -> 0x004 21 +note 3 not_a_skill -> 0x008 22 +note 4 not_executable -> 0x010 23 +note 5 digest_mismatch -> 0x020 24 +note 6 remote_refused -> 0x040 25 +note 7 pin_mismatch -> 0x080 26 +note 8 machine_mismatch -> 0x100 27 +note 9 machine_unknown -> 0x200 28 +export fn rx_sr_why_of counts view ulong 10 to ulong 29 + w = ulong 0 30 + for i ulong 10 31 + if ne get counts i 0 32 + w = or w shl ulong 1 i 33 + end 34 + end 35 + ret w 36 +end om/runtime/rx_world_core.om new file mode 100644 @@ -0,0 +1,176 @@ 1 +om2 2 +note rx_world_core.om -- Reaction World lifecycle FSM, resource admission, 3 +note and priority/fairness ordering in pure OM-2. 4 +note Replaces rx_state_transition_legal, res_fits, and better_admit 5 +note in src/runtime/rx_world.c. 6 +note 7 +note RxState enum: 8 +note 0 DORMANT, 1 READY, 2 BLOCKED_AUTHORITY, 3 BLOCKED_RESOURCE, 9 +note 4 RUNNING, 5 PUBLISHING, 6 COMMITTED, 7 INVALIDATED, 10 +note 8 FAILED, 9 CANCELLED, 10 CONFLICT, 11 REJECTED. 11 + 12 +const ST_DORMANT ulong 0 13 +const ST_READY ulong 1 14 +const ST_BLOCKED_AUTH ulong 2 15 +const ST_BLOCKED_RES ulong 3 16 +const ST_RUNNING ulong 4 17 +const ST_PUBLISHING ulong 5 18 +const ST_COMMITTED ulong 6 19 +const ST_INVALIDATED ulong 7 20 +const ST_FAILED ulong 8 21 +const ST_CANCELLED ulong 9 22 +const ST_CONFLICT ulong 10 23 +const ST_REJECTED ulong 11 24 + 25 +export fn rx_world_state_legal from ulong dest ulong to ulong 26 + if eq from ST_DORMANT 27 + if eq dest ST_READY 28 + ret 1 29 + end 30 + if eq dest ST_BLOCKED_RES 31 + ret 1 32 + end 33 + ret 0 34 + end 35 + if eq from ST_READY 36 + if eq dest ST_RUNNING 37 + ret 1 38 + end 39 + if eq dest ST_BLOCKED_AUTH 40 + ret 1 41 + end 42 + if eq dest ST_BLOCKED_RES 43 + ret 1 44 + end 45 + if eq dest ST_INVALIDATED 46 + ret 1 47 + end 48 + ret 0 49 + end 50 + if eq from ST_RUNNING 51 + if eq dest ST_PUBLISHING 52 + ret 1 53 + end 54 + if eq dest ST_FAILED 55 + ret 1 56 + end 57 + if eq dest ST_CANCELLED 58 + ret 1 59 + end 60 + if eq dest ST_INVALIDATED 61 + ret 1 62 + end 63 + if eq dest ST_READY 64 + ret 1 65 + end 66 + ret 0 67 + end 68 + if eq from ST_PUBLISHING 69 + if eq dest ST_COMMITTED 70 + ret 1 71 + end 72 + if eq dest ST_CONFLICT 73 + ret 1 74 + end 75 + if eq dest ST_REJECTED 76 + ret 1 77 + end 78 + if eq dest ST_INVALIDATED 79 + ret 1 80 + end 81 + ret 0 82 + end 83 + if eq from ST_BLOCKED_RES 84 + if eq dest ST_DORMANT 85 + ret 1 86 + end 87 + if eq dest ST_READY 88 + ret 1 89 + end 90 + ret 0 91 + end 92 + if ge from ST_COMMITTED 93 + if le from ST_REJECTED 94 + if eq dest ST_DORMANT 95 + ret 1 96 + end 97 + ret 0 98 + end 99 + end 100 + if eq from ST_BLOCKED_AUTH 101 + if eq dest ST_DORMANT 102 + ret 1 103 + end 104 + ret 0 105 + end 106 + ret 0 107 +end 108 + 109 +note used[3]: 0=used_slots, 1=used_memory, 2=used_energy 110 +note budget[6]: 0=slots, 1=memory_bytes, 2=energy_budget, 3=offered_locality, 4=offered_accel, 5=compute_mask 111 +note need[5]: 0=memory_bytes, 1=energy_cost, 2=locality, 3=accelerator_features, 4=compute_class 112 +export fn rx_world_res_fits used view ulong 4 budget view ulong 6 need view ulong 5 to ulong 113 + if ge get used 0 get budget 0 114 + ret 0 115 + end 116 + umem = get used 1 117 + bmem = get budget 1 118 + if gt umem bmem 119 + ret 0 120 + end 121 + ueng = get used 2 122 + beng = get budget 2 123 + if gt ueng beng 124 + ret 0 125 + end 126 + if gt get need 0 sub bmem umem 127 + ret 0 128 + end 129 + if gt get need 1 sub beng ueng 130 + ret 0 131 + end 132 + nloc = get need 2 133 + if ne nloc 0 134 + if ne and nloc get budget 3 nloc 135 + ret 0 136 + end 137 + end 138 + nacc = get need 3 139 + if ne nacc 0 140 + if ne and nacc get budget 4 nacc 141 + ret 0 142 + end 143 + end 144 + ncc = get need 4 145 + if ne ncc 0 146 + bit = shl ulong 1 and ncc 31 147 + if eq and get budget 5 bit 0 148 + ret 0 149 + end 150 + end 151 + ret 1 152 +end 153 + 154 +note a[3], b[3]: 0=priority, 1=wait_seq, 2=service. Returns 1 if a beats b. 155 +export fn rx_world_better_admit a view ulong 3 b view ulong 3 to ulong 156 + pa = get a 0 157 + pb = get b 0 158 + if ne pa pb 159 + if lt pa pb 160 + ret 1 161 + end 162 + ret 0 163 + end 164 + wa = get a 1 165 + wb = get b 1 166 + if ne wa wb 167 + if lt wa wb 168 + ret 1 169 + end 170 + ret 0 171 + end 172 + if lt get a 2 get b 2 173 + ret 1 174 + end 175 + ret 0 176 +end om/units.sh @@ -28,7 +28,7 @@ NATIVE_PIN=`2c1bf63798336e899704217d98f909b31e567289650751a55d83255c7eb8f27d` 28 28 ROOT=$(cd "$(dirname "$0")/.." && pwd) 29 29 # One generated library for all units: the bindings share one ABI runtime (ombr_enter). 30 30 # om/encoder/bw_enc_sm121.om: the sm_121 instruction encoder, twin of aien-dev/CUDApp's (mk/om-encoder.mk). 31 -UNITS="${OMEGA_UNITS:-om/sha256/sha256-om2.om om/blake3/b3unit.om om/encoder/bw_enc_sm121.om om/gpu/bw_qmd.om om/gpu/bw_sched.om om/gpu/q38_plan.om om/gpu/cg_pf.om om/gpu/cg_bf16.om om/gpu/cg_gemm.om om/gpu/cg_moe2.om om/gpu/cg_moe.om om/gpu/cg_qmma.om om/gpu/cg_pfhost.om om/gpu/cg_gpu_attn.om}" 31 +UNITS="${OMEGA_UNITS:-om/sha256/sha256-om2.om om/blake3/b3unit.om om/encoder/bw_enc_sm121.om om/gpu/bw_qmd.om om/gpu/bw_sched.om om/gpu/q38_plan.om om/gpu/cg_pf.om om/gpu/cg_bf16.om om/gpu/cg_gemm.om om/gpu/cg_moe2.om om/gpu/cg_moe.om om/gpu/cg_qmma.om om/gpu/cg_pfhost.om om/gpu/cg_gpu_attn.om om/runtime/rx_regulate.om om/runtime/rx_mid.om om/runtime/rx_cortex_rec.om om/runtime/rx_plan_core.om om/runtime/rx_projection.om om/runtime/rx_capq_core.om om/runtime/rx_costmodel_core.om om/runtime/rx_route_core.om om/runtime/rx_world_core.om om/runtime/rx_skillroute_core.om om/runtime/rx_fusion_core.om om/compiler/osc_literal.om om/compiler/osc_ownership.om}" 32 32 # The units the freestanding GPU link needs (the encoder, codegen, matmul and realize files hash with sha256_*; qmd packs QMDs). 33 33 FS_UNITS="om/sha256/sha256-om2.om om/gpu/bw_qmd.om om/gpu/cg_gpu_attn.om" 34 34 DEST="${OMEGA_UNITS_DEST:-$ROOT/src}" src/compiler/osc_check.c @@ -22,6 +22,7 @@ 22 22 */ 23 23 #include "osc_alloc.h" 24 24 #include "osc_check.h" 25 +#include "omega_api_decl.h" 25 26 26 27 #include 27 28 #include @@ -73,21 +74,9 @@ typedef struct { 73 74 * borrowed or moved; at scope end its release is guarded by a drop flag. */ 74 75 enum { OM_LIVE = 0, OM_MOVED = 1, OM_GONE = 2 /* released (scope gone) */, OM_MAYBE = 3 }; 75 76 76 -typedef struct { 77 - uint8_t moved; /* OM_* */ 78 - uint16_t n_shared, n_mut; 79 - uint32_t move_line; 80 - int sym; /* owning symbol or -1 (stand-in / dummy) */ 81 - int arena1; /* OSC-2: arena symbol + 1 for an arena object, 0 for a unique owner */ 82 -} Obj; 77 +typedef OscCheckedOwner Obj; 83 78 84 -typedef struct { 85 - uint8_t live, mut; 86 - int obj, parent; 87 - uint16_t kids_shared, kids_mut; 88 - uint32_t line; 89 - int sym; /* binding symbol or -1 (call argument) */ 90 -} Bor; 79 +typedef OscCheckedBorrow Bor; 91 80 92 81 typedef struct { 93 82 Obj obj[OSC_CHECK_MAX_OBJS]; @@ -215,8 +204,7 @@ static int new_obj(C *c, int sym, uint32_t line) 215 204 { 216 205 if (c->nobj >= OSC_CHECK_MAX_OBJS) return cap_fail(c, line, "owner capacity"); 217 206 Obj *o = &c->obj[c->nobj]; 218 - memset(o, 0, sizeof *o); 219 - o->sym = sym; 207 + osc_init_owner(o, sym); 220 208 return c->nobj++; 221 209 } 222 210 @@ -224,18 +212,10 @@ static int new_bor(C *c, int obj, int parent, int mut, uint32_t line) 224 212 { 225 213 if (c->nbor >= OSC_CHECK_MAX_BORS) return cap_fail(c, line, "borrow capacity"); 226 214 Bor *b = &c->bor[c->nbor]; 227 - memset(b, 0, sizeof *b); 228 - b->live = 1; 229 - b->mut = (uint8_t)mut; 230 - b->obj = obj; 231 - b->parent = parent; 232 - b->line = line; 233 - b->sym = -1; 234 - if (parent >= 0) { 235 - if (mut) c->bor[parent].kids_mut++; else c->bor[parent].kids_shared++; 236 - } else { 237 - if (mut) c->obj[obj].n_mut++; else c->obj[obj].n_shared++; 238 - } 215 + if (parent >= 0) 216 + osc_open_reborrow(&c->bor[parent], b, obj, parent, mut, line); 217 + else 218 + osc_open_borrow(&c->obj[obj], b, obj, mut, line); 239 219 return c->nbor++; 240 220 } 241 221 @@ -243,12 +223,10 @@ static void end_bor(C *c, int b, uint32_t line) 243 223 { 244 224 Bor *x = &c->bor[b]; 245 225 tr_ev(c, OSC_EV_END_BORROW, -1, -1, b, -1, line, 0); 246 - x->live = 0; 247 - if (x->parent >= 0) { 248 - if (x->mut) c->bor[x->parent].kids_mut--; else c->bor[x->parent].kids_shared--; 249 - } else { 250 - if (x->mut) c->obj[x->obj].n_mut--; else c->obj[x->obj].n_shared--; 251 - } 226 + if (x->parent >= 0) 227 + osc_close_reborrow(&c->bor[x->parent], x); 228 + else 229 + osc_close_borrow(&c->obj[x->obj], x); 252 230 } 253 231 254 232 /* describe a live borrow conflicting on object o (direct) or as a child of borrow p */ @@ -280,7 +258,7 @@ static int diag_own(C *c, OscDiagKind k, uint32_t line, uint32_t col, int s, con 280 258 static int maybe_path(C *c, const Sym *y) 281 259 { 282 260 if (c->obj[y->obj].moved != OM_MAYBE) return 0; 283 - tr_ev(c, OSC_EV_MOVE, y->obj, -1, -1, -1, c->obj[y->obj].move_line, 0); 261 + tr_ev(c, OSC_EV_MOVE, y->obj, -1, -1, -1, c->obj[y->obj].moveline, 0); 284 262 return 1; 285 263 } 286 264 @@ -292,13 +270,14 @@ static int access(C *c, int s, int wr, uint32_t line, uint32_t col) 292 270 if (y->kind == SK_OWNER) { 293 271 Obj *o = &c->obj[y->obj]; 294 272 uint32_t k = wr ? OSC_EV_USE_WRITE : OSC_EV_USE_READ; 295 - if (o->moved) { 273 + uint64_t decision = osc_owner_access(o->moved, wr, o->n_shared, o->n_mut); 274 + if (decision == OSC_OWN_MOVED) { 296 275 int mb = maybe_path(c, y); 297 276 tr_ev(c, k, y->obj, -1, -1, -1, line, 1); 298 - snprintf(msg, sizeof msg, mb ? "'%s' used after it may have been moved at line %u (moved on some path of an 'if')" : "'%s' used after it was moved at line %u", y->name, o->move_line); 277 + snprintf(msg, sizeof msg, mb ? "'%s' used after it may have been moved at line %u (moved on some path of an 'if')" : "'%s' used after it was moved at line %u", y->name, o->moveline); 299 278 return diag_own(c, OSC_DIAG_USE_AFTER_MOVE, line, col, s, NULL, mb ? "use after maybe-move" : "use after move", msg); 300 279 } 301 - if (o->n_mut || (wr && o->n_shared)) { 280 + if (decision == OSC_OWN_ALIAS) { 302 281 conflict_name(c, y->obj, -1, !wr, other, sizeof other); 303 282 tr_ev(c, k, y->obj, -1, -1, -1, line, 1); 304 283 snprintf(msg, sizeof msg, "direct %s of '%s' while %s is live", wr ? "store" : "read", y->name, other); @@ -312,12 +291,13 @@ static int access(C *c, int s, int wr, uint32_t line, uint32_t col) 312 291 int b = y->bor; 313 292 Bor *x = &c->bor[b]; 314 293 uint32_t k = wr ? OSC_EV_USE_WRITE : OSC_EV_USE_READ; 315 - if (wr && !x->mut) { 294 + uint64_t decision = osc_borrow_access(x->mut, wr, x->n_shared, x->n_mut); 295 + if (decision == OSC_OWN_READ_ONLY) { 316 296 tr_ev(c, k, x->obj, -1, -1, b, line, 1); 317 297 snprintf(msg, sizeof msg, "store through shared borrow '%s' (read only)", y->name); 318 298 return diag_own(c, OSC_DIAG_READ_ONLY_BORROW, line, col, s, NULL, "write through shared borrow", msg); 319 299 } 320 - if (x->kids_mut || (wr && x->kids_shared)) { 300 + if (decision == OSC_OWN_ALIAS) { 321 301 conflict_name(c, -1, b, !wr, other, sizeof other); 322 302 tr_ev(c, k, x->obj, -1, -1, b, line, 1); 323 303 snprintf(msg, sizeof msg, "use of '%s' while its reborrow %s is live", y->name, other); @@ -336,13 +316,14 @@ static int take_borrow(C *c, int s, int mut, uint32_t line, uint32_t col) 336 316 uint32_t k = mut ? OSC_EV_BORROW_MUT : OSC_EV_BORROW_SHARED; 337 317 if (y->kind == SK_OWNER) { 338 318 Obj *o = &c->obj[y->obj]; 339 - if (o->moved) { 319 + uint64_t decision = osc_owner_access(o->moved, mut, o->n_shared, o->n_mut); 320 + if (decision == OSC_OWN_MOVED) { 340 321 int mb = maybe_path(c, y); 341 322 tr_ev(c, k, y->obj, -1, c->nbor, -1, line, 1); 342 - snprintf(msg, sizeof msg, mb ? "borrow of '%s' after it may have been moved at line %u (moved on some path of an 'if')" : "borrow of '%s' after it was moved at line %u", y->name, o->move_line); 323 + snprintf(msg, sizeof msg, mb ? "borrow of '%s' after it may have been moved at line %u (moved on some path of an 'if')" : "borrow of '%s' after it was moved at line %u", y->name, o->moveline); 343 324 return diag_own(c, OSC_DIAG_USE_AFTER_MOVE, line, col, s, NULL, mb ? "use after maybe-move" : "use after move", msg); 344 325 } 345 - if (o->n_mut || (mut && o->n_shared)) { 326 + if (decision == OSC_OWN_ALIAS) { 346 327 conflict_name(c, y->obj, -1, !mut, other, sizeof other); 347 328 tr_ev(c, k, y->obj, -1, c->nbor, -1, line, 1); 348 329 snprintf(msg, sizeof msg, "%s of '%s' while %s is live", mut ? "&mut" : "&", y->name, other); @@ -357,12 +338,13 @@ static int take_borrow(C *c, int s, int mut, uint32_t line, uint32_t col) 357 338 } 358 339 int p = y->bor; 359 340 Bor *x = &c->bor[p]; 360 - if (mut && !x->mut) { 341 + uint64_t decision = osc_borrow_access(x->mut, mut, x->n_shared, x->n_mut); 342 + if (decision == OSC_OWN_READ_ONLY) { 361 343 tr_ev(c, k, x->obj, -1, c->nbor, p, line, 1); 362 344 snprintf(msg, sizeof msg, "&mut reborrow through shared borrow '%s' (read only)", y->name); 363 345 return diag_own(c, OSC_DIAG_READ_ONLY_BORROW, line, col, s, NULL, "borrow_mut through shared borrow", msg); 364 346 } 365 - if (x->kids_mut || (mut && x->kids_shared)) { 347 + if (decision == OSC_OWN_ALIAS) { 366 348 conflict_name(c, -1, p, !mut, other, sizeof other); 367 349 tr_ev(c, k, x->obj, -1, c->nbor, p, line, 1); 368 350 snprintf(msg, sizeof msg, "reborrow of '%s' while %s is live", y->name, other); @@ -381,19 +363,20 @@ static int do_move(C *c, int s, int dest, uint32_t line, uint32_t col) 381 363 Sym *y = &c->sym[s]; 382 364 Obj *o = &c->obj[y->obj]; 383 365 char other[64], msg[160]; 384 - if (o->moved) { 366 + uint64_t decision = osc_owner_move(o->moved, o->n_shared, o->n_mut, y->loop_depth, c->loop_depth); 367 + if (decision == OSC_OWN_MOVED) { 385 368 int mb = maybe_path(c, y); 386 369 tr_ev(c, OSC_EV_MOVE, y->obj, dest, -1, -1, line, 1); 387 - snprintf(msg, sizeof msg, mb ? "'%s' moved again after it may have been moved at line %u (moved on some path of an 'if')" : "'%s' moved again after it was moved at line %u", y->name, o->move_line); 370 + snprintf(msg, sizeof msg, mb ? "'%s' moved again after it may have been moved at line %u (moved on some path of an 'if')" : "'%s' moved again after it was moved at line %u", y->name, o->moveline); 388 371 return diag_own(c, OSC_DIAG_USE_AFTER_MOVE, line, col, s, NULL, mb ? "use after maybe-move" : "use after move", msg); 389 372 } 390 - if (o->n_shared || o->n_mut) { 373 + if (decision == OSC_OWN_ALIAS) { 391 374 conflict_name(c, y->obj, -1, 0, other, sizeof other); 392 375 tr_ev(c, OSC_EV_MOVE, y->obj, dest, -1, -1, line, 1); 393 376 snprintf(msg, sizeof msg, "move of '%s' while %s is live", y->name, other); 394 377 return diag_own(c, OSC_DIAG_MUTABLE_ALIAS, line, col, s, other, "move while borrowed", msg); 395 378 } 396 - if (y->loop_depth < c->loop_depth) { 379 + if (decision == OSC_OWN_LOOP_MOVE) { 397 380 /* first iteration moves, the next iteration would use a moved owner */ 398 381 tr_ev(c, OSC_EV_MOVE, y->obj, dest, -1, -1, line, 0); 399 382 int d2 = -1; @@ -405,7 +388,7 @@ static int do_move(C *c, int s, int dest, uint32_t line, uint32_t col) 405 388 } 406 389 tr_ev(c, OSC_EV_MOVE, y->obj, dest, -1, -1, line, 0); 407 390 o->moved = 1; 408 - o->move_line = line; 391 + o->moveline = line; 409 392 return 0; 410 393 } 411 394 @@ -557,7 +540,8 @@ static void hs_settle(C *c, const HSave *before, const HSave *other, uint32_t li 557 540 { 558 541 for (int i = 0; i < before->nsym; i++) { 559 542 if (c->sym[i].kind != SK_HANDLE) continue; 560 - if (c->sym[i].prov != before->hprov[i] || (other && other->hprov[i] != before->hprov[i])) c->sym[i].prov = -1; 543 + int initial = before->hprov[i]; 544 + c->sym[i].prov = (int)osc_join_handle(initial, c->sym[i].prov, other ? other->hprov[i] : initial); 561 545 } 562 546 for (int p = 0; p < before->nprov; p++) 563 547 if (c->pfreed[p] && !before->pfreed[p] && c->pmhnd[p]) @@ -1809,7 +1793,7 @@ static int chk_if(C *c, int i) 1809 1793 hs_restore(c, h1); 1810 1794 } else if (!t1) { 1811 1795 /* OSC-3 item 2: freed only if freed on both paths */ 1812 - for (int p = 0; p < h0->nprov; p++) c->pfreed[p] = (uint8_t)(c->pfreed[p] && h1->pfreed[p]); 1796 + osc_join_frees(h1->pfreed, h0->nprov, c->pfreed, h0->nprov); 1813 1797 /* OSC-3 item 3 (drop flags): an owner moved on one path and not (or 1814 1798 * only maybe) on the other is maybe-moved after the `if`. Its 1815 1799 * declaration gets a drop flag: set at the declaration, cleared at @@ -1817,10 +1801,7 @@ static int chk_if(C *c, int i) 1817 1801 * definitely moved (no flag). Neither: unchanged. Pre-existing 1818 1802 * objects are never OM_GONE on a path that falls through. */ 1819 1803 for (int o = 0; o < nobj0; o++) { 1820 - int m1 = s1->obj[o].moved, m2 = c->obj[o].moved; 1821 - if (m1 == m2) continue; 1822 - if (m2 == OM_LIVE || (m2 == OM_MOVED && m1 == OM_MAYBE)) c->obj[o].move_line = s1->obj[o].move_line; 1823 - c->obj[o].moved = OM_MAYBE; 1804 + if (!osc_join_owner(&s1->obj[o], &c->obj[o])) continue; 1824 1805 int sym = c->obj[o].sym; 1825 1806 if (sym >= 0) NODE(c->sym[sym].decl)->dflag = 1; 1826 1807 } @@ -1829,7 +1810,7 @@ static int chk_if(C *c, int i) 1829 1810 /* re-emit moves that hold after the if */ 1830 1811 for (int o = 0; o < nobj0; o++) 1831 1812 if (c->obj[o].moved == 1 && s0->obj[o].moved != 1) 1832 - tr_ev(c, OSC_EV_MOVE, o, -1, -1, -1, c->obj[o].move_line, 0); 1813 + tr_ev(c, OSC_EV_MOVE, o, -1, -1, -1, c->obj[o].moveline, 0); 1833 1814 hs_settle(c, h0, t1 || t2 ? NULL : h1, n->line); 1834 1815 rc = 0; 1835 1816 out: @@ -1866,15 +1847,10 @@ static int chk_loop_body(C *c, OscNode *n, int is_for) 1866 1847 c->loop_depth--; 1867 1848 tr_restore(c, n->line); 1868 1849 snap_restore(c, s0); 1869 - { 1870 - /* OSC-3 item 2: frees in the body are not definite after the loop; 1871 - * handles assigned in the body become unknown */ 1872 - int keep[OSC_CHECK_MAX_SYMS]; 1873 - for (int k = 0; k < h0->nsym; k++) keep[k] = c->sym[k].prov; 1874 - hs_restore(c, h0); 1875 - for (int k = 0; k < h0->nsym; k++) c->sym[k].prov = keep[k]; 1876 - hs_settle(c, h0, NULL, n->line); 1877 - } 1850 + /* A loop can run zero times. Restore the definite frees from before 1851 + * entry, then settle handle assignments against the body that ran. */ 1852 + memcpy(c->pfreed, h0->pfreed, (size_t)h0->nprov); 1853 + hs_settle(c, h0, NULL, n->line); 1878 1854 c->term = 0; 1879 1855 rc = 0; 1880 1856 out: @@ -2056,7 +2032,7 @@ static int chk_stmt(C *c, int i) 2056 2032 return -1; 2057 2033 } 2058 2034 Bor *old = &c->bor[y->bor]; 2059 - if (old->kids_shared || old->kids_mut) { 2035 + if (old->n_shared || old->n_mut) { 2060 2036 char other[64]; 2061 2037 conflict_name(c, -1, y->bor, 0, other, sizeof other); 2062 2038 tr_ev(c, OSC_EV_END_BORROW, -1, -1, y->bor, -1, n->line, 1); src/compiler/osc_lex.c @@ -19,6 +19,7 @@ 19 19 * OSC-1 slice; not a general Omega compiler; no self-hosting. 20 20 */ 21 21 #include "osc_lex.h" 22 +#include "omega_api_decl.h" 22 23 23 24 #include 24 25 @@ -68,13 +69,6 @@ void osc_tok_text(const char *src, const OscToken *t, char *buf, size_t cap) 68 69 69 70 static int is_alpha(int c) { return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || c == '_'; } 70 71 static int is_digit(int c) { return c >= '0' && c <= '9'; } 71 -static int digit_val(int c) 72 -{ 73 - if (c >= '0' && c <= '9') return c - '0'; 74 - if (c >= 'a' && c <= 'f') return c - 'a' + 10; 75 - if (c >= 'A' && c <= 'F') return c - 'A' + 10; 76 - return 99; 77 -} 78 72 79 73 int osc_lex(const char *src, size_t len, OscToken *toks, uint32_t cap, uint32_t *ntok, OscDiag *d) 80 74 { @@ -138,39 +132,23 @@ int osc_lex(const char *src, size_t len, OscToken *toks, uint32_t cap, uint32_t 138 132 } 139 133 if (is_digit(c)) { 140 134 size_t s = i; 141 - unsigned base = 10; 142 - if (c == '0' && i + 1 < len && (src[i + 1] == 'x' || src[i + 1] == 'b')) { 143 - base = src[i + 1] == 'x' ? 16 : 2; 144 - ADV(); ADV(); 145 - } 146 - size_t ds = i; 147 - int overflow = 0; 148 - uint64_t v = 0; 149 - while (i < len && (is_alpha(src[i]) || is_digit(src[i]))) { 150 - int dv = digit_val(src[i]); 151 - if (dv >= (int)base) break; 152 - if (v > (UINT64_MAX - (uint64_t)dv) / base) overflow = 1; 153 - v = v * base + (uint64_t)dv; 154 - ADV(); 155 - } 135 + while (i < len && (is_alpha(src[i]) || is_digit(src[i]))) ADV(); 156 136 t->len = (uint32_t)(i - s); 137 + uint64_t status = osc_parse_literal((const uint8_t *)src + s, i - s, &t->ival); 157 138 char buf[64]; 158 - if (i == ds || (i < len && (is_alpha(src[i]) || is_digit(src[i])))) { 159 - while (i < len && (is_alpha(src[i]) || is_digit(src[i]))) ADV(); 160 - t->len = (uint32_t)(i - s); 139 + if (status == OSC_LITERAL_MALFORMED) { 161 140 osc_tok_text(src, t, buf, sizeof buf); 162 141 osc_diag_set(d, OSC_DIAG_SYNTAX, t->line, t->col, buf, 0, NULL, "malformed literal", 163 142 "malformed integer literal '%s'", buf); 164 143 return -1; 165 144 } 166 - if (overflow) { 145 + if (status == OSC_LITERAL_OVERFLOW) { 167 146 osc_tok_text(src, t, buf, sizeof buf); 168 147 osc_diag_set(d, OSC_DIAG_OVERFLOW_UNSAFE, t->line, t->col, buf, 0, NULL, "literal wider than 64 bits", 169 148 "integer literal does not fit in 64 bits"); 170 149 return -1; 171 150 } 172 151 t->kind = OT_INT; 173 - t->ival = v; 174 152 n++; 175 153 continue; 176 154 } src/omega_api_decl.h @@ -88,6 +88,152 @@ uint64_t cg_mc_ok(const uint64_t o_sp[8]); 88 88 uint64_t cg_mc_emit(const uint64_t o_sp[8], uint64_t o_ins[8192], uint64_t o_meta[512]); 89 89 /* export fn cg_gpu_attn_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 90 90 uint64_t cg_gpu_attn_emit(const uint64_t o_sp[8], uint64_t o_ins[8192], uint64_t o_meta[512]); 91 +/* export fn rx_reg_envelope_ok env view ulong 16 to long */ 92 +int64_t rx_reg_envelope_ok(const uint64_t o_env[16]); 93 +/* export fn rx_reg_decide env view ulong 16 regime ulong dwell ulong contention ulong pressure ulong to ulong */ 94 +uint64_t rx_reg_decide(const uint64_t o_env[16], uint64_t o_regime, uint64_t o_dwell, uint64_t o_contention, uint64_t o_pressure); 95 +/* export fn rx_reg_policy_for env view ulong 16 regime ulong dst edit ulong 4 to void */ 96 +void rx_reg_policy_for(const uint64_t o_env[16], uint64_t o_regime, uint64_t o_dst[4]); 97 +/* export fn rx_reg_apply_check env view ulong 16 pol view ulong 8 to long */ 98 +int64_t rx_reg_apply_check(const uint64_t o_env[16], const uint64_t o_pol[8]); 99 +/* export fn rx_reg_step env view ulong 16 cond view ulong 8 pol view ulong 8 dst edit ulong 8 to ulong */ 100 +uint64_t rx_reg_step(const uint64_t o_env[16], const uint64_t o_cond[8], const uint64_t o_pol[8], uint64_t o_dst[8]); 101 +/* export fn rx_mid_is_zero buf view uchar 32 to ulong */ 102 +uint64_t rx_mid_is_zero(const uint8_t o_buf[32]); 103 +/* export fn rx_mid_equal a view uchar 32 b view uchar 32 to ulong */ 104 +uint64_t rx_mid_equal(const uint8_t o_a[32], const uint8_t o_b[32]); 105 +/* export fn rx_mid_compare a view uchar 32 b view uchar 32 to long */ 106 +int64_t rx_mid_compare(const uint8_t o_a[32], const uint8_t o_b[32]); 107 +/* export fn rx_mid_hash buf view uchar 32 to ulong */ 108 +uint64_t rx_mid_hash(const uint8_t o_buf[32]); 109 +/* export fn rx_mid_pack_hdr root ulong id view uchar 32 rec edit uchar 44 to long */ 110 +int64_t rx_mid_pack_hdr(uint64_t o_root, const uint8_t o_id[32], uint8_t o_rec[44]); 111 +/* export fn rx_mid_val_rec rec view uchar 44 chk view uchar 4 dst edit uchar 33 to long */ 112 +int64_t rx_mid_val_rec(const uint8_t o_rec[44], const uint8_t o_chk[4], uint8_t o_dst[33]); 113 +/* export fn rx_mid_to_hex rec view uchar 44 hex edit uchar 88 to void */ 114 +void rx_mid_to_hex(const uint8_t o_rec[44], uint8_t o_hex[88]); 115 +/* export fn rx_mid_from_hex hex view uchar 88 rec edit uchar 44 to long */ 116 +int64_t rx_mid_from_hex(const uint8_t o_hex[88], uint8_t o_rec[44]); 117 +/* export fn rx_cx_kind_of ckind ulong dst edit ulong 4 to void */ 118 +void rx_cx_kind_of(uint64_t o_ckind, uint64_t o_dst[4]); 119 +/* export fn rx_cx_pack_digest dig view uchar 32 dst edit ulong 4 to void */ 120 +void rx_cx_pack_digest(const uint8_t o_dig[32], uint64_t o_dst[4]); 121 +/* export fn rx_cx_dedup_links cause ulong parents view ulong * dst edit ulong 8 max_links ulong to ulong */ 122 +uint64_t rx_cx_dedup_links(uint64_t o_cause, const uint64_t *o_parents, size_t o_parents_len, uint64_t o_dst[8], uint64_t o_max_links); 123 +/* export fn rx_pl_word dig view uchar 32 k ulong to ulong */ 124 +uint64_t rx_pl_word(const uint8_t o_dig[32], uint64_t o_k); 125 +/* export fn rx_pla_fact_pack xid ulong xgen ulong is_floor ulong tid ulong tgen ulong to ulong */ 126 +uint64_t rx_pla_fact_pack(uint64_t o_xid, uint64_t o_xgen, uint64_t o_is_floor, uint64_t o_tid, uint64_t o_tgen); 127 +/* export fn rx_pla_fact_unpack f ulong dst edit ulong 5 to void */ 128 +void rx_pla_fact_unpack(uint64_t o_f, uint64_t o_dst[5]); 129 +/* export fn rx_pl_sort_preds buf edit ulong 288 n ulong to void */ 130 +void rx_pl_sort_preds(uint64_t o_buf[288], uint64_t o_n); 131 +/* export fn rx_pj_summarize w view ulong * dst edit ulong 5 to void */ 132 +void rx_pj_summarize(const uint64_t *o_w, size_t o_w_len, uint64_t o_dst[5]); 133 +/* export fn rx_pj_section_of protect ulong cls ulong treatment ulong temporal ulong to ulong */ 134 +uint64_t rx_pj_section_of(uint64_t o_protect, uint64_t o_cls, uint64_t o_treatment, uint64_t o_temporal); 135 +/* export fn rx_pj_form_of treatment ulong to ulong */ 136 +uint64_t rx_pj_form_of(uint64_t o_treatment); 137 +/* export fn rx_cq_key_hash cap_id ulong real_id ulong mach_id ulong skill_id ulong to ulong */ 138 +uint64_t rx_cq_key_hash(uint64_t o_cap_id, uint64_t o_real_id, uint64_t o_mach_id, uint64_t o_skill_id); 139 +/* export fn rx_cq_dim_value vals view ulong 7 dim ulong to ulong */ 140 +uint64_t rx_cq_dim_value(const uint64_t o_vals[7], uint64_t o_dim); 141 +/* export fn rx_cq_dominates a view ulong 7 b view ulong 7 dims view uchar 7 nd ulong to ulong */ 142 +uint64_t rx_cq_dominates(const uint64_t o_a[7], const uint64_t o_b[7], const uint8_t o_dims[7], uint64_t o_nd); 143 +/* export fn rx_cq_cmp_full a view ulong 11 b view ulong 11 dims view uchar 7 nd ulong to long */ 144 +int64_t rx_cq_cmp_full(const uint64_t o_a[11], const uint64_t o_b[11], const uint8_t o_dims[7], uint64_t o_nd); 145 +/* export fn rx_cq_within v ulong best ulong tol_ppm ulong to ulong */ 146 +uint64_t rx_cq_within(uint64_t o_v, uint64_t o_best, uint64_t o_tol_ppm); 147 +/* export fn rx_cm_fit_predict tri view ulong 36 xty_u view ulong 8 phi_u view ulong 8 meta view ulong 2 dst edit ulong 4 to ulong */ 148 +uint64_t rx_cm_fit_predict(const uint64_t o_tri[36], const uint64_t o_xty_u[8], const uint64_t o_phi_u[8], const uint64_t o_meta[2], uint64_t o_dst[4]); 149 +/* export fn rx_cm_rank1_update tri edit ulong 36 xty edit ulong 8 phi view ulong 8 y_bits ulong to void */ 150 +void rx_cm_rank1_update(uint64_t o_tri[36], uint64_t o_xty[8], const uint64_t o_phi[8], uint64_t o_y_bits); 151 +/* export fn rx_rt_conf_bin conf ulong conf_one ulong bins ulong to ulong */ 152 +uint64_t rx_rt_conf_bin(uint64_t o_conf, uint64_t o_conf_one, uint64_t o_bins); 153 +/* export fn rx_rt_wilson k ulong n ulong dst edit ulong 2 to void */ 154 +void rx_rt_wilson(uint64_t o_k, uint64_t o_n, uint64_t o_dst[2]); 155 +/* export fn rx_world_state_legal from ulong dest ulong to ulong */ 156 +uint64_t rx_world_state_legal(uint64_t o_from, uint64_t o_dest); 157 +/* export fn rx_world_res_fits used view ulong 4 budget view ulong 6 need view ulong 5 to ulong */ 158 +uint64_t rx_world_res_fits(const uint64_t o_used[4], const uint64_t o_budget[6], const uint64_t o_need[5]); 159 +/* export fn rx_world_better_admit a view ulong 3 b view ulong 3 to ulong */ 160 +uint64_t rx_world_better_admit(const uint64_t o_a[3], const uint64_t o_b[3]); 161 +/* export fn rx_sr_digest_zero d view uchar 32 to ulong */ 162 +uint64_t rx_sr_digest_zero(const uint8_t o_d[32]); 163 +/* export fn rx_sr_why_of counts view ulong 10 to ulong */ 164 +uint64_t rx_sr_why_of(const uint64_t o_counts[10]); 165 +/* export fn rx_fus_word64 d view uchar 8 to ulong */ 166 +uint64_t rx_fus_word64(const uint8_t o_d[8]); 167 +/* export fn rx_fus_eligible_kind k ulong to ulong */ 168 +uint64_t rx_fus_eligible_kind(uint64_t o_k); 169 +#define OSC_LITERAL_MALFORMED 1 170 +#define OSC_LITERAL_OVERFLOW 2 171 +/* export fn osc_parse_literal spelling view uchar * value out ulong 1 to ulong */ 172 +uint64_t osc_parse_literal(const uint8_t *o_spelling, size_t o_spelling_len, uint64_t o_value[1]); 173 +#define OSC_OWN_ALLOWED 0 174 +#define OSC_OWN_MOVED 1 175 +#define OSC_OWN_ALIAS 2 176 +#define OSC_OWN_READ_ONLY 3 177 +#define OSC_OWN_LOOP_MOVE 4 178 +typedef struct { 179 + uint8_t moved; 180 + uint8_t ombr_pad1[1]; 181 + uint16_t n_shared; 182 + uint16_t n_mut; 183 + uint8_t ombr_pad6[2]; 184 + uint32_t moveline; 185 + int32_t sym; 186 + int32_t arena1; 187 +} OscCheckedOwner; 188 +OMBR_ASSERT(sizeof(OscCheckedOwner) == 20, "layout oscowner size"); 189 +OMBR_ASSERT(offsetof(OscCheckedOwner, moved) == 0, "layout oscowner field moved"); 190 +OMBR_ASSERT(offsetof(OscCheckedOwner, n_shared) == 2, "layout oscowner field n_shared"); 191 +OMBR_ASSERT(offsetof(OscCheckedOwner, n_mut) == 4, "layout oscowner field n_mut"); 192 +OMBR_ASSERT(offsetof(OscCheckedOwner, moveline) == 8, "layout oscowner field moveline"); 193 +OMBR_ASSERT(offsetof(OscCheckedOwner, sym) == 12, "layout oscowner field sym"); 194 +OMBR_ASSERT(offsetof(OscCheckedOwner, arena1) == 16, "layout oscowner field arena1"); 195 +typedef struct { 196 + uint8_t live; 197 + uint8_t mut; 198 + uint8_t ombr_pad2[2]; 199 + int32_t obj; 200 + int32_t parent; 201 + uint16_t n_shared; 202 + uint16_t n_mut; 203 + uint32_t line; 204 + int32_t sym; 205 +} OscCheckedBorrow; 206 +OMBR_ASSERT(sizeof(OscCheckedBorrow) == 24, "layout oscbor size"); 207 +OMBR_ASSERT(offsetof(OscCheckedBorrow, live) == 0, "layout oscbor field live"); 208 +OMBR_ASSERT(offsetof(OscCheckedBorrow, mut) == 1, "layout oscbor field mut"); 209 +OMBR_ASSERT(offsetof(OscCheckedBorrow, obj) == 4, "layout oscbor field obj"); 210 +OMBR_ASSERT(offsetof(OscCheckedBorrow, parent) == 8, "layout oscbor field parent"); 211 +OMBR_ASSERT(offsetof(OscCheckedBorrow, n_shared) == 12, "layout oscbor field n_shared"); 212 +OMBR_ASSERT(offsetof(OscCheckedBorrow, n_mut) == 14, "layout oscbor field n_mut"); 213 +OMBR_ASSERT(offsetof(OscCheckedBorrow, line) == 16, "layout oscbor field line"); 214 +OMBR_ASSERT(offsetof(OscCheckedBorrow, sym) == 20, "layout oscbor field sym"); 215 +/* export fn osc_owner_access moved ulong exclusive ulong shared_count ulong mut_count ulong to ulong */ 216 +uint64_t osc_owner_access(uint64_t o_moved, uint64_t o_exclusive, uint64_t o_shared_count, uint64_t o_mut_count); 217 +/* export fn osc_borrow_access writable ulong exclusive ulong shared_count ulong mut_count ulong to ulong */ 218 +uint64_t osc_borrow_access(uint64_t o_writable, uint64_t o_exclusive, uint64_t o_shared_count, uint64_t o_mut_count); 219 +/* export fn osc_owner_move moved ulong shared_count ulong mut_count ulong declaration_depth long loop_depth long to ulong */ 220 +uint64_t osc_owner_move(uint64_t o_moved, uint64_t o_shared_count, uint64_t o_mut_count, int64_t o_declaration_depth, int64_t o_loop_depth); 221 +/* export fn osc_join_owner taken view oscowner remaining edit oscowner to ulong */ 222 +uint64_t osc_join_owner(const OscCheckedOwner *o_taken, OscCheckedOwner *o_remaining); 223 +/* export fn osc_join_handle before long current long other long to long */ 224 +int64_t osc_join_handle(int64_t o_before, int64_t o_current, int64_t o_other); 225 +/* export fn osc_join_frees taken view uchar * remaining edit uchar * to void */ 226 +void osc_join_frees(const uint8_t *o_taken, size_t o_taken_len, uint8_t *o_remaining, size_t o_remaining_len); 227 +/* export fn osc_init_owner item edit oscowner symbol long to void */ 228 +void osc_init_owner(OscCheckedOwner *o_item, int64_t o_symbol); 229 +/* export fn osc_open_borrow owner edit oscowner child edit oscbor object long mutable ulong source_line ulong to void */ 230 +void osc_open_borrow(OscCheckedOwner *o_owner, OscCheckedBorrow *o_child, int64_t o_object, uint64_t o_mutable, uint64_t o_source_line); 231 +/* export fn osc_open_reborrow parent edit oscbor child edit oscbor object long parent_id long mutable ulong source_line ulong to void */ 232 +void osc_open_reborrow(OscCheckedBorrow *o_parent, OscCheckedBorrow *o_child, int64_t o_object, int64_t o_parent_id, uint64_t o_mutable, uint64_t o_source_line); 233 +/* export fn osc_close_borrow owner edit oscowner child edit oscbor to void */ 234 +void osc_close_borrow(OscCheckedOwner *o_owner, OscCheckedBorrow *o_child); 235 +/* export fn osc_close_reborrow parent edit oscbor child edit oscbor to void */ 236 +void osc_close_reborrow(OscCheckedBorrow *o_parent, OscCheckedBorrow *o_child); 91 237 #ifdef __cplusplus 92 238 } 93 239 #endif src/omega_native.h @@ -107,6 +107,134 @@ uint32_t omega2_cg_mc_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp 107 107 const char *omega2_ident_cg_gpu_attn(void); 108 108 /* export fn cg_gpu_attn_emit sp view ulong 8 ins edit ulong 8192 meta edit ulong 512 to ulong */ 109 109 uint32_t omega2_cg_gpu_attn_emit(uint64_t *result, const uint64_t *o_sp, uint64_t o_sp_len, uint64_t *o_ins, uint64_t o_ins_len, uint64_t *o_meta, uint64_t o_meta_len); 110 +#define OMEGA2_IDENT_rx_regulate "omega-ident 1 unit=rx_regulate abi=2 profile=OM-2 src=`b274ce15ba5c41bf97ee3a80879c9fc4c342b025c996148eecaca2dc104bd263` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`" 111 +const char *omega2_ident_rx_regulate(void); 112 +/* export fn rx_reg_envelope_ok env view ulong 16 to long */ 113 +uint32_t omega2_rx_reg_envelope_ok(uint64_t *result, const uint64_t *o_env, uint64_t o_env_len); 114 +/* export fn rx_reg_decide env view ulong 16 regime ulong dwell ulong contention ulong pressure ulong to ulong */ 115 +uint32_t omega2_rx_reg_decide(uint64_t *result, const uint64_t *o_env, uint64_t o_env_len, uint64_t o_regime, uint64_t o_dwell, uint64_t o_contention, uint64_t o_pressure); 116 +/* export fn rx_reg_policy_for env view ulong 16 regime ulong dst edit ulong 4 to void */ 117 +uint32_t omega2_rx_reg_policy_for(uint64_t *result, const uint64_t *o_env, uint64_t o_env_len, uint64_t o_regime, uint64_t *o_dst, uint64_t o_dst_len); 118 +/* export fn rx_reg_apply_check env view ulong 16 pol view ulong 8 to long */ 119 +uint32_t omega2_rx_reg_apply_check(uint64_t *result, const uint64_t *o_env, uint64_t o_env_len, const uint64_t *o_pol, uint64_t o_pol_len); 120 +/* export fn rx_reg_step env view ulong 16 cond view ulong 8 pol view ulong 8 dst edit ulong 8 to ulong */ 121 +uint32_t omega2_rx_reg_step(uint64_t *result, const uint64_t *o_env, uint64_t o_env_len, const uint64_t *o_cond, uint64_t o_cond_len, const uint64_t *o_pol, uint64_t o_pol_len, uint64_t *o_dst, uint64_t o_dst_len); 122 +#define OMEGA2_IDENT_rx_mid "omega-ident 1 unit=rx_mid abi=2 profile=OM-2 src=`4959ddf61f6015f6f5bce857b12a16f50d94b8278ccde25c8e931ce3b5c98887` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`" 123 +const char *omega2_ident_rx_mid(void); 124 +/* export fn rx_mid_is_zero buf view uchar 32 to ulong */ 125 +uint32_t omega2_rx_mid_is_zero(uint64_t *result, const uint8_t *o_buf, uint64_t o_buf_len); 126 +/* export fn rx_mid_equal a view uchar 32 b view uchar 32 to ulong */ 127 +uint32_t omega2_rx_mid_equal(uint64_t *result, const uint8_t *o_a, uint64_t o_a_len, const uint8_t *o_b, uint64_t o_b_len); 128 +/* export fn rx_mid_compare a view uchar 32 b view uchar 32 to long */ 129 +uint32_t omega2_rx_mid_compare(uint64_t *result, const uint8_t *o_a, uint64_t o_a_len, const uint8_t *o_b, uint64_t o_b_len); 130 +/* export fn rx_mid_hash buf view uchar 32 to ulong */ 131 +uint32_t omega2_rx_mid_hash(uint64_t *result, const uint8_t *o_buf, uint64_t o_buf_len); 132 +/* export fn rx_mid_pack_hdr root ulong id view uchar 32 rec edit uchar 44 to long */ 133 +uint32_t omega2_rx_mid_pack_hdr(uint64_t *result, uint64_t o_root, const uint8_t *o_id, uint64_t o_id_len, uint8_t *o_rec, uint64_t o_rec_len); 134 +/* export fn rx_mid_val_rec rec view uchar 44 chk view uchar 4 dst edit uchar 33 to long */ 135 +uint32_t omega2_rx_mid_val_rec(uint64_t *result, const uint8_t *o_rec, uint64_t o_rec_len, const uint8_t *o_chk, uint64_t o_chk_len, uint8_t *o_dst, uint64_t o_dst_len); 136 +/* export fn rx_mid_to_hex rec view uchar 44 hex edit uchar 88 to void */ 137 +uint32_t omega2_rx_mid_to_hex(uint64_t *result, const uint8_t *o_rec, uint64_t o_rec_len, uint8_t *o_hex, uint64_t o_hex_len); 138 +/* export fn rx_mid_from_hex hex view uchar 88 rec edit uchar 44 to long */ 139 +uint32_t omega2_rx_mid_from_hex(uint64_t *result, const uint8_t *o_hex, uint64_t o_hex_len, uint8_t *o_rec, uint64_t o_rec_len); 140 +#define OMEGA2_IDENT_rx_cortex_rec "omega-ident 1 unit=rx_cortex_rec abi=2 profile=OM-2 src=`29f832bab2e55623345ca382b60578677859133221533468fdd79068ab46459a` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`" 141 +const char *omega2_ident_rx_cortex_rec(void); 142 +/* export fn rx_cx_kind_of ckind ulong dst edit ulong 4 to void */ 143 +uint32_t omega2_rx_cx_kind_of(uint64_t *result, uint64_t o_ckind, uint64_t *o_dst, uint64_t o_dst_len); 144 +/* export fn rx_cx_pack_digest dig view uchar 32 dst edit ulong 4 to void */ 145 +uint32_t omega2_rx_cx_pack_digest(uint64_t *result, const uint8_t *o_dig, uint64_t o_dig_len, uint64_t *o_dst, uint64_t o_dst_len); 146 +/* export fn rx_cx_dedup_links cause ulong parents view ulong * dst edit ulong 8 max_links ulong to ulong */ 147 +uint32_t omega2_rx_cx_dedup_links(uint64_t *result, uint64_t o_cause, const uint64_t *o_parents, uint64_t o_parents_len, uint64_t *o_dst, uint64_t o_dst_len, uint64_t o_max_links); 148 +#define OMEGA2_IDENT_rx_plan_core "omega-ident 1 unit=rx_plan_core abi=2 profile=OM-2 src=`4230535f0ff37d7e9996e4dc56f2c8a4c605f7bf9b31b0bdf89ed8d4c808157a` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`" 149 +const char *omega2_ident_rx_plan_core(void); 150 +/* export fn rx_pl_word dig view uchar 32 k ulong to ulong */ 151 +uint32_t omega2_rx_pl_word(uint64_t *result, const uint8_t *o_dig, uint64_t o_dig_len, uint64_t o_k); 152 +/* export fn rx_pla_fact_pack xid ulong xgen ulong is_floor ulong tid ulong tgen ulong to ulong */ 153 +uint32_t omega2_rx_pla_fact_pack(uint64_t *result, uint64_t o_xid, uint64_t o_xgen, uint64_t o_is_floor, uint64_t o_tid, uint64_t o_tgen); 154 +/* export fn rx_pla_fact_unpack f ulong dst edit ulong 5 to void */ 155 +uint32_t omega2_rx_pla_fact_unpack(uint64_t *result, uint64_t o_f, uint64_t *o_dst, uint64_t o_dst_len); 156 +/* export fn rx_pl_sort_preds buf edit ulong 288 n ulong to void */ 157 +uint32_t omega2_rx_pl_sort_preds(uint64_t *result, uint64_t *o_buf, uint64_t o_buf_len, uint64_t o_n); 158 +#define OMEGA2_IDENT_rx_projection "omega-ident 1 unit=rx_projection abi=2 profile=OM-2 src=`a6f9742bb4b20bcb7ac70694a19cb59722e73ad1fcecfcc0bcb833a0441ded9d` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`" 159 +const char *omega2_ident_rx_projection(void); 160 +/* export fn rx_pj_summarize w view ulong * dst edit ulong 5 to void */ 161 +uint32_t omega2_rx_pj_summarize(uint64_t *result, const uint64_t *o_w, uint64_t o_w_len, uint64_t *o_dst, uint64_t o_dst_len); 162 +/* export fn rx_pj_section_of protect ulong cls ulong treatment ulong temporal ulong to ulong */ 163 +uint32_t omega2_rx_pj_section_of(uint64_t *result, uint64_t o_protect, uint64_t o_cls, uint64_t o_treatment, uint64_t o_temporal); 164 +/* export fn rx_pj_form_of treatment ulong to ulong */ 165 +uint32_t omega2_rx_pj_form_of(uint64_t *result, uint64_t o_treatment); 166 +#define OMEGA2_IDENT_rx_capq_core "omega-ident 1 unit=rx_capq_core abi=2 profile=OM-2 src=`55e7902df4087d1329ae1c21fb10a1c3a2b66a9a42dca73d3a27f98c88714f51` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`" 167 +const char *omega2_ident_rx_capq_core(void); 168 +/* export fn rx_cq_key_hash cap_id ulong real_id ulong mach_id ulong skill_id ulong to ulong */ 169 +uint32_t omega2_rx_cq_key_hash(uint64_t *result, uint64_t o_cap_id, uint64_t o_real_id, uint64_t o_mach_id, uint64_t o_skill_id); 170 +/* export fn rx_cq_dim_value vals view ulong 7 dim ulong to ulong */ 171 +uint32_t omega2_rx_cq_dim_value(uint64_t *result, const uint64_t *o_vals, uint64_t o_vals_len, uint64_t o_dim); 172 +/* export fn rx_cq_dominates a view ulong 7 b view ulong 7 dims view uchar 7 nd ulong to ulong */ 173 +uint32_t omega2_rx_cq_dominates(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, const uint64_t *o_b, uint64_t o_b_len, const uint8_t *o_dims, uint64_t o_dims_len, uint64_t o_nd); 174 +/* export fn rx_cq_cmp_full a view ulong 11 b view ulong 11 dims view uchar 7 nd ulong to long */ 175 +uint32_t omega2_rx_cq_cmp_full(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, const uint64_t *o_b, uint64_t o_b_len, const uint8_t *o_dims, uint64_t o_dims_len, uint64_t o_nd); 176 +/* export fn rx_cq_within v ulong best ulong tol_ppm ulong to ulong */ 177 +uint32_t omega2_rx_cq_within(uint64_t *result, uint64_t o_v, uint64_t o_best, uint64_t o_tol_ppm); 178 +#define OMEGA2_IDENT_rx_costmodel_core "omega-ident 1 unit=rx_costmodel_core abi=2 profile=OM-2 src=`77b9ac8c9e88186d9cc1019660a2b0f99442892f83eedb3cebf72a0e56223e11` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`" 179 +const char *omega2_ident_rx_costmodel_core(void); 180 +/* export fn rx_cm_fit_predict tri view ulong 36 xty_u view ulong 8 phi_u view ulong 8 meta view ulong 2 dst edit ulong 4 to ulong */ 181 +uint32_t omega2_rx_cm_fit_predict(uint64_t *result, const uint64_t *o_tri, uint64_t o_tri_len, const uint64_t *o_xty_u, uint64_t o_xty_u_len, const uint64_t *o_phi_u, uint64_t o_phi_u_len, const uint64_t *o_meta, uint64_t o_meta_len, uint64_t *o_dst, uint64_t o_dst_len); 182 +/* export fn rx_cm_rank1_update tri edit ulong 36 xty edit ulong 8 phi view ulong 8 y_bits ulong to void */ 183 +uint32_t omega2_rx_cm_rank1_update(uint64_t *result, uint64_t *o_tri, uint64_t o_tri_len, uint64_t *o_xty, uint64_t o_xty_len, const uint64_t *o_phi, uint64_t o_phi_len, uint64_t o_y_bits); 184 +#define OMEGA2_IDENT_rx_route_core "omega-ident 1 unit=rx_route_core abi=2 profile=OM-2 src=`4d45fdbb7089300c5a9f7889f5d6a39395e5d9632fa405ba2286cb19a6f436ec` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`" 185 +const char *omega2_ident_rx_route_core(void); 186 +/* export fn rx_rt_conf_bin conf ulong conf_one ulong bins ulong to ulong */ 187 +uint32_t omega2_rx_rt_conf_bin(uint64_t *result, uint64_t o_conf, uint64_t o_conf_one, uint64_t o_bins); 188 +/* export fn rx_rt_wilson k ulong n ulong dst edit ulong 2 to void */ 189 +uint32_t omega2_rx_rt_wilson(uint64_t *result, uint64_t o_k, uint64_t o_n, uint64_t *o_dst, uint64_t o_dst_len); 190 +#define OMEGA2_IDENT_rx_world_core "omega-ident 1 unit=rx_world_core abi=2 profile=OM-2 src=`fe6656a9770cd0721dd5d5e885bc506ec68ca34d67243cf4b7da57d5e46a0611` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`" 191 +const char *omega2_ident_rx_world_core(void); 192 +/* export fn rx_world_state_legal from ulong dest ulong to ulong */ 193 +uint32_t omega2_rx_world_state_legal(uint64_t *result, uint64_t o_from, uint64_t o_dest); 194 +/* export fn rx_world_res_fits used view ulong 4 budget view ulong 6 need view ulong 5 to ulong */ 195 +uint32_t omega2_rx_world_res_fits(uint64_t *result, const uint64_t *o_used, uint64_t o_used_len, const uint64_t *o_budget, uint64_t o_budget_len, const uint64_t *o_need, uint64_t o_need_len); 196 +/* export fn rx_world_better_admit a view ulong 3 b view ulong 3 to ulong */ 197 +uint32_t omega2_rx_world_better_admit(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, const uint64_t *o_b, uint64_t o_b_len); 198 +#define OMEGA2_IDENT_rx_skillroute_core "omega-ident 1 unit=rx_skillroute_core abi=2 profile=OM-2 src=`568e2a8345feaffe9d1c119697426be1564d2b2317f8bdd192ad7756c39a6c3d` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`" 199 +const char *omega2_ident_rx_skillroute_core(void); 200 +/* export fn rx_sr_digest_zero d view uchar 32 to ulong */ 201 +uint32_t omega2_rx_sr_digest_zero(uint64_t *result, const uint8_t *o_d, uint64_t o_d_len); 202 +/* export fn rx_sr_why_of counts view ulong 10 to ulong */ 203 +uint32_t omega2_rx_sr_why_of(uint64_t *result, const uint64_t *o_counts, uint64_t o_counts_len); 204 +#define OMEGA2_IDENT_rx_fusion_core "omega-ident 1 unit=rx_fusion_core abi=2 profile=OM-2 src=`aab22272005a4d65c2ada2b9754906cdaa7736ae127042f84457d548875d1ee6` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`" 205 +const char *omega2_ident_rx_fusion_core(void); 206 +/* export fn rx_fus_word64 d view uchar 8 to ulong */ 207 +uint32_t omega2_rx_fus_word64(uint64_t *result, const uint8_t *o_d, uint64_t o_d_len); 208 +/* export fn rx_fus_eligible_kind k ulong to ulong */ 209 +uint32_t omega2_rx_fus_eligible_kind(uint64_t *result, uint64_t o_k); 210 +#define OMEGA2_IDENT_osc_literal "omega-ident 1 unit=osc_literal abi=2 profile=OM-2 src=`c61bdcbb9f71b01df86fba045b4206809091e709eba208939a4270b67dabbce2` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`" 211 +const char *omega2_ident_osc_literal(void); 212 +/* export fn osc_parse_literal spelling view uchar * value out ulong 1 to ulong */ 213 +uint32_t omega2_osc_parse_literal(uint64_t *result, const uint8_t *o_spelling, uint64_t o_spelling_len, uint64_t *o_value); 214 +#define OMEGA2_IDENT_osc_ownership "omega-ident 1 unit=osc_ownership abi=2 profile=OM-2 src=`4057f369075c9ea7e8df9c208f640eb5361dacd2608138cb04b853db082c4d33` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`" 215 +const char *omega2_ident_osc_ownership(void); 216 +/* export fn osc_owner_access moved ulong exclusive ulong shared_count ulong mut_count ulong to ulong */ 217 +uint32_t omega2_osc_owner_access(uint64_t *result, uint64_t o_moved, uint64_t o_exclusive, uint64_t o_shared_count, uint64_t o_mut_count); 218 +/* export fn osc_borrow_access writable ulong exclusive ulong shared_count ulong mut_count ulong to ulong */ 219 +uint32_t omega2_osc_borrow_access(uint64_t *result, uint64_t o_writable, uint64_t o_exclusive, uint64_t o_shared_count, uint64_t o_mut_count); 220 +/* export fn osc_owner_move moved ulong shared_count ulong mut_count ulong declaration_depth long loop_depth long to ulong */ 221 +uint32_t omega2_osc_owner_move(uint64_t *result, uint64_t o_moved, uint64_t o_shared_count, uint64_t o_mut_count, uint64_t o_declaration_depth, uint64_t o_loop_depth); 222 +/* export fn osc_join_owner taken view oscowner remaining edit oscowner to ulong */ 223 +uint32_t omega2_osc_join_owner(uint64_t *result, const uint8_t *o_taken, uint8_t *o_remaining); 224 +/* export fn osc_join_handle before long current long other long to long */ 225 +uint32_t omega2_osc_join_handle(uint64_t *result, uint64_t o_before, uint64_t o_current, uint64_t o_other); 226 +/* export fn osc_join_frees taken view uchar * remaining edit uchar * to void */ 227 +uint32_t omega2_osc_join_frees(uint64_t *result, const uint8_t *o_taken, uint64_t o_taken_len, uint8_t *o_remaining, uint64_t o_remaining_len); 228 +/* export fn osc_init_owner item edit oscowner symbol long to void */ 229 +uint32_t omega2_osc_init_owner(uint64_t *result, uint8_t *o_item, uint64_t o_symbol); 230 +/* export fn osc_open_borrow owner edit oscowner child edit oscbor object long mutable ulong source_line ulong to void */ 231 +uint32_t omega2_osc_open_borrow(uint64_t *result, uint8_t *o_owner, uint8_t *o_child, uint64_t o_object, uint64_t o_mutable, uint64_t o_source_line); 232 +/* export fn osc_open_reborrow parent edit oscbor child edit oscbor object long parent_id long mutable ulong source_line ulong to void */ 233 +uint32_t omega2_osc_open_reborrow(uint64_t *result, uint8_t *o_parent, uint8_t *o_child, uint64_t o_object, uint64_t o_parent_id, uint64_t o_mutable, uint64_t o_source_line); 234 +/* export fn osc_close_borrow owner edit oscowner child edit oscbor to void */ 235 +uint32_t omega2_osc_close_borrow(uint64_t *result, uint8_t *o_owner, uint8_t *o_child); 236 +/* export fn osc_close_reborrow parent edit oscbor child edit oscbor to void */ 237 +uint32_t omega2_osc_close_reborrow(uint64_t *result, uint8_t *o_parent, uint8_t *o_child); 110 238 #ifdef __cplusplus 111 239 } 112 240 #endif src/omega_om_units.c @@ -1029,6 +1029,1195 @@ __attribute__((visibility("default"))) uint32_t omega2_cg_gpu_attn_emit(uint64_t 1029 1029 return OMEGA_BAD_ARG; 1030 1030 return ombr2_run(ombr2_entry_cg_gpu_attn_emit, a, result, 1, ou, no); 1031 1031 } 1032 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_rx_regulate\n.hidden ombr2_code_rx_regulate\nombr2_code_rx_regulate:\n.byte 0x4c,0x00,0x00,0x14,0x99,0x00,0x00,0x14,0xac,0x00,0x00,0x14,0xba,0x00,0x00,0x14,0xe7,0x00,0x00,0x14,0x05,0x34,0x40,0xf9,0x5f,0x00,0x05,0xeb,0xe6,0x37,0x9f,0x9a,0x08,0x2c,0x40,0xf9,0x9f,0x00,0x08,0xeb,0x63,0x00,0x00,0x54,0x40,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x08,0x00,0xf1,0x21,0x02,0x00,0x54,0x09,0x30,0x40,0xf9,0xca,0x00,0x40,0xd2,0x6a,0x00,0x00,0xb4,0x40,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x9f,0x00,0x09,0xeb,0x69,0x00,0x00,0x54,0x40,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x0a,0x24,0x40,0xf9,0x7f,0x00,0x0a,0xeb,0x63,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x04,0x00,0xf1,0x81,0x01,0x00,0x54,0x09,0x28,0x40,0xf9,0xca,0x00,0x40,0xd2,0x6a,0x00,0x00,0xb4,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x7f,0x00,0x09,0xeb,0x69,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x09,0x24,0x40,0xf9,0x7f,0x00,0x09,0xeb,0x63,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x04,0x00,0xf1,0x01,0x01,0x00,0x54,0x03,0x04,0x40,0xf9,0x43,0x00,0x00,0xf9,0x03,0x0c,0x40,0xf9,0x43,0x04,0x00,0xf9,0x03,0x14,0x40,0xf9,0x43,0x08,0x00,0xf9,0xc0,0x03,0x5f,0xd6,0x3f,0x08,0x00,0xf1,0x01,0x01,0x00,0x54,0x03,0x00,0x40,0xf9,0x43,0x00,0x00,0xf9,0x03,0x08,0x40,0xf9,0x43,0x04,0x00,0xf9,0x03,0x10,0x40,0xf9,0x43,0x08,0x00,0xf9,0xc0,0x03,0x5f,0xd6,0x03,0x18,0x40,0xf9,0x43,0x00,0x00,0xf9,0x03,0x1c,0x40,0xf9,0x43,0x04,0x00,0xf9,0x03,0x20,0x40,0xf9,0x43,0x08,0x00,0xf9,0xc0,0x03,0x5f,0xd6,0x01,0x00,0x40,0xf9,0x02,0x04,0x40,0xf9,0x3f,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x3f,0x00,0x02,0xeb,0x69,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0xe3,0xff,0x9f,0xd2,0xe3,0xff,0xbf,0xf2,0x5f,0x00,0x03,0xeb,0x69,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x03,0x08,0x40,0xf9,0x04,0x0c,0x40,0xf9,0x7f,0x00,0x04,0xeb,0x69,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x05,0x10,0x40,0xf9,0x06,0x14,0x40,0xf9,0xbf,0x00,0x06,0xeb,0x69,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x08,0x18,0x40,0xf9,0x1f,0x01,0x01,0xeb,0x62,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x1f,0x01,0x02,0xeb,0x69,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x09,0x1c,0x40,0xf9,0x3f,0x01,0x03,0xeb,0x62,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x3f,0x01,0x04,0xeb,0x69,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x0a,0x20,0x40,0xf9,0x5f,0x01,0x05,0xeb,0x62,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x5f,0x01,0x06,0xeb,0x69,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x0b,0x24,0x40,0xf9,0x0c,0x28,0x40,0xf9,0x9f,0x01,0x0b,0xeb,0x63,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x0d,0x2c,0x40,0xf9,0x0e,0x30,0x40,0xf9,0xdf,0x01,0x0d,0xeb,0x63,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0xbf,0x91,0x01,0xf1,0x69,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x0f,0x34,0x40,0xf9,0xff,0x01,0x00,0xf1,0x61,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xfe,0x17,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0x5f,0xff,0xff,0x97,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xfe,0x17,0x40,0xf9,0xff,0xc3,0x00,0x91,0xc0,0x03,0x5f,0xd6,0xff,0x83,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xfe,0x0f,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0x7d,0xff,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xfe,0x0f,0x40,0xf9,0xff,0x83,0x00,0x91,0xc0,0x03,0x5f,0xd6,0x22,0x04,0x40,0xf9,0xe3,0xff,0x9f,0xd2,0xe3,0xff,0xbf,0xf2,0x5f,0x00,0x03,0xeb,0x69,0x00,0x00,0x54,0x60,0x02,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x03,0x00,0x40,0xf9,0x5f,0x00,0x03,0xeb,0x62,0x00,0x00,0x54,0x60,0x02,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x03,0x04,0x40,0xf9,0x5f,0x00,0x03,0xeb,0x69,0x00,0x00,0x54,0x60,0x02,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x23,0x08,0x40,0xf9,0x04,0x08,0x40,0xf9,0x7f,0x00,0x04,0xeb,0x62,0x00,0x00,0x54,0x60,0x02,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x04,0x0c,0x40,0xf9,0x7f,0x00,0x04,0xeb,0x69,0x00,0x00,0x54,0x60,0x02,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x24,0x0c,0x40,0xf9,0x05,0x10,0x40,0xf9,0x9f,0x00,0x05,0xeb,0x62,0x00,0x00,0x54,0x60,0x02,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x05,0x14,0x40,0xf9,0x9f,0x00,0x05,0xeb,0x69,0x00,0x00,0x54,0x60,0x02,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x25,0x10,0x40,0xf9,0xbf,0x08,0x00,0xf1,0x69,0x00,0x00,0x54,0x60,0x02,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x24,0x00,0x40,0xf9,0x45,0x14,0x40,0xf9,0x9f,0x00,0x05,0xeb,0x61,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x45,0x10,0x40,0xf9,0x46,0x18,0x40,0xf9,0x29,0x04,0x40,0xf9,0x2a,0x0c,0x40,0xf9,0xff,0x83,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xfe,0x2b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x17,0x40,0xf9,0xe2,0x1b,0x40,0xf9,0xe3,0x23,0x40,0xf9,0xe4,0x27,0x40,0xf9,0xff,0xfe,0xff,0x97,0xe8,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xfe,0x2b,0x40,0xf9,0xff,0x83,0x01,0x91,0x64,0x14,0x00,0xf9,0x1f,0x01,0x05,0xeb,0xa1,0x00,0x00,0x54,0xc9,0x04,0x00,0x91,0x69,0x18,0x00,0xf9,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x0a,0x00,0x80,0xd2,0xff,0x83,0x00,0xd1,0xe9,0x03,0x00,0x91,0x0b,0x00,0x80,0xd2,0x2a,0x79,0x2b,0xf8,0x6b,0x05,0x00,0x91,0x7f,0x11,0x00,0xf1,0xa3,0xff,0xff,0x54,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xfe,0x27,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x1f,0x40,0xf9,0xe2,0x23,0x40,0xf9,0x05,0xff,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xfe,0x27,0x40,0xf9,0xff,0x43,0x01,0x91,0x4a,0x00,0x40,0xf9,0x4b,0x05,0x00,0x91,0x6b,0x00,0x00,0xf9,0x2a,0x01,0x40,0xf9,0x6a,0x04,0x00,0xf9,0x2a,0x05,0x40,0xf9,0x6a,0x08,0x00,0xf9,0x2a,0x09,0x40,0xf9,0x6a,0x0c,0x00,0xf9,0x68,0x10,0x00,0xf9,0x0a,0x00,0x80,0xd2,0x6a,0x18,0x00,0xf9,0x4a,0x1c,0x40,0xf9,0x4b,0x05,0x00,0x91,0x6b,0x1c,0x00,0xf9,0x40,0x00,0x80,0xd2,0xff,0x83,0x00,0x91,0xc0,0x03,0x5f,0xd6\n.previous\n"); 1033 +static const char ombr2_ident_rx_regulate[] = "omega-ident 1 unit=rx_regulate abi=2 profile=OM-2 src=`b274ce15ba5c41bf97ee3a80879c9fc4c342b025c996148eecaca2dc104bd263` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`"; 1034 +__attribute__((visibility("default"))) const char *omega2_ident_rx_regulate(void) 1035 +{ 1036 + return ombr2_ident_rx_regulate; 1037 +} 1038 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_reg_envelope_ok\n.hidden ombr2_entry_rx_reg_envelope_ok\nombr2_entry_rx_reg_envelope_ok:\nhint #34\nb ombr2_code_rx_regulate+0\n.previous\n"); 1039 +extern const unsigned char ombr2_entry_rx_reg_envelope_ok[] __attribute__((visibility("hidden"))); 1040 +/* export fn rx_reg_envelope_ok env view ulong 16 to long */ 1041 +__attribute__((visibility("default"))) uint32_t omega2_rx_reg_envelope_ok(uint64_t *result, const uint64_t *o_env, uint64_t o_env_len) 1042 +{ 1043 + ombr_span sp[7]; 1044 + unsigned ns = 0; 1045 + uint64_t a[6] = {0}; 1046 + ombr2_out ou[6] = {{0, 0, 0}}; 1047 + unsigned no = 0; 1048 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1049 + return OMEGA_BAD_ARG; 1050 + if (ombr_span_add(sp, &ns, o_env, o_env_len, 16u, 8u, 0)) 1051 + return OMEGA_BAD_ARG; 1052 + a[0] = (uint64_t)(uintptr_t)o_env; 1053 + if (ombr2_overlap(sp, ns)) 1054 + return OMEGA_BAD_ARG; 1055 + return ombr2_run(ombr2_entry_rx_reg_envelope_ok, a, result, 1, ou, no); 1056 +} 1057 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_reg_decide\n.hidden ombr2_entry_rx_reg_decide\nombr2_entry_rx_reg_decide:\nhint #34\nb ombr2_code_rx_regulate+4\n.previous\n"); 1058 +extern const unsigned char ombr2_entry_rx_reg_decide[] __attribute__((visibility("hidden"))); 1059 +/* export fn rx_reg_decide env view ulong 16 regime ulong dwell ulong contention ulong pressure ulong to ulong */ 1060 +__attribute__((visibility("default"))) uint32_t omega2_rx_reg_decide(uint64_t *result, const uint64_t *o_env, uint64_t o_env_len, uint64_t o_regime, uint64_t o_dwell, uint64_t o_contention, uint64_t o_pressure) 1061 +{ 1062 + ombr_span sp[7]; 1063 + unsigned ns = 0; 1064 + uint64_t a[6] = {0}; 1065 + ombr2_out ou[6] = {{0, 0, 0}}; 1066 + unsigned no = 0; 1067 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1068 + return OMEGA_BAD_ARG; 1069 + if (ombr_span_add(sp, &ns, o_env, o_env_len, 16u, 8u, 0)) 1070 + return OMEGA_BAD_ARG; 1071 + a[0] = (uint64_t)(uintptr_t)o_env; 1072 + a[1] = o_regime; 1073 + a[2] = o_dwell; 1074 + a[3] = o_contention; 1075 + a[4] = o_pressure; 1076 + if (ombr2_overlap(sp, ns)) 1077 + return OMEGA_BAD_ARG; 1078 + return ombr2_run(ombr2_entry_rx_reg_decide, a, result, 1, ou, no); 1079 +} 1080 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_reg_policy_for\n.hidden ombr2_entry_rx_reg_policy_for\nombr2_entry_rx_reg_policy_for:\nhint #34\nb ombr2_code_rx_regulate+8\n.previous\n"); 1081 +extern const unsigned char ombr2_entry_rx_reg_policy_for[] __attribute__((visibility("hidden"))); 1082 +/* export fn rx_reg_policy_for env view ulong 16 regime ulong dst edit ulong 4 to void */ 1083 +__attribute__((visibility("default"))) uint32_t omega2_rx_reg_policy_for(uint64_t *result, const uint64_t *o_env, uint64_t o_env_len, uint64_t o_regime, uint64_t *o_dst, uint64_t o_dst_len) 1084 +{ 1085 + ombr_span sp[7]; 1086 + unsigned ns = 0; 1087 + uint64_t a[6] = {0}; 1088 + ombr2_out ou[6] = {{0, 0, 0}}; 1089 + unsigned no = 0; 1090 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1091 + return OMEGA_BAD_ARG; 1092 + if (ombr_span_add(sp, &ns, o_env, o_env_len, 16u, 8u, 0)) 1093 + return OMEGA_BAD_ARG; 1094 + a[0] = (uint64_t)(uintptr_t)o_env; 1095 + a[1] = o_regime; 1096 + if (ombr_span_add(sp, &ns, o_dst, o_dst_len, 4u, 8u, 1)) 1097 + return OMEGA_BAD_ARG; 1098 + a[2] = (uint64_t)(uintptr_t)o_dst; 1099 + if (ombr2_overlap(sp, ns)) 1100 + return OMEGA_BAD_ARG; 1101 + return ombr2_run(ombr2_entry_rx_reg_policy_for, a, result, 0, ou, no); 1102 +} 1103 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_reg_apply_check\n.hidden ombr2_entry_rx_reg_apply_check\nombr2_entry_rx_reg_apply_check:\nhint #34\nb ombr2_code_rx_regulate+12\n.previous\n"); 1104 +extern const unsigned char ombr2_entry_rx_reg_apply_check[] __attribute__((visibility("hidden"))); 1105 +/* export fn rx_reg_apply_check env view ulong 16 pol view ulong 8 to long */ 1106 +__attribute__((visibility("default"))) uint32_t omega2_rx_reg_apply_check(uint64_t *result, const uint64_t *o_env, uint64_t o_env_len, const uint64_t *o_pol, uint64_t o_pol_len) 1107 +{ 1108 + ombr_span sp[7]; 1109 + unsigned ns = 0; 1110 + uint64_t a[6] = {0}; 1111 + ombr2_out ou[6] = {{0, 0, 0}}; 1112 + unsigned no = 0; 1113 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1114 + return OMEGA_BAD_ARG; 1115 + if (ombr_span_add(sp, &ns, o_env, o_env_len, 16u, 8u, 0)) 1116 + return OMEGA_BAD_ARG; 1117 + a[0] = (uint64_t)(uintptr_t)o_env; 1118 + if (ombr_span_add(sp, &ns, o_pol, o_pol_len, 8u, 8u, 0)) 1119 + return OMEGA_BAD_ARG; 1120 + a[1] = (uint64_t)(uintptr_t)o_pol; 1121 + if (ombr2_overlap(sp, ns)) 1122 + return OMEGA_BAD_ARG; 1123 + return ombr2_run(ombr2_entry_rx_reg_apply_check, a, result, 1, ou, no); 1124 +} 1125 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_reg_step\n.hidden ombr2_entry_rx_reg_step\nombr2_entry_rx_reg_step:\nhint #34\nb ombr2_code_rx_regulate+16\n.previous\n"); 1126 +extern const unsigned char ombr2_entry_rx_reg_step[] __attribute__((visibility("hidden"))); 1127 +/* export fn rx_reg_step env view ulong 16 cond view ulong 8 pol view ulong 8 dst edit ulong 8 to ulong */ 1128 +__attribute__((visibility("default"))) uint32_t omega2_rx_reg_step(uint64_t *result, const uint64_t *o_env, uint64_t o_env_len, const uint64_t *o_cond, uint64_t o_cond_len, const uint64_t *o_pol, uint64_t o_pol_len, uint64_t *o_dst, uint64_t o_dst_len) 1129 +{ 1130 + ombr_span sp[7]; 1131 + unsigned ns = 0; 1132 + uint64_t a[6] = {0}; 1133 + ombr2_out ou[6] = {{0, 0, 0}}; 1134 + unsigned no = 0; 1135 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1136 + return OMEGA_BAD_ARG; 1137 + if (ombr_span_add(sp, &ns, o_env, o_env_len, 16u, 8u, 0)) 1138 + return OMEGA_BAD_ARG; 1139 + a[0] = (uint64_t)(uintptr_t)o_env; 1140 + if (ombr_span_add(sp, &ns, o_cond, o_cond_len, 8u, 8u, 0)) 1141 + return OMEGA_BAD_ARG; 1142 + a[1] = (uint64_t)(uintptr_t)o_cond; 1143 + if (ombr_span_add(sp, &ns, o_pol, o_pol_len, 8u, 8u, 0)) 1144 + return OMEGA_BAD_ARG; 1145 + a[2] = (uint64_t)(uintptr_t)o_pol; 1146 + if (ombr_span_add(sp, &ns, o_dst, o_dst_len, 8u, 8u, 1)) 1147 + return OMEGA_BAD_ARG; 1148 + a[3] = (uint64_t)(uintptr_t)o_dst; 1149 + if (ombr2_overlap(sp, ns)) 1150 + return OMEGA_BAD_ARG; 1151 + return ombr2_run(ombr2_entry_rx_reg_step, a, result, 1, ou, no); 1152 +} 1153 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_rx_mid\n.hidden ombr2_code_rx_mid\nombr2_code_rx_mid:\n.byte 0x4e,0x00,0x00,0x14,0x55,0x00,0x00,0x14,0x6b,0x00,0x00,0x14,0x85,0x00,0x00,0x14,0x98,0x00,0x00,0x14,0xe2,0x00,0x00,0x14,0x47,0x01,0x00,0x14,0x93,0x01,0x00,0x14,0x01,0x00,0x80,0xd2,0x02,0x00,0x80,0xd2,0x5f,0x80,0x00,0xf1,0x02,0x01,0x00,0x54,0x5f,0x80,0x00,0xf1,0xe2,0x01,0x00,0x54,0x03,0x68,0x62,0x38,0x21,0x00,0x03,0xaa,0x42,0x04,0x00,0x91,0x5f,0x80,0x00,0xf1,0x43,0xff,0xff,0x54,0x3f,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x1f,0x04,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x08,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x0c,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0xc0,0x00,0xf1,0xe3,0x00,0x00,0x54,0x1f,0xe4,0x00,0xf1,0xa8,0x00,0x00,0x54,0x01,0xc0,0x00,0xd1,0x21,0x1c,0x40,0xd3,0xe0,0x03,0x01,0xaa,0xc0,0x03,0x5f,0xd6,0x1f,0x84,0x01,0xf1,0x03,0x01,0x00,0x54,0x1f,0x98,0x01,0xf1,0xc8,0x00,0x00,0x54,0x01,0x84,0x01,0xd1,0x21,0x1c,0x40,0xd3,0x20,0x28,0x00,0xb1,0xe6,0x00,0x00,0x54,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x21,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x1f,0x28,0x00,0xf1,0x82,0x00,0x00,0x54,0x00,0xc0,0x00,0x91,0x00,0x1c,0x40,0xd3,0xc0,0x03,0x5f,0xd6,0x01,0x28,0x00,0xd1,0x21,0x1c,0x40,0xd3,0x20,0x84,0x01,0x91,0x00,0x1c,0x40,0xd3,0xc0,0x03,0x5f,0xd6,0xff,0x43,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xfe,0x07,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xb6,0xff,0xff,0x97,0xfe,0x07,0x40,0xf9,0xff,0x43,0x00,0x91,0xc0,0x03,0x5f,0xd6,0x02,0x00,0x80,0xd2,0x5f,0x80,0x00,0xf1,0xc2,0x01,0x00,0x54,0x5f,0x80,0x00,0xf1,0x22,0x02,0x00,0x54,0x03,0x68,0x62,0x38,0x5f,0x80,0x00,0xf1,0xc2,0x01,0x00,0x54,0x24,0x68,0x62,0x38,0x7f,0x00,0x04,0xeb,0x60,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x42,0x04,0x00,0x91,0x5f,0x80,0x00,0xf1,0x83,0xfe,0xff,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x02,0x00,0x80,0xd2,0x5f,0x80,0x00,0xf1,0x42,0x02,0x00,0x54,0x5f,0x80,0x00,0xf1,0xa2,0x02,0x00,0x54,0x03,0x68,0x62,0x38,0x5f,0x80,0x00,0xf1,0x42,0x02,0x00,0x54,0x24,0x68,0x62,0x38,0x7f,0x00,0x04,0xeb,0x62,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x7f,0x00,0x04,0xeb,0x69,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x42,0x04,0x00,0x91,0x5f,0x80,0x00,0xf1,0x03,0xfe,0xff,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x01,0x00,0x80,0xd2,0x02,0x00,0x80,0xd2,0x5f,0x20,0x00,0xf1,0x42,0x01,0x00,0x54,0x5f,0x80,0x00,0xf1,0xa2,0x01,0x00,0x54,0x04,0x68,0x62,0x38,0xe3,0x03,0x04,0xaa,0x24,0xdc,0x78,0xd3,0x81,0x00,0x03,0xaa,0x42,0x04,0x00,0x91,0x5f,0x20,0x00,0xf1,0x03,0xff,0xff,0x54,0xe0,0x03,0x01,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xff,0x83,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xfe,0x0f,0x00,0xf9,0xe0,0x03,0x40,0xf9,0x7c,0xff,0xff,0x97,0xe3,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xfe,0x0f,0x40,0xf9,0xff,0x83,0x00,0x91,0x7f,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0xff,0x83,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xfe,0x0f,0x00,0xf9,0xe0,0x07,0x40,0xf9,0x55,0xff,0xff,0x97,0xe3,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xfe,0x0f,0x40,0xf9,0xff,0x83,0x00,0x91,0x7f,0x04,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x23,0x08,0x80,0xd2,0x43,0x00,0x00,0x39,0xa3,0x09,0x80,0xd2,0x43,0x04,0x00,0x39,0x23,0x09,0x80,0xd2,0x43,0x08,0x00,0x39,0x83,0x08,0x80,0xd2,0x43,0x0c,0x00,0x39,0x23,0x00,0x80,0xd2,0x43,0x10,0x00,0x39,0xe3,0x1f,0x80,0xd2,0x04,0x00,0x03,0x8a,0x85,0xfc,0x48,0xd3,0x45,0x03,0x00,0xb5,0x44,0x14,0x00,0x39,0x03,0x00,0x80,0xd2,0x43,0x18,0x00,0x39,0x03,0x00,0x80,0xd2,0x43,0x1c,0x00,0x39,0x03,0x00,0x80,0xd2,0x7f,0x80,0x00,0xf1,0x62,0x01,0x00,0x54,0x64,0x20,0x00,0x91,0x7f,0x80,0x00,0xf1,0xa2,0x01,0x00,0x54,0x25,0x68,0x63,0x38,0x9f,0xb0,0x00,0xf1,0x42,0x01,0x00,0x54,0x45,0x68,0x24,0x38,0x63,0x04,0x00,0x91,0x7f,0x80,0x00,0xf1,0xe3,0xfe,0xff,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xa1,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x03,0x00,0x40,0x39,0x7f,0x04,0x01,0xf1,0x60,0x00,0x00,0x54,0x40,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x03,0x04,0x40,0x39,0x7f,0x34,0x01,0xf1,0x60,0x00,0x00,0x54,0x40,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x03,0x08,0x40,0x39,0x7f,0x24,0x01,0xf1,0x60,0x00,0x00,0x54,0x40,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x03,0x0c,0x40,0x39,0x7f,0x10,0x01,0xf1,0x60,0x00,0x00,0x54,0x40,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x03,0x10,0x40,0x39,0x7f,0x04,0x00,0xf1,0x60,0x00,0x00,0x54,0x40,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x03,0x18,0x40,0x39,0x7f,0x00,0x00,0xf1,0x60,0x00,0x00,0x54,0x40,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x03,0x1c,0x40,0x39,0x7f,0x00,0x00,0xf1,0x60,0x00,0x00,0x54,0x40,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x04,0x14,0x40,0x39,0xe3,0x03,0x04,0xaa,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xfe,0x13,0x00,0xf9,0xe0,0x0f,0x40,0xf9,0x0b,0xff,0xff,0x97,0xe4,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xfe,0x13,0x40,0xf9,0xff,0xc3,0x00,0x91,0x9f,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x40,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x04,0x00,0x80,0xd2,0x9f,0x10,0x00,0xf1,0xe2,0x01,0x00,0x54,0x85,0xa0,0x00,0x91,0xbf,0xb0,0x00,0xf1,0xe2,0x04,0x00,0x54,0x06,0x68,0x65,0x38,0x9f,0x10,0x00,0xf1,0x82,0x04,0x00,0x54,0x28,0x68,0x64,0x38,0xdf,0x00,0x08,0xeb,0x60,0x00,0x00,0x54,0x60,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x84,0x04,0x00,0x91,0x9f,0x10,0x00,0xf1,0x63,0xfe,0xff,0x54,0x04,0x00,0x80,0xd2,0x05,0x00,0x80,0xd2,0xbf,0x80,0x00,0xf1,0xa2,0x01,0x00,0x54,0xa8,0x20,0x00,0x91,0x1f,0xb1,0x00,0xf1,0xa2,0x02,0x00,0x54,0x06,0x68,0x68,0x38,0x84,0x00,0x06,0xaa,0xa8,0x04,0x00,0x91,0x1f,0x85,0x00,0xf1,0x02,0x02,0x00,0x54,0x46,0x68,0x28,0x38,0xa5,0x04,0x00,0x91,0xbf,0x80,0x00,0xf1,0xa3,0xfe,0xff,0x54,0x9f,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x05,0x14,0x40,0x39,0x45,0x00,0x00,0x39,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x02,0x00,0x80,0xd2,0x5f,0xb0,0x00,0xf1,0xa2,0x08,0x00,0x54,0x5f,0xb0,0x00,0xf1,0xe2,0x08,0x00,0x54,0x03,0x68,0x62,0x38,0x64,0xfc,0x44,0xd3,0xe6,0x01,0x80,0xd2,0x65,0x00,0x06,0x8a,0x46,0x00,0x80,0xd2,0x48,0x7c,0x06,0x9b,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xfe,0x23,0x00,0xf9,0xe0,0x13,0x40,0xf9,0xe1,0xfe,0xff,0x97,0xe9,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xfe,0x23,0x40,0xf9,0xff,0x43,0x01,0x91,0x1f,0x61,0x01,0xf1,0x02,0x05,0x00,0x54,0x29,0x68,0x28,0x38,0x46,0x00,0x80,0xd2,0x48,0x7c,0x06,0x9b,0x09,0x05,0x00,0x91,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xfe,0x27,0x00,0xf9,0xe0,0x17,0x40,0xf9,0xc3,0xfe,0xff,0x97,0xea,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xfe,0x27,0x40,0xf9,0xff,0x43,0x01,0x91,0x3f,0x61,0x01,0xf1,0x22,0x01,0x00,0x54,0x2a,0x68,0x29,0x38,0x42,0x04,0x00,0x91,0x5f,0xb0,0x00,0xf1,0xa3,0xf7,0xff,0x54,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x02,0x00,0x80,0xd2,0x5f,0xb0,0x00,0xf1,0x22,0x09,0x00,0x54,0x44,0x00,0x80,0xd2,0x45,0x7c,0x04,0x9b,0xbf,0x60,0x01,0xf1,0x42,0x09,0x00,0x54,0x06,0x68,0x65,0x38,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xfe,0x1f,0x00,0xf9,0xe0,0x1b,0x40,0xf9,0x80,0xfe,0xff,0x97,0xe3,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xfe,0x1f,0x40,0xf9,0xff,0x03,0x01,0x91,0x7f,0x00,0x00,0xf1,0x6a,0x00,0x00,0x54,0x40,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x45,0x00,0x80,0xd2,0x46,0x7c,0x05,0x9b,0xc8,0x04,0x00,0x91,0x1f,0x61,0x01,0xf1,0xe2,0x05,0x00,0x54,0x09,0x68,0x68,0x38,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xfe,0x27,0x00,0xf9,0xe0,0x23,0x40,0xf9,0x63,0xfe,0xff,0x97,0xe4,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xfe,0x27,0x40,0xf9,0xff,0x43,0x01,0x91,0x9f,0x00,0x00,0xf1,0x6a,0x00,0x00,0x54,0x40,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0x66,0xfc,0x7f,0xd3,0xc6,0x02,0x00,0xb5,0x68,0xec,0x7c,0xd3,0x89,0xfc,0x7f,0xd3,0x69,0x02,0x00,0xb5,0x05,0x01,0x04,0xaa,0xe6,0x1f,0x80,0xd2,0xa8,0x00,0x06,0x8a,0x09,0xfd,0x48,0xd3,0xc9,0x01,0x00,0xb5,0x5f,0xb0,0x00,0xf1,0x42,0x01,0x00,0x54,0x28,0x68,0x22,0x38,0x42,0x04,0x00,0x91,0x5f,0xb0,0x00,0xf1,0x23,0xf7,0xff,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xa1,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17\n.previous\n"); 1154 +static const char ombr2_ident_rx_mid[] = "omega-ident 1 unit=rx_mid abi=2 profile=OM-2 src=`4959ddf61f6015f6f5bce857b12a16f50d94b8278ccde25c8e931ce3b5c98887` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`"; 1155 +__attribute__((visibility("default"))) const char *omega2_ident_rx_mid(void) 1156 +{ 1157 + return ombr2_ident_rx_mid; 1158 +} 1159 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_mid_is_zero\n.hidden ombr2_entry_rx_mid_is_zero\nombr2_entry_rx_mid_is_zero:\nhint #34\nb ombr2_code_rx_mid+0\n.previous\n"); 1160 +extern const unsigned char ombr2_entry_rx_mid_is_zero[] __attribute__((visibility("hidden"))); 1161 +/* export fn rx_mid_is_zero buf view uchar 32 to ulong */ 1162 +__attribute__((visibility("default"))) uint32_t omega2_rx_mid_is_zero(uint64_t *result, const uint8_t *o_buf, uint64_t o_buf_len) 1163 +{ 1164 + ombr_span sp[7]; 1165 + unsigned ns = 0; 1166 + uint64_t a[6] = {0}; 1167 + ombr2_out ou[6] = {{0, 0, 0}}; 1168 + unsigned no = 0; 1169 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1170 + return OMEGA_BAD_ARG; 1171 + if (ombr_span_add(sp, &ns, o_buf, o_buf_len, 32u, 1u, 0)) 1172 + return OMEGA_BAD_ARG; 1173 + a[0] = (uint64_t)(uintptr_t)o_buf; 1174 + if (ombr2_overlap(sp, ns)) 1175 + return OMEGA_BAD_ARG; 1176 + return ombr2_run(ombr2_entry_rx_mid_is_zero, a, result, 1, ou, no); 1177 +} 1178 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_mid_equal\n.hidden ombr2_entry_rx_mid_equal\nombr2_entry_rx_mid_equal:\nhint #34\nb ombr2_code_rx_mid+4\n.previous\n"); 1179 +extern const unsigned char ombr2_entry_rx_mid_equal[] __attribute__((visibility("hidden"))); 1180 +/* export fn rx_mid_equal a view uchar 32 b view uchar 32 to ulong */ 1181 +__attribute__((visibility("default"))) uint32_t omega2_rx_mid_equal(uint64_t *result, const uint8_t *o_a, uint64_t o_a_len, const uint8_t *o_b, uint64_t o_b_len) 1182 +{ 1183 + ombr_span sp[7]; 1184 + unsigned ns = 0; 1185 + uint64_t a[6] = {0}; 1186 + ombr2_out ou[6] = {{0, 0, 0}}; 1187 + unsigned no = 0; 1188 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1189 + return OMEGA_BAD_ARG; 1190 + if (ombr_span_add(sp, &ns, o_a, o_a_len, 32u, 1u, 0)) 1191 + return OMEGA_BAD_ARG; 1192 + a[0] = (uint64_t)(uintptr_t)o_a; 1193 + if (ombr_span_add(sp, &ns, o_b, o_b_len, 32u, 1u, 0)) 1194 + return OMEGA_BAD_ARG; 1195 + a[1] = (uint64_t)(uintptr_t)o_b; 1196 + if (ombr2_overlap(sp, ns)) 1197 + return OMEGA_BAD_ARG; 1198 + return ombr2_run(ombr2_entry_rx_mid_equal, a, result, 1, ou, no); 1199 +} 1200 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_mid_compare\n.hidden ombr2_entry_rx_mid_compare\nombr2_entry_rx_mid_compare:\nhint #34\nb ombr2_code_rx_mid+8\n.previous\n"); 1201 +extern const unsigned char ombr2_entry_rx_mid_compare[] __attribute__((visibility("hidden"))); 1202 +/* export fn rx_mid_compare a view uchar 32 b view uchar 32 to long */ 1203 +__attribute__((visibility("default"))) uint32_t omega2_rx_mid_compare(uint64_t *result, const uint8_t *o_a, uint64_t o_a_len, const uint8_t *o_b, uint64_t o_b_len) 1204 +{ 1205 + ombr_span sp[7]; 1206 + unsigned ns = 0; 1207 + uint64_t a[6] = {0}; 1208 + ombr2_out ou[6] = {{0, 0, 0}}; 1209 + unsigned no = 0; 1210 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1211 + return OMEGA_BAD_ARG; 1212 + if (ombr_span_add(sp, &ns, o_a, o_a_len, 32u, 1u, 0)) 1213 + return OMEGA_BAD_ARG; 1214 + a[0] = (uint64_t)(uintptr_t)o_a; 1215 + if (ombr_span_add(sp, &ns, o_b, o_b_len, 32u, 1u, 0)) 1216 + return OMEGA_BAD_ARG; 1217 + a[1] = (uint64_t)(uintptr_t)o_b; 1218 + if (ombr2_overlap(sp, ns)) 1219 + return OMEGA_BAD_ARG; 1220 + return ombr2_run(ombr2_entry_rx_mid_compare, a, result, 1, ou, no); 1221 +} 1222 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_mid_hash\n.hidden ombr2_entry_rx_mid_hash\nombr2_entry_rx_mid_hash:\nhint #34\nb ombr2_code_rx_mid+12\n.previous\n"); 1223 +extern const unsigned char ombr2_entry_rx_mid_hash[] __attribute__((visibility("hidden"))); 1224 +/* export fn rx_mid_hash buf view uchar 32 to ulong */ 1225 +__attribute__((visibility("default"))) uint32_t omega2_rx_mid_hash(uint64_t *result, const uint8_t *o_buf, uint64_t o_buf_len) 1226 +{ 1227 + ombr_span sp[7]; 1228 + unsigned ns = 0; 1229 + uint64_t a[6] = {0}; 1230 + ombr2_out ou[6] = {{0, 0, 0}}; 1231 + unsigned no = 0; 1232 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1233 + return OMEGA_BAD_ARG; 1234 + if (ombr_span_add(sp, &ns, o_buf, o_buf_len, 32u, 1u, 0)) 1235 + return OMEGA_BAD_ARG; 1236 + a[0] = (uint64_t)(uintptr_t)o_buf; 1237 + if (ombr2_overlap(sp, ns)) 1238 + return OMEGA_BAD_ARG; 1239 + return ombr2_run(ombr2_entry_rx_mid_hash, a, result, 1, ou, no); 1240 +} 1241 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_mid_pack_hdr\n.hidden ombr2_entry_rx_mid_pack_hdr\nombr2_entry_rx_mid_pack_hdr:\nhint #34\nb ombr2_code_rx_mid+16\n.previous\n"); 1242 +extern const unsigned char ombr2_entry_rx_mid_pack_hdr[] __attribute__((visibility("hidden"))); 1243 +/* export fn rx_mid_pack_hdr root ulong id view uchar 32 rec edit uchar 44 to long */ 1244 +__attribute__((visibility("default"))) uint32_t omega2_rx_mid_pack_hdr(uint64_t *result, uint64_t o_root, const uint8_t *o_id, uint64_t o_id_len, uint8_t *o_rec, uint64_t o_rec_len) 1245 +{ 1246 + ombr_span sp[7]; 1247 + unsigned ns = 0; 1248 + uint64_t a[6] = {0}; 1249 + ombr2_out ou[6] = {{0, 0, 0}}; 1250 + unsigned no = 0; 1251 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1252 + return OMEGA_BAD_ARG; 1253 + a[0] = o_root; 1254 + if (ombr_span_add(sp, &ns, o_id, o_id_len, 32u, 1u, 0)) 1255 + return OMEGA_BAD_ARG; 1256 + a[1] = (uint64_t)(uintptr_t)o_id; 1257 + if (ombr_span_add(sp, &ns, o_rec, o_rec_len, 44u, 1u, 1)) 1258 + return OMEGA_BAD_ARG; 1259 + a[2] = (uint64_t)(uintptr_t)o_rec; 1260 + if (ombr2_overlap(sp, ns)) 1261 + return OMEGA_BAD_ARG; 1262 + return ombr2_run(ombr2_entry_rx_mid_pack_hdr, a, result, 1, ou, no); 1263 +} 1264 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_mid_val_rec\n.hidden ombr2_entry_rx_mid_val_rec\nombr2_entry_rx_mid_val_rec:\nhint #34\nb ombr2_code_rx_mid+20\n.previous\n"); 1265 +extern const unsigned char ombr2_entry_rx_mid_val_rec[] __attribute__((visibility("hidden"))); 1266 +/* export fn rx_mid_val_rec rec view uchar 44 chk view uchar 4 dst edit uchar 33 to long */ 1267 +__attribute__((visibility("default"))) uint32_t omega2_rx_mid_val_rec(uint64_t *result, const uint8_t *o_rec, uint64_t o_rec_len, const uint8_t *o_chk, uint64_t o_chk_len, uint8_t *o_dst, uint64_t o_dst_len) 1268 +{ 1269 + ombr_span sp[7]; 1270 + unsigned ns = 0; 1271 + uint64_t a[6] = {0}; 1272 + ombr2_out ou[6] = {{0, 0, 0}}; 1273 + unsigned no = 0; 1274 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1275 + return OMEGA_BAD_ARG; 1276 + if (ombr_span_add(sp, &ns, o_rec, o_rec_len, 44u, 1u, 0)) 1277 + return OMEGA_BAD_ARG; 1278 + a[0] = (uint64_t)(uintptr_t)o_rec; 1279 + if (ombr_span_add(sp, &ns, o_chk, o_chk_len, 4u, 1u, 0)) 1280 + return OMEGA_BAD_ARG; 1281 + a[1] = (uint64_t)(uintptr_t)o_chk; 1282 + if (ombr_span_add(sp, &ns, o_dst, o_dst_len, 33u, 1u, 1)) 1283 + return OMEGA_BAD_ARG; 1284 + a[2] = (uint64_t)(uintptr_t)o_dst; 1285 + if (ombr2_overlap(sp, ns)) 1286 + return OMEGA_BAD_ARG; 1287 + return ombr2_run(ombr2_entry_rx_mid_val_rec, a, result, 1, ou, no); 1288 +} 1289 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_mid_to_hex\n.hidden ombr2_entry_rx_mid_to_hex\nombr2_entry_rx_mid_to_hex:\nhint #34\nb ombr2_code_rx_mid+24\n.previous\n"); 1290 +extern const unsigned char ombr2_entry_rx_mid_to_hex[] __attribute__((visibility("hidden"))); 1291 +/* export fn rx_mid_to_hex rec view uchar 44 hex edit uchar 88 to void */ 1292 +__attribute__((visibility("default"))) uint32_t omega2_rx_mid_to_hex(uint64_t *result, const uint8_t *o_rec, uint64_t o_rec_len, uint8_t *o_hex, uint64_t o_hex_len) 1293 +{ 1294 + ombr_span sp[7]; 1295 + unsigned ns = 0; 1296 + uint64_t a[6] = {0}; 1297 + ombr2_out ou[6] = {{0, 0, 0}}; 1298 + unsigned no = 0; 1299 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1300 + return OMEGA_BAD_ARG; 1301 + if (ombr_span_add(sp, &ns, o_rec, o_rec_len, 44u, 1u, 0)) 1302 + return OMEGA_BAD_ARG; 1303 + a[0] = (uint64_t)(uintptr_t)o_rec; 1304 + if (ombr_span_add(sp, &ns, o_hex, o_hex_len, 88u, 1u, 1)) 1305 + return OMEGA_BAD_ARG; 1306 + a[1] = (uint64_t)(uintptr_t)o_hex; 1307 + if (ombr2_overlap(sp, ns)) 1308 + return OMEGA_BAD_ARG; 1309 + return ombr2_run(ombr2_entry_rx_mid_to_hex, a, result, 0, ou, no); 1310 +} 1311 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_mid_from_hex\n.hidden ombr2_entry_rx_mid_from_hex\nombr2_entry_rx_mid_from_hex:\nhint #34\nb ombr2_code_rx_mid+28\n.previous\n"); 1312 +extern const unsigned char ombr2_entry_rx_mid_from_hex[] __attribute__((visibility("hidden"))); 1313 +/* export fn rx_mid_from_hex hex view uchar 88 rec edit uchar 44 to long */ 1314 +__attribute__((visibility("default"))) uint32_t omega2_rx_mid_from_hex(uint64_t *result, const uint8_t *o_hex, uint64_t o_hex_len, uint8_t *o_rec, uint64_t o_rec_len) 1315 +{ 1316 + ombr_span sp[7]; 1317 + unsigned ns = 0; 1318 + uint64_t a[6] = {0}; 1319 + ombr2_out ou[6] = {{0, 0, 0}}; 1320 + unsigned no = 0; 1321 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1322 + return OMEGA_BAD_ARG; 1323 + if (ombr_span_add(sp, &ns, o_hex, o_hex_len, 88u, 1u, 0)) 1324 + return OMEGA_BAD_ARG; 1325 + a[0] = (uint64_t)(uintptr_t)o_hex; 1326 + if (ombr_span_add(sp, &ns, o_rec, o_rec_len, 44u, 1u, 1)) 1327 + return OMEGA_BAD_ARG; 1328 + a[1] = (uint64_t)(uintptr_t)o_rec; 1329 + if (ombr2_overlap(sp, ns)) 1330 + return OMEGA_BAD_ARG; 1331 + return ombr2_run(ombr2_entry_rx_mid_from_hex, a, result, 1, ou, no); 1332 +} 1333 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_rx_cortex_rec\n.hidden ombr2_code_rx_cortex_rec\nombr2_code_rx_cortex_rec:\n.byte 0x03,0x00,0x00,0x14,0x40,0x00,0x00,0x14,0x64,0x00,0x00,0x14,0x02,0x00,0x80,0xd2,0x22,0x08,0x00,0xf9,0x1f,0x08,0x00,0xf1,0x21,0x01,0x00,0x54,0x62,0x00,0x80,0xd2,0x22,0x00,0x00,0xf9,0x22,0x00,0x80,0xd2,0x22,0x00,0xa0,0xf2,0x22,0x04,0x00,0xf9,0x22,0x00,0x80,0xd2,0x22,0x08,0x00,0xf9,0xc0,0x03,0x5f,0xd6,0x1f,0x04,0x00,0xf1,0xe1,0x00,0x00,0x54,0x22,0x00,0x80,0xd2,0x22,0x00,0x00,0xf9,0x42,0x00,0x80,0xd2,0x22,0x00,0xa0,0xf2,0x22,0x04,0x00,0xf9,0xc0,0x03,0x5f,0xd6,0x1f,0x24,0x00,0xf1,0xe1,0x00,0x00,0x54,0x22,0x00,0x80,0xd2,0x22,0x00,0x00,0xf9,0x62,0x00,0x80,0xd2,0x22,0x00,0xa0,0xf2,0x22,0x04,0x00,0xf9,0xc0,0x03,0x5f,0xd6,0x1f,0x0c,0x00,0xf1,0x21,0x01,0x00,0x54,0x82,0x00,0x80,0xd2,0x22,0x00,0x00,0xf9,0x82,0x00,0x80,0xd2,0x22,0x00,0xa0,0xf2,0x22,0x04,0x00,0xf9,0x42,0x00,0x80,0xd2,0x22,0x08,0x00,0xf9,0xc0,0x03,0x5f,0xd6,0x1f,0x20,0x00,0xf1,0xe1,0x00,0x00,0x54,0x82,0x00,0x80,0xd2,0x22,0x00,0x00,0xf9,0xa2,0x00,0x80,0xd2,0x22,0x00,0xa0,0xf2,0x22,0x04,0x00,0xf9,0xc0,0x03,0x5f,0xd6,0x1f,0x14,0x00,0xf1,0x21,0x01,0x00,0x54,0xa2,0x00,0x80,0xd2,0x22,0x00,0x00,0xf9,0xc2,0x00,0x80,0xd2,0x22,0x00,0xa0,0xf2,0x22,0x04,0x00,0xf9,0x22,0x00,0x80,0xd2,0x22,0x08,0x00,0xf9,0xc0,0x03,0x5f,0xd6,0xa2,0x00,0x80,0xd2,0x22,0x00,0x00,0xf9,0xc2,0x00,0x80,0xd2,0x22,0x00,0xa0,0xf2,0x22,0x04,0x00,0xf9,0xc0,0x03,0x5f,0xd6,0x02,0x00,0x80,0xd2,0x5f,0x10,0x00,0xf1,0x62,0x03,0x00,0x54,0x03,0x00,0x80,0xd2,0x05,0x01,0x80,0xd2,0x44,0x7c,0x05,0x9b,0x05,0x00,0x80,0xd2,0xbf,0x20,0x00,0xf1,0xe2,0x01,0x00,0x54,0x88,0x00,0x05,0x8b,0x1f,0x81,0x00,0xf1,0xc2,0x02,0x00,0x54,0x09,0x68,0x68,0x38,0xe6,0x03,0x09,0xaa,0x08,0x01,0x80,0xd2,0xa9,0x7c,0x08,0x9b,0x3f,0x01,0x01,0xf1,0x42,0x02,0x00,0x54,0xca,0x20,0xc9,0x9a,0x63,0x00,0x0a,0xaa,0xa5,0x04,0x00,0x91,0xbf,0x20,0x00,0xf1,0x63,0xfe,0xff,0x54,0x5f,0x10,0x00,0xf1,0x22,0x01,0x00,0x54,0x23,0x78,0x22,0xf8,0x42,0x04,0x00,0x91,0x5f,0x10,0x00,0xf1,0xe3,0xfc,0xff,0x54,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xe1,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0xe5,0x03,0x04,0xaa,0xbf,0x20,0x00,0xf1,0x49,0x00,0x00,0x54,0x05,0x01,0x80,0xd2,0x06,0x00,0x80,0xd2,0x1f,0x00,0x00,0xf1,0xe0,0x00,0x00,0x54,0xdf,0x00,0x05,0xeb,0xa2,0x00,0x00,0x54,0xdf,0x20,0x00,0xf1,0xe2,0x06,0x00,0x54,0x60,0x78,0x26,0xf8,0xc6,0x04,0x00,0x91,0xe8,0x03,0x02,0xaa,0x1f,0x01,0x10,0xf1,0x49,0x00,0x00,0x54,0x08,0x80,0x80,0xd2,0x09,0x00,0x80,0xd2,0x0a,0x00,0x80,0xd2,0x3f,0x01,0x08,0xeb,0x02,0x05,0x00,0x54,0x5f,0x01,0x10,0xf1,0xa2,0x05,0x00,0x54,0x4a,0x05,0x00,0x91,0xdf,0x00,0x05,0xeb,0x43,0x00,0x00,0x54,0x4e,0x04,0x00,0x54,0x3f,0x01,0x02,0xeb,0xa2,0x04,0x00,0x54,0x2b,0x78,0x69,0xf8,0x7f,0x01,0x00,0xf1,0x41,0x00,0x00,0x54,0x2e,0x03,0x00,0x54,0x0c,0x00,0x80,0xd2,0x0d,0x00,0x80,0xd2,0x0e,0x00,0x80,0xd2,0xbf,0x01,0x06,0xeb,0xc2,0x01,0x00,0x54,0xdf,0x21,0x00,0xf1,0x82,0x03,0x00,0x54,0xce,0x05,0x00,0x91,0xbf,0x21,0x00,0xf1,0xe2,0x02,0x00,0x54,0x6f,0x78,0x6d,0xf8,0xff,0x01,0x0b,0xeb,0x61,0x00,0x00,0x54,0x2c,0x00,0x80,0xd2,0x8e,0x00,0x00,0x54,0xad,0x05,0x00,0x91,0xbf,0x01,0x06,0xeb,0x83,0xfe,0xff,0x54,0x9f,0x01,0x00,0xf1,0xa1,0x00,0x00,0x54,0xdf,0x20,0x00,0xf1,0x62,0x01,0x00,0x54,0x6b,0x78,0x26,0xf8,0xc6,0x04,0x00,0x91,0x29,0x05,0x00,0x91,0x3f,0x01,0x08,0xeb,0x43,0xfb,0xff,0x54,0xe0,0x03,0x06,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17\n.previous\n"); 1334 +static const char ombr2_ident_rx_cortex_rec[] = "omega-ident 1 unit=rx_cortex_rec abi=2 profile=OM-2 src=`29f832bab2e55623345ca382b60578677859133221533468fdd79068ab46459a` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`"; 1335 +__attribute__((visibility("default"))) const char *omega2_ident_rx_cortex_rec(void) 1336 +{ 1337 + return ombr2_ident_rx_cortex_rec; 1338 +} 1339 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_cx_kind_of\n.hidden ombr2_entry_rx_cx_kind_of\nombr2_entry_rx_cx_kind_of:\nhint #34\nb ombr2_code_rx_cortex_rec+0\n.previous\n"); 1340 +extern const unsigned char ombr2_entry_rx_cx_kind_of[] __attribute__((visibility("hidden"))); 1341 +/* export fn rx_cx_kind_of ckind ulong dst edit ulong 4 to void */ 1342 +__attribute__((visibility("default"))) uint32_t omega2_rx_cx_kind_of(uint64_t *result, uint64_t o_ckind, uint64_t *o_dst, uint64_t o_dst_len) 1343 +{ 1344 + ombr_span sp[7]; 1345 + unsigned ns = 0; 1346 + uint64_t a[6] = {0}; 1347 + ombr2_out ou[6] = {{0, 0, 0}}; 1348 + unsigned no = 0; 1349 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1350 + return OMEGA_BAD_ARG; 1351 + a[0] = o_ckind; 1352 + if (ombr_span_add(sp, &ns, o_dst, o_dst_len, 4u, 8u, 1)) 1353 + return OMEGA_BAD_ARG; 1354 + a[1] = (uint64_t)(uintptr_t)o_dst; 1355 + if (ombr2_overlap(sp, ns)) 1356 + return OMEGA_BAD_ARG; 1357 + return ombr2_run(ombr2_entry_rx_cx_kind_of, a, result, 0, ou, no); 1358 +} 1359 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_cx_pack_digest\n.hidden ombr2_entry_rx_cx_pack_digest\nombr2_entry_rx_cx_pack_digest:\nhint #34\nb ombr2_code_rx_cortex_rec+4\n.previous\n"); 1360 +extern const unsigned char ombr2_entry_rx_cx_pack_digest[] __attribute__((visibility("hidden"))); 1361 +/* export fn rx_cx_pack_digest dig view uchar 32 dst edit ulong 4 to void */ 1362 +__attribute__((visibility("default"))) uint32_t omega2_rx_cx_pack_digest(uint64_t *result, const uint8_t *o_dig, uint64_t o_dig_len, uint64_t *o_dst, uint64_t o_dst_len) 1363 +{ 1364 + ombr_span sp[7]; 1365 + unsigned ns = 0; 1366 + uint64_t a[6] = {0}; 1367 + ombr2_out ou[6] = {{0, 0, 0}}; 1368 + unsigned no = 0; 1369 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1370 + return OMEGA_BAD_ARG; 1371 + if (ombr_span_add(sp, &ns, o_dig, o_dig_len, 32u, 1u, 0)) 1372 + return OMEGA_BAD_ARG; 1373 + a[0] = (uint64_t)(uintptr_t)o_dig; 1374 + if (ombr_span_add(sp, &ns, o_dst, o_dst_len, 4u, 8u, 1)) 1375 + return OMEGA_BAD_ARG; 1376 + a[1] = (uint64_t)(uintptr_t)o_dst; 1377 + if (ombr2_overlap(sp, ns)) 1378 + return OMEGA_BAD_ARG; 1379 + return ombr2_run(ombr2_entry_rx_cx_pack_digest, a, result, 0, ou, no); 1380 +} 1381 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_cx_dedup_links\n.hidden ombr2_entry_rx_cx_dedup_links\nombr2_entry_rx_cx_dedup_links:\nhint #34\nb ombr2_code_rx_cortex_rec+8\n.previous\n"); 1382 +extern const unsigned char ombr2_entry_rx_cx_dedup_links[] __attribute__((visibility("hidden"))); 1383 +/* export fn rx_cx_dedup_links cause ulong parents view ulong * dst edit ulong 8 max_links ulong to ulong */ 1384 +__attribute__((visibility("default"))) uint32_t omega2_rx_cx_dedup_links(uint64_t *result, uint64_t o_cause, const uint64_t *o_parents, uint64_t o_parents_len, uint64_t *o_dst, uint64_t o_dst_len, uint64_t o_max_links) 1385 +{ 1386 + ombr_span sp[7]; 1387 + unsigned ns = 0; 1388 + uint64_t a[6] = {0}; 1389 + ombr2_out ou[6] = {{0, 0, 0}}; 1390 + unsigned no = 0; 1391 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1392 + return OMEGA_BAD_ARG; 1393 + a[0] = o_cause; 1394 + if (ombr2_view(sp, &ns, o_parents, o_parents_len, 8u, 0)) 1395 + return OMEGA_BAD_ARG; 1396 + a[1] = (uint64_t)(uintptr_t)o_parents; 1397 + a[2] = o_parents_len; 1398 + if (ombr_span_add(sp, &ns, o_dst, o_dst_len, 8u, 8u, 1)) 1399 + return OMEGA_BAD_ARG; 1400 + a[3] = (uint64_t)(uintptr_t)o_dst; 1401 + a[4] = o_max_links; 1402 + if (ombr2_overlap(sp, ns)) 1403 + return OMEGA_BAD_ARG; 1404 + return ombr2_run(ombr2_entry_rx_cx_dedup_links, a, result, 1, ou, no); 1405 +} 1406 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_rx_plan_core\n.hidden ombr2_code_rx_plan_core\nombr2_code_rx_plan_core:\n.byte 0x04,0x00,0x00,0x14,0x24,0x00,0x00,0x14,0x3e,0x00,0x00,0x14,0x94,0x00,0x00,0x14,0x3f,0x10,0x00,0xf1,0x63,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x03,0x01,0x80,0xd2,0x22,0x7c,0x03,0x9b,0x03,0x00,0x80,0xd2,0x04,0x00,0x80,0xd2,0x9f,0x20,0x00,0xf1,0xe2,0x01,0x00,0x54,0x46,0x00,0x04,0x8b,0xdf,0x80,0x00,0xf1,0x22,0x02,0x00,0x54,0x08,0x68,0x66,0x38,0xe5,0x03,0x08,0xaa,0x06,0x01,0x80,0xd2,0x88,0x7c,0x06,0x9b,0x1f,0x01,0x01,0xf1,0xa2,0x01,0x00,0x54,0xa9,0x20,0xc8,0x9a,0x63,0x00,0x09,0xaa,0x84,0x04,0x00,0x91,0x9f,0x20,0x00,0xf1,0x63,0xfe,0xff,0x54,0xe0,0x03,0x03,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xe1,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x26,0x00,0x80,0xd2,0xc8,0x00,0x41,0xd3,0xe9,0x1f,0x80,0xd2,0x0a,0x00,0x09,0x8a,0x05,0x01,0x0a,0xaa,0xe6,0xff,0x9f,0xd2,0xe6,0x1f,0xa0,0xf2,0x28,0x00,0x06,0x8a,0x09,0xdd,0x78,0xd3,0xa5,0x00,0x09,0xaa,0x5f,0x00,0x00,0xf1,0xa0,0x00,0x00,0x54,0x26,0x00,0x80,0xd2,0xc8,0x04,0x42,0xd3,0xa0,0x00,0x08,0xaa,0xc0,0x03,0x5f,0xd6,0xe6,0x1f,0x80,0xd2,0x68,0x00,0x06,0x8a,0x09,0x7d,0x60,0xd3,0xa5,0x00,0x09,0xaa,0xe6,0xff,0x9f,0xd2,0xe6,0x07,0xa0,0xf2,0x88,0x00,0x06,0x8a,0x09,0x5d,0x58,0xd3,0xa5,0x00,0x09,0xaa,0xe0,0x03,0x05,0xaa,0xc0,0x03,0x5f,0xd6,0xe2,0x1f,0x80,0xd2,0x03,0x00,0x02,0x8a,0x23,0x00,0x00,0xf9,0x02,0xfc,0x48,0xd3,0xe3,0xff,0x9f,0xd2,0xe3,0x1f,0xa0,0xf2,0x44,0x00,0x03,0x8a,0x24,0x04,0x00,0xf9,0x02,0xfc,0x7e,0xd3,0x23,0x00,0x80,0xd2,0x44,0x00,0x03,0x8a,0x24,0x08,0x00,0xf9,0x02,0xfc,0x60,0xd3,0xe3,0x1f,0x80,0xd2,0x44,0x00,0x03,0x8a,0x24,0x0c,0x00,0xf9,0x02,0xfc,0x68,0xd3,0xe3,0xff,0x9f,0xd2,0xe3,0x07,0xa0,0xf2,0x44,0x00,0x03,0x8a,0x24,0x10,0x00,0xf9,0xc0,0x03,0x5f,0xd6,0xc4,0x00,0x80,0xd2,0x23,0x7c,0x04,0x9b,0xc5,0x00,0x80,0xd2,0x44,0x7c,0x05,0x9b,0x05,0x00,0x80,0xd2,0xbf,0x18,0x00,0xf1,0x82,0x02,0x00,0x54,0x68,0x00,0x05,0x8b,0x1f,0x81,0x04,0xf1,0xc2,0x02,0x00,0x54,0x06,0x78,0x68,0xf8,0x89,0x00,0x05,0x8b,0x3f,0x81,0x04,0xf1,0x42,0x02,0x00,0x54,0x08,0x78,0x69,0xf8,0xdf,0x00,0x08,0xeb,0x69,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xdf,0x00,0x08,0xeb,0x62,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xa5,0x04,0x00,0x91,0xbf,0x18,0x00,0xf1,0xc3,0xfd,0xff,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xc4,0x00,0x80,0xd2,0x23,0x7c,0x04,0x9b,0xc5,0x00,0x80,0xd2,0x44,0x7c,0x05,0x9b,0x05,0x00,0x80,0xd2,0xbf,0x18,0x00,0xf1,0x82,0x02,0x00,0x54,0x68,0x00,0x05,0x8b,0x1f,0x81,0x04,0xf1,0xa2,0x02,0x00,0x54,0x06,0x78,0x68,0xf8,0x68,0x00,0x05,0x8b,0x89,0x00,0x05,0x8b,0x3f,0x81,0x04,0xf1,0x02,0x02,0x00,0x54,0x0a,0x78,0x69,0xf8,0x1f,0x81,0x04,0xf1,0xa2,0x01,0x00,0x54,0x0a,0x78,0x28,0xf8,0x88,0x00,0x05,0x8b,0x1f,0x81,0x04,0xf1,0x22,0x01,0x00,0x54,0x06,0x78,0x28,0xf8,0xa5,0x04,0x00,0x91,0xbf,0x18,0x00,0xf1,0xc3,0xfd,0xff,0x54,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x3f,0x04,0x00,0xf1,0x48,0x00,0x00,0x54,0xc0,0x03,0x5f,0xd6,0xe2,0x03,0x01,0xaa,0x5f,0xc0,0x00,0xf1,0x49,0x00,0x00,0x54,0x02,0x06,0x80,0xd2,0x23,0x00,0x80,0xd2,0x04,0x00,0x80,0xd2,0x7f,0x00,0x02,0xeb,0x82,0x08,0x00,0x54,0x9f,0xc0,0x00,0xf1,0xc2,0x08,0x00,0x54,0x84,0x04,0x00,0x91,0xe5,0x03,0x03,0xaa,0x06,0x00,0x80,0xd2,0xbf,0x00,0x00,0xf1,0x69,0x07,0x00,0x54,0xdf,0xc0,0x00,0xf1,0xe2,0x07,0x00,0x54,0xc6,0x04,0x00,0x91,0xa8,0x04,0x00,0xd1,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xfe,0x23,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x1f,0x40,0xf9,0xe2,0x17,0x40,0xf9,0x9c,0xff,0xff,0x97,0xe9,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xfe,0x23,0x40,0xf9,0xff,0x43,0x01,0x91,0x3f,0x01,0x00,0xf1,0x41,0x00,0x00,0x54,0x6e,0x03,0x00,0x54,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xfe,0x23,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x1f,0x40,0xf9,0xe2,0x17,0x40,0xf9,0xa1,0xff,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xfe,0x23,0x40,0xf9,0xff,0x43,0x01,0x91,0xe5,0x03,0x08,0xaa,0xc5,0xff,0xff,0x17,0x63,0x04,0x00,0x91,0xbc,0xff,0xff,0x17,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x81,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17\n.previous\n"); 1407 +static const char ombr2_ident_rx_plan_core[] = "omega-ident 1 unit=rx_plan_core abi=2 profile=OM-2 src=`4230535f0ff37d7e9996e4dc56f2c8a4c605f7bf9b31b0bdf89ed8d4c808157a` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`"; 1408 +__attribute__((visibility("default"))) const char *omega2_ident_rx_plan_core(void) 1409 +{ 1410 + return ombr2_ident_rx_plan_core; 1411 +} 1412 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_pl_word\n.hidden ombr2_entry_rx_pl_word\nombr2_entry_rx_pl_word:\nhint #34\nb ombr2_code_rx_plan_core+0\n.previous\n"); 1413 +extern const unsigned char ombr2_entry_rx_pl_word[] __attribute__((visibility("hidden"))); 1414 +/* export fn rx_pl_word dig view uchar 32 k ulong to ulong */ 1415 +__attribute__((visibility("default"))) uint32_t omega2_rx_pl_word(uint64_t *result, const uint8_t *o_dig, uint64_t o_dig_len, uint64_t o_k) 1416 +{ 1417 + ombr_span sp[7]; 1418 + unsigned ns = 0; 1419 + uint64_t a[6] = {0}; 1420 + ombr2_out ou[6] = {{0, 0, 0}}; 1421 + unsigned no = 0; 1422 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1423 + return OMEGA_BAD_ARG; 1424 + if (ombr_span_add(sp, &ns, o_dig, o_dig_len, 32u, 1u, 0)) 1425 + return OMEGA_BAD_ARG; 1426 + a[0] = (uint64_t)(uintptr_t)o_dig; 1427 + a[1] = o_k; 1428 + if (ombr2_overlap(sp, ns)) 1429 + return OMEGA_BAD_ARG; 1430 + return ombr2_run(ombr2_entry_rx_pl_word, a, result, 1, ou, no); 1431 +} 1432 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_pla_fact_pack\n.hidden ombr2_entry_rx_pla_fact_pack\nombr2_entry_rx_pla_fact_pack:\nhint #34\nb ombr2_code_rx_plan_core+4\n.previous\n"); 1433 +extern const unsigned char ombr2_entry_rx_pla_fact_pack[] __attribute__((visibility("hidden"))); 1434 +/* export fn rx_pla_fact_pack xid ulong xgen ulong is_floor ulong tid ulong tgen ulong to ulong */ 1435 +__attribute__((visibility("default"))) uint32_t omega2_rx_pla_fact_pack(uint64_t *result, uint64_t o_xid, uint64_t o_xgen, uint64_t o_is_floor, uint64_t o_tid, uint64_t o_tgen) 1436 +{ 1437 + ombr_span sp[7]; 1438 + unsigned ns = 0; 1439 + uint64_t a[6] = {0}; 1440 + ombr2_out ou[6] = {{0, 0, 0}}; 1441 + unsigned no = 0; 1442 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1443 + return OMEGA_BAD_ARG; 1444 + a[0] = o_xid; 1445 + a[1] = o_xgen; 1446 + a[2] = o_is_floor; 1447 + a[3] = o_tid; 1448 + a[4] = o_tgen; 1449 + if (ombr2_overlap(sp, ns)) 1450 + return OMEGA_BAD_ARG; 1451 + return ombr2_run(ombr2_entry_rx_pla_fact_pack, a, result, 1, ou, no); 1452 +} 1453 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_pla_fact_unpack\n.hidden ombr2_entry_rx_pla_fact_unpack\nombr2_entry_rx_pla_fact_unpack:\nhint #34\nb ombr2_code_rx_plan_core+8\n.previous\n"); 1454 +extern const unsigned char ombr2_entry_rx_pla_fact_unpack[] __attribute__((visibility("hidden"))); 1455 +/* export fn rx_pla_fact_unpack f ulong dst edit ulong 5 to void */ 1456 +__attribute__((visibility("default"))) uint32_t omega2_rx_pla_fact_unpack(uint64_t *result, uint64_t o_f, uint64_t *o_dst, uint64_t o_dst_len) 1457 +{ 1458 + ombr_span sp[7]; 1459 + unsigned ns = 0; 1460 + uint64_t a[6] = {0}; 1461 + ombr2_out ou[6] = {{0, 0, 0}}; 1462 + unsigned no = 0; 1463 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1464 + return OMEGA_BAD_ARG; 1465 + a[0] = o_f; 1466 + if (ombr_span_add(sp, &ns, o_dst, o_dst_len, 5u, 8u, 1)) 1467 + return OMEGA_BAD_ARG; 1468 + a[1] = (uint64_t)(uintptr_t)o_dst; 1469 + if (ombr2_overlap(sp, ns)) 1470 + return OMEGA_BAD_ARG; 1471 + return ombr2_run(ombr2_entry_rx_pla_fact_unpack, a, result, 0, ou, no); 1472 +} 1473 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_pl_sort_preds\n.hidden ombr2_entry_rx_pl_sort_preds\nombr2_entry_rx_pl_sort_preds:\nhint #34\nb ombr2_code_rx_plan_core+12\n.previous\n"); 1474 +extern const unsigned char ombr2_entry_rx_pl_sort_preds[] __attribute__((visibility("hidden"))); 1475 +/* export fn rx_pl_sort_preds buf edit ulong 288 n ulong to void */ 1476 +__attribute__((visibility("default"))) uint32_t omega2_rx_pl_sort_preds(uint64_t *result, uint64_t *o_buf, uint64_t o_buf_len, uint64_t o_n) 1477 +{ 1478 + ombr_span sp[7]; 1479 + unsigned ns = 0; 1480 + uint64_t a[6] = {0}; 1481 + ombr2_out ou[6] = {{0, 0, 0}}; 1482 + unsigned no = 0; 1483 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1484 + return OMEGA_BAD_ARG; 1485 + if (ombr_span_add(sp, &ns, o_buf, o_buf_len, 288u, 8u, 1)) 1486 + return OMEGA_BAD_ARG; 1487 + a[0] = (uint64_t)(uintptr_t)o_buf; 1488 + a[1] = o_n; 1489 + if (ombr2_overlap(sp, ns)) 1490 + return OMEGA_BAD_ARG; 1491 + return ombr2_run(ombr2_entry_rx_pl_sort_preds, a, result, 0, ou, no); 1492 +} 1493 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_rx_projection\n.hidden ombr2_code_rx_projection\nombr2_code_rx_projection:\n.byte 0x03,0x00,0x00,0x14,0x31,0x00,0x00,0x14,0x44,0x00,0x00,0x14,0xe3,0x03,0x01,0xaa,0x04,0x00,0x80,0xd2,0x05,0x00,0x80,0xd2,0x06,0x00,0x80,0x92,0x08,0x00,0x80,0xd2,0x09,0x00,0x80,0xd2,0x0a,0x00,0x80,0xd2,0x3f,0x01,0x03,0xeb,0xa2,0x02,0x00,0x54,0xeb,0xff,0x9f,0xd2,0xeb,0xff,0xbf,0xf2,0x5f,0x01,0x0b,0xeb,0x22,0x04,0x00,0x54,0x4a,0x05,0x00,0x91,0x3f,0x01,0x01,0xeb,0x82,0x03,0x00,0x54,0x0b,0x78,0x69,0xf8,0x84,0x00,0x0b,0x8b,0x6c,0x7d,0x0b,0x9b,0xa5,0x00,0x0c,0x8b,0x7f,0x01,0x06,0xeb,0x42,0x00,0x00,0x54,0xe6,0x03,0x0b,0xaa,0x7f,0x01,0x08,0xeb,0x49,0x00,0x00,0x54,0xe8,0x03,0x0b,0xaa,0x29,0x05,0x00,0x91,0x3f,0x01,0x03,0xeb,0xa3,0xfd,0xff,0x54,0x43,0x00,0x00,0xf9,0x44,0x04,0x00,0xf9,0x45,0x08,0x00,0xf9,0x7f,0x00,0x00,0xf1,0x81,0x00,0x00,0x54,0x09,0x00,0x80,0xd2,0x49,0x0c,0x00,0xf9,0x02,0x00,0x00,0x14,0x46,0x0c,0x00,0xf9,0x48,0x10,0x00,0xf9,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x5f,0x08,0x00,0xf1,0xa1,0x00,0x00,0x54,0x7f,0x08,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x00,0x00,0xf1,0x60,0x00,0x00,0x54,0x80,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x18,0x00,0xf1,0x61,0x00,0x00,0x54,0x80,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x08,0x00,0xf1,0x61,0x00,0x00,0x54,0x60,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x40,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x14,0x00,0xf1,0x61,0x00,0x00,0x54,0x40,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x10,0x00,0xf1,0x61,0x00,0x00,0x54,0x60,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x18,0x00,0xf1,0x61,0x00,0x00,0x54,0x60,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6\n.previous\n"); 1494 +static const char ombr2_ident_rx_projection[] = "omega-ident 1 unit=rx_projection abi=2 profile=OM-2 src=`a6f9742bb4b20bcb7ac70694a19cb59722e73ad1fcecfcc0bcb833a0441ded9d` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`"; 1495 +__attribute__((visibility("default"))) const char *omega2_ident_rx_projection(void) 1496 +{ 1497 + return ombr2_ident_rx_projection; 1498 +} 1499 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_pj_summarize\n.hidden ombr2_entry_rx_pj_summarize\nombr2_entry_rx_pj_summarize:\nhint #34\nb ombr2_code_rx_projection+0\n.previous\n"); 1500 +extern const unsigned char ombr2_entry_rx_pj_summarize[] __attribute__((visibility("hidden"))); 1501 +/* export fn rx_pj_summarize w view ulong * dst edit ulong 5 to void */ 1502 +__attribute__((visibility("default"))) uint32_t omega2_rx_pj_summarize(uint64_t *result, const uint64_t *o_w, uint64_t o_w_len, uint64_t *o_dst, uint64_t o_dst_len) 1503 +{ 1504 + ombr_span sp[7]; 1505 + unsigned ns = 0; 1506 + uint64_t a[6] = {0}; 1507 + ombr2_out ou[6] = {{0, 0, 0}}; 1508 + unsigned no = 0; 1509 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1510 + return OMEGA_BAD_ARG; 1511 + if (ombr2_view(sp, &ns, o_w, o_w_len, 8u, 0)) 1512 + return OMEGA_BAD_ARG; 1513 + a[0] = (uint64_t)(uintptr_t)o_w; 1514 + a[1] = o_w_len; 1515 + if (ombr_span_add(sp, &ns, o_dst, o_dst_len, 5u, 8u, 1)) 1516 + return OMEGA_BAD_ARG; 1517 + a[2] = (uint64_t)(uintptr_t)o_dst; 1518 + if (ombr2_overlap(sp, ns)) 1519 + return OMEGA_BAD_ARG; 1520 + return ombr2_run(ombr2_entry_rx_pj_summarize, a, result, 0, ou, no); 1521 +} 1522 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_pj_section_of\n.hidden ombr2_entry_rx_pj_section_of\nombr2_entry_rx_pj_section_of:\nhint #34\nb ombr2_code_rx_projection+4\n.previous\n"); 1523 +extern const unsigned char ombr2_entry_rx_pj_section_of[] __attribute__((visibility("hidden"))); 1524 +/* export fn rx_pj_section_of protect ulong cls ulong treatment ulong temporal ulong to ulong */ 1525 +__attribute__((visibility("default"))) uint32_t omega2_rx_pj_section_of(uint64_t *result, uint64_t o_protect, uint64_t o_cls, uint64_t o_treatment, uint64_t o_temporal) 1526 +{ 1527 + ombr_span sp[7]; 1528 + unsigned ns = 0; 1529 + uint64_t a[6] = {0}; 1530 + ombr2_out ou[6] = {{0, 0, 0}}; 1531 + unsigned no = 0; 1532 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1533 + return OMEGA_BAD_ARG; 1534 + a[0] = o_protect; 1535 + a[1] = o_cls; 1536 + a[2] = o_treatment; 1537 + a[3] = o_temporal; 1538 + if (ombr2_overlap(sp, ns)) 1539 + return OMEGA_BAD_ARG; 1540 + return ombr2_run(ombr2_entry_rx_pj_section_of, a, result, 1, ou, no); 1541 +} 1542 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_pj_form_of\n.hidden ombr2_entry_rx_pj_form_of\nombr2_entry_rx_pj_form_of:\nhint #34\nb ombr2_code_rx_projection+8\n.previous\n"); 1543 +extern const unsigned char ombr2_entry_rx_pj_form_of[] __attribute__((visibility("hidden"))); 1544 +/* export fn rx_pj_form_of treatment ulong to ulong */ 1545 +__attribute__((visibility("default"))) uint32_t omega2_rx_pj_form_of(uint64_t *result, uint64_t o_treatment) 1546 +{ 1547 + ombr_span sp[7]; 1548 + unsigned ns = 0; 1549 + uint64_t a[6] = {0}; 1550 + ombr2_out ou[6] = {{0, 0, 0}}; 1551 + unsigned no = 0; 1552 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1553 + return OMEGA_BAD_ARG; 1554 + a[0] = o_treatment; 1555 + if (ombr2_overlap(sp, ns)) 1556 + return OMEGA_BAD_ARG; 1557 + return ombr2_run(ombr2_entry_rx_pj_form_of, a, result, 1, ou, no); 1558 +} 1559 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_rx_capq_core\n.hidden ombr2_code_rx_capq_core\nombr2_code_rx_capq_core:\n.byte 0x6d,0x00,0x00,0x14,0x95,0x00,0x00,0x14,0x9f,0x00,0x00,0x14,0xf9,0x00,0x00,0x14,0x93,0x01,0x00,0x14,0x3f,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x00,0x00,0x40,0xf9,0xc0,0x03,0x5f,0xd6,0x3f,0x04,0x00,0xf1,0x61,0x00,0x00,0x54,0x00,0x04,0x40,0xf9,0xc0,0x03,0x5f,0xd6,0x3f,0x08,0x00,0xf1,0x61,0x00,0x00,0x54,0x00,0x08,0x40,0xf9,0xc0,0x03,0x5f,0xd6,0x3f,0x0c,0x00,0xf1,0x81,0x01,0x00,0x54,0x02,0x0c,0x40,0xf9,0x03,0x48,0x88,0xd2,0xe3,0x01,0xa0,0xf2,0x5f,0x00,0x03,0xeb,0x63,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x03,0x48,0x88,0xd2,0xe3,0x01,0xa0,0xf2,0x60,0x00,0x02,0xcb,0xc0,0x03,0x5f,0xd6,0x3f,0x10,0x00,0xf1,0x81,0x01,0x00,0x54,0x02,0x10,0x40,0xf9,0x03,0x48,0x88,0xd2,0xe3,0x01,0xa0,0xf2,0x5f,0x00,0x03,0xeb,0x63,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x03,0x48,0x88,0xd2,0xe3,0x01,0xa0,0xf2,0x60,0x00,0x02,0xcb,0xc0,0x03,0x5f,0xd6,0x3f,0x14,0x00,0xf1,0x01,0x01,0x00,0x54,0x02,0x14,0x40,0xf9,0x5f,0x00,0x00,0xf1,0x60,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x18,0x00,0xf1,0x01,0x01,0x00,0x54,0x02,0x18,0x40,0xf9,0x5f,0x00,0x00,0xf1,0x60,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe3,0xff,0x9f,0xd2,0xe3,0xff,0xbf,0xf2,0x02,0x00,0x03,0x8a,0x03,0xfc,0x60,0xd3,0xe5,0xff,0x9f,0xd2,0xe5,0xff,0xbf,0xf2,0x24,0x00,0x05,0x8a,0x25,0xfc,0x60,0xd3,0x46,0x7c,0x05,0x9b,0x68,0x7c,0x04,0x9b,0x4a,0x7c,0x04,0x9b,0x4b,0xfd,0x60,0xd3,0xec,0xff,0x9f,0xd2,0xec,0xff,0xbf,0xf2,0xcd,0x00,0x0c,0x8a,0x69,0x01,0x0d,0x8b,0xea,0xff,0x9f,0xd2,0xea,0xff,0xbf,0xf2,0x0b,0x01,0x0a,0x8a,0x29,0x01,0x0b,0x8b,0x6b,0x7c,0x05,0x9b,0xcc,0xfc,0x60,0xd3,0x6a,0x01,0x0c,0x8b,0x0b,0xfd,0x60,0xd3,0x4a,0x01,0x0b,0x8b,0x2b,0xfd,0x60,0xd3,0x40,0x01,0x0b,0x8b,0xc0,0x03,0x5f,0xd6,0x03,0x7c,0x01,0x9b,0x43,0x00,0x00,0xf9,0xff,0x83,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xfe,0x0f,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xdb,0xff,0xff,0x97,0xe3,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xfe,0x0f,0x40,0xf9,0xff,0x83,0x00,0x91,0x43,0x04,0x00,0xf9,0xc0,0x03,0x5f,0xd6,0x45,0x7d,0x90,0x92,0x45,0xe9,0xaf,0xf2,0x25,0x37,0xcf,0xf2,0xe5,0xc6,0xf3,0xf2,0x04,0x7c,0x05,0x9b,0xc6,0x48,0x83,0x92,0x86,0x9c,0xa3,0xf2,0xa6,0xed,0xc8,0xf2,0x06,0xeb,0xf7,0xf2,0x28,0x00,0x06,0x8b,0x89,0xe4,0x7a,0xd3,0x0a,0x01,0x09,0x8b,0x8b,0xfc,0x42,0xd3,0x45,0x01,0x0b,0x8b,0x84,0x00,0x05,0xca,0x88,0xc2,0x9d,0x92,0x28,0x66,0xa2,0xf2,0x68,0x37,0xc9,0xf2,0x08,0x9a,0xf2,0xf2,0x49,0x00,0x08,0x8b,0x8a,0xe4,0x7a,0xd3,0x2b,0x01,0x0a,0x8b,0x8c,0xfc,0x42,0xd3,0x66,0x01,0x0c,0x8b,0x84,0x00,0x06,0xca,0x49,0x7d,0x90,0x92,0x49,0xe9,0xaf,0xf2,0x29,0x37,0xcf,0xf2,0xe9,0xc6,0xf3,0xf2,0x6a,0x00,0x09,0x8b,0x8b,0xe4,0x7a,0xd3,0x4c,0x01,0x0b,0x8b,0x8d,0xfc,0x42,0xd3,0x88,0x01,0x0d,0x8b,0x84,0x00,0x08,0xca,0x89,0xfc,0x60,0xd3,0x8a,0x00,0x09,0xca,0xeb,0xff,0x9f,0xd2,0xeb,0xff,0xbf,0xf2,0x40,0x01,0x0b,0x8a,0xc0,0x03,0x5f,0xd6,0xff,0x83,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xfe,0x0b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0x69,0xff,0xff,0x97,0xe1,0x07,0x40,0xf9,0xfe,0x0b,0x40,0xf9,0xff,0x83,0x00,0x91,0xc0,0x03,0x5f,0xd6,0xe4,0x03,0x03,0xaa,0x9f,0x1c,0x00,0xf1,0x49,0x00,0x00,0x54,0xe4,0x00,0x80,0xd2,0x05,0x00,0x80,0xd2,0x06,0x00,0x80,0xd2,0x08,0x00,0x80,0xd2,0xdf,0x00,0x04,0xeb,0x42,0x09,0x00,0x54,0x1f,0x1d,0x00,0xf1,0xe2,0x09,0x00,0x54,0x08,0x05,0x00,0x91,0xdf,0x1c,0x00,0xf1,0x42,0x09,0x00,0x54,0x4a,0x68,0x66,0x38,0xe9,0x03,0x0a,0xaa,0xff,0x83,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xfe,0x2b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x23,0x40,0xf9,0x46,0xff,0xff,0x97,0xea,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xfe,0x2b,0x40,0xf9,0xff,0x83,0x01,0x91,0xff,0x83,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xfe,0x2f,0x00,0xf9,0xe0,0x07,0x40,0xf9,0xe1,0x23,0x40,0xf9,0x2a,0xff,0xff,0x97,0xeb,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xfe,0x2f,0x40,0xf9,0xff,0x83,0x01,0x91,0x5f,0x01,0x0b,0xeb,0x69,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x5f,0x01,0x0b,0xeb,0x42,0x00,0x00,0x54,0x25,0x00,0x80,0xd2,0xc6,0x04,0x00,0x91,0xdf,0x00,0x04,0xeb,0x03,0xf7,0xff,0x54,0xe0,0x03,0x05,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0xe4,0x03,0x03,0xaa,0x9f,0x1c,0x00,0xf1,0x49,0x00,0x00,0x54,0xe4,0x00,0x80,0xd2,0x06,0x00,0x80,0xd2,0xff,0x03,0x01,0xd1,0xe5,0x03,0x00,0x91,0x08,0x00,0x80,0xd2,0xa6,0x78,0x28,0xf8,0x08,0x05,0x00,0x91,0x1f,0x1d,0x00,0xf1,0xa3,0xff,0xff,0x54,0x08,0x00,0x80,0xd2,0xff,0x03,0x01,0xd1,0xe6,0x03,0x00,0x91,0x09,0x00,0x80,0xd2,0xc8,0x78,0x29,0xf8,0x29,0x05,0x00,0x91,0x3f,0x1d,0x00,0xf1,0xa3,0xff,0xff,0x54,0x08,0x00,0x80,0xd2,0x1f,0x1d,0x00,0xf1,0x02,0x02,0x00,0x54,0x1f,0x2d,0x00,0xf1,0xe2,0x0f,0x00,0x54,0x09,0x78,0x68,0xf8,0x1f,0x1d,0x00,0xf1,0x82,0x0f,0x00,0x54,0xa9,0x78,0x28,0xf8,0x1f,0x2d,0x00,0xf1,0x22,0x0f,0x00,0x54,0x29,0x78,0x68,0xf8,0x1f,0x1d,0x00,0xf1,0xc2,0x0e,0x00,0x54,0xc9,0x78,0x28,0xf8,0x08,0x05,0x00,0x91,0x1f,0x1d,0x00,0xf1,0x43,0xfe,0xff,0x54,0x08,0x00,0x80,0xd2,0x09,0x00,0x80,0xd2,0x1f,0x01,0x04,0xeb,0x22,0x0a,0x00,0x54,0x3f,0x1d,0x00,0xf1,0xc2,0x0d,0x00,0x54,0x29,0x05,0x00,0x91,0x1f,0x1d,0x00,0xf1,0x22,0x0d,0x00,0x54,0x4b,0x68,0x68,0x38,0xea,0x03,0x0b,0xaa,0xff,0x83,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xfe,0x2f,0x00,0xf9,0xe0,0x17,0x40,0xf9,0xe1,0x27,0x40,0xf9,0xc9,0xfe,0xff,0x97,0xeb,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xfe,0x2f,0x40,0xf9,0xff,0x83,0x01,0x91,0xff,0xc3,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xec,0x2f,0x00,0xf9,0xfe,0x33,0x00,0xf9,0xe0,0x1b,0x40,0xf9,0xe1,0x27,0x40,0xf9,0xab,0xfe,0xff,0x97,0xec,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xeb,0x2b,0x40,0xf9,0xfe,0x33,0x40,0xf9,0xff,0xc3,0x01,0x91,0x7f,0x01,0x0c,0xeb,0x82,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xff,0x03,0x02,0x91,0xc0,0x03,0x5f,0xd6,0x7f,0x01,0x0c,0xeb,0x89,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xff,0x03,0x02,0x91,0xc0,0x03,0x5f,0xd6,0x08,0x05,0x00,0x91,0x1f,0x01,0x04,0xeb,0x23,0xf6,0xff,0x54,0x08,0x00,0x80,0xd2,0x1f,0x11,0x00,0xf1,0xa2,0x02,0x00,0x54,0x09,0x1d,0x00,0x91,0x3f,0x2d,0x00,0xf1,0x02,0x03,0x00,0x54,0x0a,0x78,0x69,0xf8,0x3f,0x2d,0x00,0xf1,0xa2,0x02,0x00,0x54,0x2b,0x78,0x69,0xf8,0x5f,0x01,0x0b,0xeb,0x82,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xff,0x03,0x02,0x91,0xc0,0x03,0x5f,0xd6,0x5f,0x01,0x0b,0xeb,0x89,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xff,0x03,0x02,0x91,0xc0,0x03,0x5f,0xd6,0x08,0x05,0x00,0x91,0x1f,0x11,0x00,0xf1,0xa3,0xfd,0xff,0x54,0x00,0x00,0x80,0xd2,0xff,0x03,0x02,0x91,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x04,0x00,0x80,0xd2,0xff,0x43,0x00,0xd1,0xe3,0x03,0x00,0x91,0x05,0x00,0x80,0xd2,0x64,0x78,0x25,0xf8,0xa5,0x04,0x00,0x91,0xbf,0x08,0x00,0xf1,0xa3,0xff,0xff,0x54,0x05,0x00,0x80,0xd2,0xff,0x43,0x00,0xd1,0xe4,0x03,0x00,0x91,0x06,0x00,0x80,0xd2,0x85,0x78,0x26,0xf8,0xc6,0x04,0x00,0x91,0xdf,0x08,0x00,0xf1,0xa3,0xff,0xff,0x54,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xfe,0x17,0x00,0xf9,0xe0,0x03,0x40,0xf9,0x01,0x48,0x88,0xd2,0xe1,0x01,0xa0,0xf2,0xe2,0x0f,0x40,0xf9,0xa9,0xfe,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xfe,0x17,0x40,0xf9,0xff,0xc3,0x00,0x91,0x05,0x48,0x88,0xd2,0xe5,0x01,0xa0,0xf2,0xa6,0x00,0x02,0x8b,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xfe,0x1f,0x00,0xf9,0xe0,0x07,0x40,0xf9,0xe1,0x1b,0x40,0xf9,0xe2,0x13,0x40,0xf9,0x92,0xfe,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xfe,0x1f,0x40,0xf9,0xff,0x03,0x01,0x91,0x65,0x04,0x40,0xf9,0x86,0x04,0x40,0xf9,0xbf,0x00,0x06,0xeb,0x82,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xff,0x83,0x00,0x91,0xc0,0x03,0x5f,0xd6,0xbf,0x00,0x06,0xeb,0x89,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xff,0x83,0x00,0x91,0xc0,0x03,0x5f,0xd6,0x68,0x00,0x40,0xf9,0x89,0x00,0x40,0xf9,0x1f,0x01,0x09,0xeb,0x88,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xff,0x83,0x00,0x91,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xff,0x83,0x00,0x91,0xc0,0x03,0x5f,0xd6\n.previous\n"); 1560 +static const char ombr2_ident_rx_capq_core[] = "omega-ident 1 unit=rx_capq_core abi=2 profile=OM-2 src=`55e7902df4087d1329ae1c21fb10a1c3a2b66a9a42dca73d3a27f98c88714f51` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`"; 1561 +__attribute__((visibility("default"))) const char *omega2_ident_rx_capq_core(void) 1562 +{ 1563 + return ombr2_ident_rx_capq_core; 1564 +} 1565 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_cq_key_hash\n.hidden ombr2_entry_rx_cq_key_hash\nombr2_entry_rx_cq_key_hash:\nhint #34\nb ombr2_code_rx_capq_core+0\n.previous\n"); 1566 +extern const unsigned char ombr2_entry_rx_cq_key_hash[] __attribute__((visibility("hidden"))); 1567 +/* export fn rx_cq_key_hash cap_id ulong real_id ulong mach_id ulong skill_id ulong to ulong */ 1568 +__attribute__((visibility("default"))) uint32_t omega2_rx_cq_key_hash(uint64_t *result, uint64_t o_cap_id, uint64_t o_real_id, uint64_t o_mach_id, uint64_t o_skill_id) 1569 +{ 1570 + ombr_span sp[7]; 1571 + unsigned ns = 0; 1572 + uint64_t a[6] = {0}; 1573 + ombr2_out ou[6] = {{0, 0, 0}}; 1574 + unsigned no = 0; 1575 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1576 + return OMEGA_BAD_ARG; 1577 + a[0] = o_cap_id; 1578 + a[1] = o_real_id; 1579 + a[2] = o_mach_id; 1580 + a[3] = o_skill_id; 1581 + if (ombr2_overlap(sp, ns)) 1582 + return OMEGA_BAD_ARG; 1583 + return ombr2_run(ombr2_entry_rx_cq_key_hash, a, result, 1, ou, no); 1584 +} 1585 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_cq_dim_value\n.hidden ombr2_entry_rx_cq_dim_value\nombr2_entry_rx_cq_dim_value:\nhint #34\nb ombr2_code_rx_capq_core+4\n.previous\n"); 1586 +extern const unsigned char ombr2_entry_rx_cq_dim_value[] __attribute__((visibility("hidden"))); 1587 +/* export fn rx_cq_dim_value vals view ulong 7 dim ulong to ulong */ 1588 +__attribute__((visibility("default"))) uint32_t omega2_rx_cq_dim_value(uint64_t *result, const uint64_t *o_vals, uint64_t o_vals_len, uint64_t o_dim) 1589 +{ 1590 + ombr_span sp[7]; 1591 + unsigned ns = 0; 1592 + uint64_t a[6] = {0}; 1593 + ombr2_out ou[6] = {{0, 0, 0}}; 1594 + unsigned no = 0; 1595 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1596 + return OMEGA_BAD_ARG; 1597 + if (ombr_span_add(sp, &ns, o_vals, o_vals_len, 7u, 8u, 0)) 1598 + return OMEGA_BAD_ARG; 1599 + a[0] = (uint64_t)(uintptr_t)o_vals; 1600 + a[1] = o_dim; 1601 + if (ombr2_overlap(sp, ns)) 1602 + return OMEGA_BAD_ARG; 1603 + return ombr2_run(ombr2_entry_rx_cq_dim_value, a, result, 1, ou, no); 1604 +} 1605 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_cq_dominates\n.hidden ombr2_entry_rx_cq_dominates\nombr2_entry_rx_cq_dominates:\nhint #34\nb ombr2_code_rx_capq_core+8\n.previous\n"); 1606 +extern const unsigned char ombr2_entry_rx_cq_dominates[] __attribute__((visibility("hidden"))); 1607 +/* export fn rx_cq_dominates a view ulong 7 b view ulong 7 dims view uchar 7 nd ulong to ulong */ 1608 +__attribute__((visibility("default"))) uint32_t omega2_rx_cq_dominates(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, const uint64_t *o_b, uint64_t o_b_len, const uint8_t *o_dims, uint64_t o_dims_len, uint64_t o_nd) 1609 +{ 1610 + ombr_span sp[7]; 1611 + unsigned ns = 0; 1612 + uint64_t a[6] = {0}; 1613 + ombr2_out ou[6] = {{0, 0, 0}}; 1614 + unsigned no = 0; 1615 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1616 + return OMEGA_BAD_ARG; 1617 + if (ombr_span_add(sp, &ns, o_a, o_a_len, 7u, 8u, 0)) 1618 + return OMEGA_BAD_ARG; 1619 + a[0] = (uint64_t)(uintptr_t)o_a; 1620 + if (ombr_span_add(sp, &ns, o_b, o_b_len, 7u, 8u, 0)) 1621 + return OMEGA_BAD_ARG; 1622 + a[1] = (uint64_t)(uintptr_t)o_b; 1623 + if (ombr_span_add(sp, &ns, o_dims, o_dims_len, 7u, 1u, 0)) 1624 + return OMEGA_BAD_ARG; 1625 + a[2] = (uint64_t)(uintptr_t)o_dims; 1626 + a[3] = o_nd; 1627 + if (ombr2_overlap(sp, ns)) 1628 + return OMEGA_BAD_ARG; 1629 + return ombr2_run(ombr2_entry_rx_cq_dominates, a, result, 1, ou, no); 1630 +} 1631 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_cq_cmp_full\n.hidden ombr2_entry_rx_cq_cmp_full\nombr2_entry_rx_cq_cmp_full:\nhint #34\nb ombr2_code_rx_capq_core+12\n.previous\n"); 1632 +extern const unsigned char ombr2_entry_rx_cq_cmp_full[] __attribute__((visibility("hidden"))); 1633 +/* export fn rx_cq_cmp_full a view ulong 11 b view ulong 11 dims view uchar 7 nd ulong to long */ 1634 +__attribute__((visibility("default"))) uint32_t omega2_rx_cq_cmp_full(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, const uint64_t *o_b, uint64_t o_b_len, const uint8_t *o_dims, uint64_t o_dims_len, uint64_t o_nd) 1635 +{ 1636 + ombr_span sp[7]; 1637 + unsigned ns = 0; 1638 + uint64_t a[6] = {0}; 1639 + ombr2_out ou[6] = {{0, 0, 0}}; 1640 + unsigned no = 0; 1641 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1642 + return OMEGA_BAD_ARG; 1643 + if (ombr_span_add(sp, &ns, o_a, o_a_len, 11u, 8u, 0)) 1644 + return OMEGA_BAD_ARG; 1645 + a[0] = (uint64_t)(uintptr_t)o_a; 1646 + if (ombr_span_add(sp, &ns, o_b, o_b_len, 11u, 8u, 0)) 1647 + return OMEGA_BAD_ARG; 1648 + a[1] = (uint64_t)(uintptr_t)o_b; 1649 + if (ombr_span_add(sp, &ns, o_dims, o_dims_len, 7u, 1u, 0)) 1650 + return OMEGA_BAD_ARG; 1651 + a[2] = (uint64_t)(uintptr_t)o_dims; 1652 + a[3] = o_nd; 1653 + if (ombr2_overlap(sp, ns)) 1654 + return OMEGA_BAD_ARG; 1655 + return ombr2_run(ombr2_entry_rx_cq_cmp_full, a, result, 1, ou, no); 1656 +} 1657 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_cq_within\n.hidden ombr2_entry_rx_cq_within\nombr2_entry_rx_cq_within:\nhint #34\nb ombr2_code_rx_capq_core+16\n.previous\n"); 1658 +extern const unsigned char ombr2_entry_rx_cq_within[] __attribute__((visibility("hidden"))); 1659 +/* export fn rx_cq_within v ulong best ulong tol_ppm ulong to ulong */ 1660 +__attribute__((visibility("default"))) uint32_t omega2_rx_cq_within(uint64_t *result, uint64_t o_v, uint64_t o_best, uint64_t o_tol_ppm) 1661 +{ 1662 + ombr_span sp[7]; 1663 + unsigned ns = 0; 1664 + uint64_t a[6] = {0}; 1665 + ombr2_out ou[6] = {{0, 0, 0}}; 1666 + unsigned no = 0; 1667 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1668 + return OMEGA_BAD_ARG; 1669 + a[0] = o_v; 1670 + a[1] = o_best; 1671 + a[2] = o_tol_ppm; 1672 + if (ombr2_overlap(sp, ns)) 1673 + return OMEGA_BAD_ARG; 1674 + return ombr2_run(ombr2_entry_rx_cq_within, a, result, 1, ou, no); 1675 +} 1676 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_rx_costmodel_core\n.hidden ombr2_code_rx_costmodel_core\nombr2_code_rx_costmodel_core:\n.byte 0xb4,0x01,0x00,0x14,0x08,0x03,0x00,0x14,0x02,0x00,0x80,0xd2,0x03,0x00,0x80,0xd2,0x7f,0x20,0x00,0xf1,0xc2,0x03,0x00,0x54,0xe4,0x03,0x03,0xaa,0x05,0x00,0x80,0xd2,0x9f,0x20,0x00,0xf1,0xe2,0x02,0x00,0x54,0xbf,0x20,0x00,0xf1,0xc2,0x03,0x00,0x54,0xa5,0x04,0x00,0x91,0x5f,0x90,0x00,0xf1,0x22,0x03,0x00,0x54,0x08,0x78,0x62,0xf8,0x16,0x01,0x67,0x9e,0x08,0x01,0x80,0xd2,0x69,0x7c,0x08,0x9b,0x2a,0x01,0x04,0x8b,0x5f,0x01,0x01,0xf1,0x42,0x02,0x00,0x54,0x36,0x78,0x2a,0xfc,0x08,0x01,0x80,0xd2,0x89,0x7c,0x08,0x9b,0x2a,0x01,0x03,0x8b,0x5f,0x01,0x01,0xf1,0x82,0x01,0x00,0x54,0x36,0x78,0x2a,0xfc,0x42,0x04,0x00,0x91,0x84,0x04,0x00,0x91,0xe9,0xff,0xff,0x17,0x63,0x04,0x00,0x91,0x7f,0x20,0x00,0xf1,0x83,0xfc,0xff,0x54,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x04,0x01,0x80,0xd2,0x45,0x7c,0x04,0x9b,0xa6,0x00,0x02,0x8b,0xdf,0x00,0x01,0xf1,0x42,0x03,0x00,0x54,0x13,0x78,0x66,0xfc,0x04,0x00,0x80,0xd2,0x05,0x00,0x80,0xd2,0x9f,0x00,0x02,0xeb,0xe2,0x01,0x00,0x54,0xbf,0x20,0x00,0xf1,0xa2,0x02,0x00,0x54,0xa5,0x04,0x00,0x91,0x08,0x01,0x80,0xd2,0x49,0x7c,0x08,0x9b,0x2a,0x01,0x04,0x8b,0x5f,0x01,0x01,0xf1,0xa2,0x01,0x00,0x54,0x36,0x78,0x6a,0xfc,0xd7,0x0a,0x76,0x1e,0x73,0x3a,0x77,0x1e,0x84,0x04,0x00,0x91,0x9f,0x00,0x02,0xeb,0x63,0xfe,0xff,0x54,0x63,0x02,0x66,0x9e,0xe0,0x03,0x03,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x05,0x01,0x80,0xd2,0x46,0x7c,0x05,0x9b,0xc8,0x00,0x03,0x8b,0x1f,0x01,0x01,0xf1,0x02,0x04,0x00,0x54,0x14,0x78,0x68,0xfc,0x05,0x00,0x80,0xd2,0x06,0x00,0x80,0xd2,0xbf,0x00,0x03,0xeb,0xa2,0x02,0x00,0x54,0xdf,0x20,0x00,0xf1,0x62,0x03,0x00,0x54,0xc6,0x04,0x00,0x91,0x09,0x01,0x80,0xd2,0x4a,0x7c,0x09,0x9b,0x4b,0x01,0x05,0x8b,0x7f,0x01,0x01,0xf1,0x62,0x02,0x00,0x54,0x37,0x78,0x6b,0xfc,0x0a,0x01,0x80,0xd2,0x6b,0x7c,0x0a,0x9b,0x6c,0x01,0x05,0x8b,0x9f,0x01,0x01,0xf1,0xa2,0x01,0x00,0x54,0x38,0x78,0x6c,0xfc,0xf9,0x0a,0x78,0x1e,0x94,0x3a,0x79,0x1e,0xa5,0x04,0x00,0x91,0xbf,0x00,0x03,0xeb,0xa3,0xfd,0xff,0x54,0x84,0x02,0x66,0x9e,0xe0,0x03,0x04,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x03,0x00,0x80,0xd2,0xff,0x03,0x08,0xd1,0xe2,0x03,0x00,0x91,0x04,0x00,0x80,0xd2,0x43,0x78,0x24,0xf8,0x84,0x04,0x00,0x91,0x9f,0x00,0x01,0xf1,0xa3,0xff,0xff,0x54,0xff,0x83,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xfe,0x0f,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x0b,0x40,0xf9,0x7e,0xff,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xfe,0x0f,0x40,0xf9,0xff,0x83,0x00,0x91,0x03,0x00,0x80,0xd2,0x7f,0x00,0x01,0xf1,0x02,0x01,0x00,0x54,0x04,0x00,0x80,0xd2,0x7f,0x00,0x01,0xf1,0xa2,0x0b,0x00,0x54,0x24,0x78,0x23,0xf8,0x63,0x04,0x00,0x91,0x7f,0x00,0x01,0xf1,0x43,0xff,0xff,0x54,0x03,0x00,0x80,0xd2,0x7f,0x20,0x00,0xf1,0x02,0x0a,0x00,0x54,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xfe,0x17,0x00,0xf9,0xe0,0x0b,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0f,0x40,0xf9,0x8a,0xff,0xff,0x97,0xe4,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xfe,0x17,0x40,0xf9,0xff,0xc3,0x00,0x91,0x94,0x00,0x67,0x9e,0xe1,0x03,0x67,0x9e,0x80,0x22,0x61,0x1e,0x8c,0x00,0x00,0x54,0x00,0x00,0x80,0x92,0xff,0x03,0x08,0x91,0xc0,0x03,0x5f,0xd6,0x95,0xc2,0x61,0x1e,0x06,0x01,0x80,0xd2,0x68,0x7c,0x06,0x9b,0x09,0x01,0x03,0x8b,0x3f,0x01,0x01,0xf1,0xe2,0x06,0x00,0x54,0x35,0x78,0x29,0xfc,0x66,0x04,0x00,0x91,0x08,0x00,0x80,0xd2,0xdf,0x20,0x00,0xf1,0x22,0x05,0x00,0x54,0x1f,0x21,0x00,0xf1,0x42,0x06,0x00,0x54,0x08,0x05,0x00,0x91,0xff,0x43,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xf4,0x13,0x00,0xfd,0xf5,0x17,0x00,0xfd,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xfe,0x27,0x00,0xf9,0xe0,0x0b,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x1b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0x80,0xff,0xff,0x97,0xe9,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xf4,0x13,0x40,0xfd,0xf5,0x17,0x40,0xfd,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xfe,0x27,0x40,0xf9,0xff,0x43,0x01,0x91,0x38,0x01,0x67,0x9e,0x0a,0x01,0x80,0xd2,0xcb,0x7c,0x0a,0x9b,0x6c,0x01,0x03,0x8b,0x1c,0x1b,0x75,0x1e,0x9f,0x01,0x01,0xf1,0xa2,0x01,0x00,0x54,0x3c,0x78,0x2c,0xfc,0xc6,0x04,0x00,0x91,0xd7,0xff,0xff,0x17,0x63,0x04,0x00,0x91,0x7f,0x20,0x00,0xf1,0x43,0xf6,0xff,0x54,0x00,0x00,0x80,0xd2,0xff,0x03,0x08,0x91,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x03,0x00,0x80,0xd2,0x7f,0x20,0x00,0xf1,0xc2,0x04,0x00,0x54,0x7f,0x20,0x00,0xf1,0x02,0x05,0x00,0x54,0x34,0x78,0x63,0xfc,0x05,0x00,0x80,0xd2,0x06,0x00,0x80,0xd2,0xbf,0x00,0x03,0xeb,0x42,0x02,0x00,0x54,0xdf,0x20,0x00,0xf1,0x62,0x04,0x00,0x54,0xc6,0x04,0x00,0x91,0x08,0x01,0x80,0xd2,0x69,0x7c,0x08,0x9b,0x2a,0x01,0x05,0x8b,0x5f,0x01,0x01,0xf1,0x62,0x03,0x00,0x54,0x1a,0x78,0x6a,0xfc,0xbf,0x20,0x00,0xf1,0x02,0x03,0x00,0x54,0x5b,0x78,0x65,0xfc,0x5c,0x0b,0x7b,0x1e,0x94,0x3a,0x7c,0x1e,0xa5,0x04,0x00,0x91,0xbf,0x00,0x03,0xeb,0x03,0xfe,0xff,0x54,0x05,0x01,0x80,0xd2,0x66,0x7c,0x05,0x9b,0xc8,0x00,0x03,0x8b,0x1f,0x01,0x01,0xf1,0xa2,0x01,0x00,0x54,0x18,0x78,0x68,0xfc,0x99,0x1a,0x78,0x1e,0x7f,0x20,0x00,0xf1,0x22,0x01,0x00,0x54,0x59,0x78,0x23,0xfc,0x63,0x04,0x00,0x91,0x7f,0x20,0x00,0xf1,0x83,0xfb,0xff,0x54,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x03,0x00,0x80,0xd2,0x04,0x00,0x80,0xd2,0x7f,0x20,0x00,0xf1,0x22,0x05,0x00,0x54,0x9f,0x20,0x00,0xf1,0xa2,0x05,0x00,0x54,0x84,0x04,0x00,0x91,0xe6,0x00,0x80,0xd2,0xc5,0x00,0x03,0xcb,0xbf,0x20,0x00,0xf1,0xc2,0x04,0x00,0x54,0x36,0x78,0x65,0xfc,0xa8,0x04,0x00,0x91,0x09,0x00,0x80,0xd2,0x1f,0x21,0x00,0xf1,0x22,0x02,0x00,0x54,0x3f,0x21,0x00,0xf1,0x22,0x04,0x00,0x54,0x29,0x05,0x00,0x91,0x0a,0x01,0x80,0xd2,0x0b,0x7d,0x0a,0x9b,0x6c,0x01,0x05,0x8b,0x9f,0x01,0x01,0xf1,0x22,0x03,0x00,0x54,0x1c,0x78,0x6c,0xfc,0x1f,0x21,0x00,0xf1,0xc2,0x02,0x00,0x54,0x5d,0x78,0x68,0xfc,0x9e,0x0b,0x7d,0x1e,0xd6,0x3a,0x7e,0x1e,0x08,0x05,0x00,0x91,0xef,0xff,0xff,0x17,0x09,0x01,0x80,0xd2,0xaa,0x7c,0x09,0x9b,0x4b,0x01,0x05,0x8b,0x7f,0x01,0x01,0xf1,0x82,0x01,0x00,0x54,0x1b,0x78,0x6b,0xfc,0xdc,0x1a,0x7b,0x1e,0xbf,0x20,0x00,0xf1,0x02,0x01,0x00,0x54,0x5c,0x78,0x25,0xfc,0x63,0x04,0x00,0x91,0xd7,0xff,0xff,0x17,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0xf2,0x03,0x67,0x9e,0x03,0x00,0x80,0xd2,0x7f,0x20,0x00,0xf1,0x82,0x01,0x00,0x54,0x7f,0x20,0x00,0xf1,0x02,0x02,0x00,0x54,0x14,0x78,0x63,0xfc,0x7f,0x20,0x00,0xf1,0xa2,0x01,0x00,0x54,0x35,0x78,0x63,0xfc,0x96,0x0a,0x75,0x1e,0x52,0x2a,0x76,0x1e,0x63,0x04,0x00,0x91,0x7f,0x20,0x00,0xf1,0xc3,0xfe,0xff,0x54,0x42,0x02,0x66,0x9e,0xe0,0x03,0x02,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xf1,0x03,0x67,0x9e,0x02,0x00,0x80,0xd2,0x5f,0x20,0x00,0xf1,0x22,0x01,0x00,0x54,0x5f,0x20,0x00,0xf1,0xa2,0x01,0x00,0x54,0x13,0x78,0x62,0xfc,0x74,0x0a,0x73,0x1e,0x31,0x2a,0x74,0x1e,0x42,0x04,0x00,0x91,0x5f,0x20,0x00,0xf1,0x23,0xff,0xff,0x54,0x21,0x02,0x66,0x9e,0xe0,0x03,0x01,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x35,0x00,0x67,0x9e,0x17,0x00,0x63,0x9e,0x00,0x10,0x6c,0x1e,0x18,0x08,0x77,0x1e,0x00,0x10,0x6e,0x1e,0x16,0x28,0x78,0x1e,0x41,0x00,0x67,0x9e,0xb8,0x3a,0x61,0x1e,0x00,0x10,0x6c,0x1e,0x19,0x08,0x78,0x1e,0x70,0x8f,0x82,0xd2,0xd0,0xf5,0xa8,0xf2,0x30,0x5c,0xcf,0xf2,0x90,0xf0,0xe7,0xf2,0x00,0x02,0x67,0x9e,0x17,0x28,0x79,0x1e,0x70,0x8f,0x82,0xd2,0xd0,0xf5,0xa8,0xf2,0x30,0x5c,0xcf,0xf2,0x90,0xf0,0xe7,0xf2,0x01,0x02,0x67,0x9e,0xe0,0x22,0x61,0x1e,0xc5,0x00,0x00,0x54,0x70,0x8f,0x82,0xd2,0xd0,0xf5,0xa8,0xf2,0x30,0x5c,0xcf,0xf2,0x90,0xf0,0xe7,0xf2,0x17,0x02,0x67,0x9e,0xf8,0x1a,0x76,0x1e,0x50,0x72,0x99,0xd2,0xf0,0x0f,0xa9,0xf2,0xf0,0xb7,0xcf,0xf2,0xb0,0xe9,0xe7,0xf2,0x01,0x02,0x67,0x9e,0x00,0x23,0x61,0x1e,0xc5,0x00,0x00,0x54,0x50,0x72,0x99,0xd2,0xf0,0x0f,0xa9,0xf2,0xf0,0xb7,0xcf,0xf2,0xb0,0xe9,0xe7,0xf2,0x18,0x02,0x67,0x9e,0x00,0x10,0x6e,0x1e,0x61,0x00,0x67,0x9e,0x1a,0x28,0x61,0x1e,0x1b,0x0b,0x7a,0x1e,0x79,0xc3,0x61,0x1e,0x00,0x10,0x60,0x1e,0x1a,0x08,0x76,0x1e,0x2a,0x03,0x66,0x9e,0x8a,0x04,0x00,0xf9,0x4b,0x03,0x66,0x9e,0x8b,0x08,0x00,0xf9,0xc0,0x03,0x5f,0xd6,0x65,0x00,0x40,0xf9,0xbf,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x08,0x00,0x80,0xd2,0xff,0x03,0x08,0xd1,0xe6,0x03,0x00,0x91,0x09,0x00,0x80,0xd2,0xc8,0x78,0x29,0xf8,0x29,0x05,0x00,0x91,0x3f,0x01,0x01,0xf1,0xa3,0xff,0xff,0x54,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xfe,0x1f,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x1b,0x40,0xf9,0xa9,0xfe,0xff,0x97,0xe8,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xfe,0x1f,0x40,0xf9,0xff,0x03,0x01,0x91,0x1f,0x01,0x00,0xf1,0x80,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xff,0x03,0x08,0x91,0xc0,0x03,0x5f,0xd6,0x09,0x00,0x80,0xd2,0xff,0x03,0x01,0xd1,0xe8,0x03,0x00,0x91,0x0a,0x00,0x80,0xd2,0x09,0x79,0x2a,0xf8,0x4a,0x05,0x00,0x91,0x5f,0x21,0x00,0xf1,0xa3,0xff,0xff,0x54,0x0a,0x00,0x80,0xd2,0xff,0x03,0x01,0xd1,0xe9,0x03,0x00,0x91,0x0b,0x00,0x80,0xd2,0x2a,0x79,0x2b,0xf8,0x6b,0x05,0x00,0x91,0x7f,0x21,0x00,0xf1,0xa3,0xff,0xff,0x54,0x0a,0x00,0x80,0xd2,0x5f,0x21,0x00,0xf1,0x02,0x02,0x00,0x54,0x5f,0x21,0x00,0xf1,0xe2,0x22,0x00,0x54,0x2b,0x78,0x6a,0xf8,0x5f,0x21,0x00,0xf1,0x82,0x22,0x00,0x54,0x0b,0x79,0x2a,0xf8,0x5f,0x21,0x00,0xf1,0x22,0x22,0x00,0x54,0x4b,0x78,0x6a,0xf8,0x5f,0x21,0x00,0xf1,0xc2,0x21,0x00,0x54,0x2b,0x79,0x2a,0xf8,0x4a,0x05,0x00,0x91,0x5f,0x21,0x00,0xf1,0x43,0xfe,0xff,0x54,0x0b,0x00,0x80,0xd2,0xff,0x03,0x01,0xd1,0xea,0x03,0x00,0x91,0x0c,0x00,0x80,0xd2,0x4b,0x79,0x2c,0xf8,0x8c,0x05,0x00,0x91,0x9f,0x21,0x00,0xf1,0xa3,0xff,0xff,0x54,0x0c,0x00,0x80,0xd2,0xff,0x03,0x01,0xd1,0xeb,0x03,0x00,0x91,0x0d,0x00,0x80,0xd2,0x6c,0x79,0x2d,0xf8,0xad,0x05,0x00,0x91,0xbf,0x21,0x00,0xf1,0xa3,0xff,0xff,0x54,0x0d,0x00,0x80,0xd2,0xff,0x03,0x01,0xd1,0xec,0x03,0x00,0x91,0x0e,0x00,0x80,0xd2,0x8d,0x79,0x2e,0xf8,0xce,0x05,0x00,0x91,0xdf,0x21,0x00,0xf1,0xa3,0xff,0xff,0x54,0xff,0xc3,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xec,0x2f,0x00,0xf9,0xfe,0x33,0x00,0xf9,0xe0,0x1b,0x40,0xf9,0xe1,0x1f,0x40,0xf9,0xe2,0x27,0x40,0xf9,0xc9,0xfe,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xeb,0x2b,0x40,0xf9,0xec,0x2f,0x40,0xf9,0xfe,0x33,0x40,0xf9,0xff,0xc3,0x01,0x91,0xff,0xc3,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xec,0x2f,0x00,0xf9,0xfe,0x33,0x00,0xf9,0xe0,0x1b,0x40,0xf9,0xe1,0x27,0x40,0xf9,0xe2,0x2b,0x40,0xf9,0xd9,0xfe,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xeb,0x2b,0x40,0xf9,0xec,0x2f,0x40,0xf9,0xfe,0x33,0x40,0xf9,0xff,0xc3,0x01,0x91,0xff,0xc3,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xec,0x2f,0x00,0xf9,0xfe,0x33,0x00,0xf9,0xe0,0x1b,0x40,0xf9,0xe1,0x23,0x40,0xf9,0xe2,0x2f,0x40,0xf9,0x89,0xfe,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xeb,0x2b,0x40,0xf9,0xec,0x2f,0x40,0xf9,0xfe,0x33,0x40,0xf9,0xff,0xc3,0x01,0x91,0xff,0xc3,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xec,0x2f,0x00,0xf9,0xfe,0x33,0x00,0xf9,0xe0,0x2b,0x40,0xf9,0xe1,0x23,0x40,0xf9,0xce,0xfe,0xff,0x97,0xed,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xeb,0x2b,0x40,0xf9,0xec,0x2f,0x40,0xf9,0xfe,0x33,0x40,0xf9,0xff,0xc3,0x01,0x91,0x8d,0x00,0x00,0xf9,0x6d,0x04,0x40,0xf9,0xff,0xc3,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xec,0x2f,0x00,0xf9,0xed,0x33,0x00,0xf9,0xfe,0x37,0x00,0xf9,0xe0,0x27,0x40,0xf9,0xc3,0xfe,0xff,0x97,0xee,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xeb,0x2b,0x40,0xf9,0xec,0x2f,0x40,0xf9,0xed,0x33,0x40,0xf9,0xfe,0x37,0x40,0xf9,0xff,0xc3,0x01,0x91,0xff,0x03,0x02,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xec,0x2f,0x00,0xf9,0xed,0x33,0x00,0xf9,0xee,0x37,0x00,0xf9,0xfe,0x3b,0x00,0xf9,0xe0,0x2f,0x40,0xf9,0xa1,0xfe,0xff,0x97,0xef,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xeb,0x2b,0x40,0xf9,0xec,0x2f,0x40,0xf9,0xed,0x33,0x40,0xf9,0xee,0x37,0x40,0xf9,0xfe,0x3b,0x40,0xf9,0xff,0x03,0x02,0x91,0xff,0x03,0x02,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xeb,0x2b,0x00,0xf9,0xec,0x2f,0x00,0xf9,0xed,0x33,0x00,0xf9,0xee,0x37,0x00,0xf9,0xef,0x3b,0x00,0xf9,0xfe,0x3f,0x00,0xf9,0xe0,0x17,0x40,0xf9,0xe1,0x33,0x40,0xf9,0xe2,0x37,0x40,0xf9,0xe3,0x3b,0x40,0xf9,0xe4,0x13,0x40,0xf9,0x8d,0xfe,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xe9,0x23,0x40,0xf9,0xea,0x27,0x40,0xf9,0xeb,0x2b,0x40,0xf9,0xec,0x2f,0x40,0xf9,0xfe,0x3f,0x40,0xf9,0xff,0x03,0x02,0x91,0x20,0x00,0x80,0xd2,0xff,0x03,0x0d,0x91,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x74,0x00,0x67,0x9e,0x05,0x00,0x80,0xd2,0x06,0x00,0x80,0xd2,0xdf,0x20,0x00,0xf1,0x42,0x05,0x00,0x54,0xdf,0x20,0x00,0xf1,0x82,0x05,0x00,0x54,0x49,0x78,0x66,0xf8,0x37,0x01,0x67,0x9e,0xe9,0x03,0x06,0xaa,0x0a,0x00,0x80,0xd2,0x3f,0x21,0x00,0xf1,0xa2,0x02,0x00,0x54,0x5f,0x21,0x00,0xf1,0xc2,0x04,0x00,0x54,0x4a,0x05,0x00,0x91,0x3f,0x21,0x00,0xf1,0x22,0x04,0x00,0x54,0x4c,0x78,0x69,0xf8,0x9a,0x01,0x67,0x9e,0xbf,0x90,0x00,0xf1,0xa2,0x03,0x00,0x54,0x0d,0x78,0x65,0xf8,0xbb,0x01,0x67,0x9e,0xfc,0x0a,0x7a,0x1e,0x62,0x2b,0x7c,0x1e,0x4e,0x00,0x66,0x9e,0xbf,0x90,0x00,0xf1,0xc2,0x02,0x00,0x54,0x0e,0x78,0x25,0xf8,0xa5,0x04,0x00,0x91,0x29,0x05,0x00,0x91,0xeb,0xff,0xff,0x17,0xdf,0x20,0x00,0xf1,0x02,0x02,0x00,0x54,0x2b,0x78,0x66,0xf8,0x79,0x01,0x67,0x9e,0xfa,0x0a,0x74,0x1e,0x22,0x2b,0x7a,0x1e,0x4c,0x00,0x66,0x9e,0xdf,0x20,0x00,0xf1,0x22,0x01,0x00,0x54,0x2c,0x78,0x26,0xf8,0xc6,0x04,0x00,0x91,0xdf,0x20,0x00,0xf1,0x03,0xfb,0xff,0x54,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17\n.previous\n"); 1677 +static const char ombr2_ident_rx_costmodel_core[] = "omega-ident 1 unit=rx_costmodel_core abi=2 profile=OM-2 src=`77b9ac8c9e88186d9cc1019660a2b0f99442892f83eedb3cebf72a0e56223e11` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`"; 1678 +__attribute__((visibility("default"))) const char *omega2_ident_rx_costmodel_core(void) 1679 +{ 1680 + return ombr2_ident_rx_costmodel_core; 1681 +} 1682 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_cm_fit_predict\n.hidden ombr2_entry_rx_cm_fit_predict\nombr2_entry_rx_cm_fit_predict:\nhint #34\nb ombr2_code_rx_costmodel_core+0\n.previous\n"); 1683 +extern const unsigned char ombr2_entry_rx_cm_fit_predict[] __attribute__((visibility("hidden"))); 1684 +/* export fn rx_cm_fit_predict tri view ulong 36 xty_u view ulong 8 phi_u view ulong 8 meta view ulong 2 dst edit ulong 4 to ulong */ 1685 +__attribute__((visibility("default"))) uint32_t omega2_rx_cm_fit_predict(uint64_t *result, const uint64_t *o_tri, uint64_t o_tri_len, const uint64_t *o_xty_u, uint64_t o_xty_u_len, const uint64_t *o_phi_u, uint64_t o_phi_u_len, const uint64_t *o_meta, uint64_t o_meta_len, uint64_t *o_dst, uint64_t o_dst_len) 1686 +{ 1687 + ombr_span sp[7]; 1688 + unsigned ns = 0; 1689 + uint64_t a[6] = {0}; 1690 + ombr2_out ou[6] = {{0, 0, 0}}; 1691 + unsigned no = 0; 1692 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1693 + return OMEGA_BAD_ARG; 1694 + if (ombr_span_add(sp, &ns, o_tri, o_tri_len, 36u, 8u, 0)) 1695 + return OMEGA_BAD_ARG; 1696 + a[0] = (uint64_t)(uintptr_t)o_tri; 1697 + if (ombr_span_add(sp, &ns, o_xty_u, o_xty_u_len, 8u, 8u, 0)) 1698 + return OMEGA_BAD_ARG; 1699 + a[1] = (uint64_t)(uintptr_t)o_xty_u; 1700 + if (ombr_span_add(sp, &ns, o_phi_u, o_phi_u_len, 8u, 8u, 0)) 1701 + return OMEGA_BAD_ARG; 1702 + a[2] = (uint64_t)(uintptr_t)o_phi_u; 1703 + if (ombr_span_add(sp, &ns, o_meta, o_meta_len, 2u, 8u, 0)) 1704 + return OMEGA_BAD_ARG; 1705 + a[3] = (uint64_t)(uintptr_t)o_meta; 1706 + if (ombr_span_add(sp, &ns, o_dst, o_dst_len, 4u, 8u, 1)) 1707 + return OMEGA_BAD_ARG; 1708 + a[4] = (uint64_t)(uintptr_t)o_dst; 1709 + if (ombr2_overlap(sp, ns)) 1710 + return OMEGA_BAD_ARG; 1711 + return ombr2_run(ombr2_entry_rx_cm_fit_predict, a, result, 1, ou, no); 1712 +} 1713 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_cm_rank1_update\n.hidden ombr2_entry_rx_cm_rank1_update\nombr2_entry_rx_cm_rank1_update:\nhint #34\nb ombr2_code_rx_costmodel_core+4\n.previous\n"); 1714 +extern const unsigned char ombr2_entry_rx_cm_rank1_update[] __attribute__((visibility("hidden"))); 1715 +/* export fn rx_cm_rank1_update tri edit ulong 36 xty edit ulong 8 phi view ulong 8 y_bits ulong to void */ 1716 +__attribute__((visibility("default"))) uint32_t omega2_rx_cm_rank1_update(uint64_t *result, uint64_t *o_tri, uint64_t o_tri_len, uint64_t *o_xty, uint64_t o_xty_len, const uint64_t *o_phi, uint64_t o_phi_len, uint64_t o_y_bits) 1717 +{ 1718 + ombr_span sp[7]; 1719 + unsigned ns = 0; 1720 + uint64_t a[6] = {0}; 1721 + ombr2_out ou[6] = {{0, 0, 0}}; 1722 + unsigned no = 0; 1723 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1724 + return OMEGA_BAD_ARG; 1725 + if (ombr_span_add(sp, &ns, o_tri, o_tri_len, 36u, 8u, 1)) 1726 + return OMEGA_BAD_ARG; 1727 + a[0] = (uint64_t)(uintptr_t)o_tri; 1728 + if (ombr_span_add(sp, &ns, o_xty, o_xty_len, 8u, 8u, 1)) 1729 + return OMEGA_BAD_ARG; 1730 + a[1] = (uint64_t)(uintptr_t)o_xty; 1731 + if (ombr_span_add(sp, &ns, o_phi, o_phi_len, 8u, 8u, 0)) 1732 + return OMEGA_BAD_ARG; 1733 + a[2] = (uint64_t)(uintptr_t)o_phi; 1734 + a[3] = o_y_bits; 1735 + if (ombr2_overlap(sp, ns)) 1736 + return OMEGA_BAD_ARG; 1737 + return ombr2_run(ombr2_entry_rx_cm_rank1_update, a, result, 0, ou, no); 1738 +} 1739 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_rx_route_core\n.hidden ombr2_code_rx_route_core\nombr2_code_rx_route_core:\n.byte 0x2f,0x00,0x00,0x14,0x43,0x00,0x00,0x14,0x3f,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x32,0x00,0x63,0x9e,0x14,0x00,0x63,0x9e,0x93,0x1a,0x72,0x1e,0x70,0xb8,0x8c,0xd2,0xb0,0xc2,0xa6,0xf2,0x70,0x80,0xcb,0xf2,0xf0,0xff,0xe7,0xf2,0x00,0x02,0x67,0x9e,0x70,0xb8,0x8c,0xd2,0xb0,0xc2,0xa6,0xf2,0x70,0x80,0xcb,0xf2,0xf0,0xff,0xe7,0xf2,0x01,0x02,0x67,0x9e,0x14,0x08,0x61,0x1e,0x00,0x10,0x60,0x1e,0x16,0x08,0x72,0x1e,0x97,0x1a,0x76,0x1e,0x75,0x2a,0x77,0x1e,0x00,0x10,0x6e,0x1e,0x17,0x38,0x73,0x1e,0x78,0x0a,0x77,0x1e,0x16,0x1b,0x72,0x1e,0x58,0x0a,0x72,0x1e,0x00,0x10,0x62,0x1e,0x19,0x08,0x78,0x1e,0x97,0x1a,0x79,0x1e,0xd9,0x2a,0x77,0x1e,0x3a,0xc3,0x61,0x1e,0x70,0xb8,0x8c,0xd2,0xb0,0xc2,0xa6,0xf2,0x70,0x80,0xcb,0xf2,0xf0,0xff,0xe7,0xf2,0x00,0x02,0x67,0x9e,0x18,0x08,0x7a,0x1e,0xb9,0x3a,0x78,0x1e,0x9a,0x1a,0x72,0x1e,0x00,0x10,0x6e,0x1e,0x1b,0x28,0x7a,0x1e,0x22,0x1b,0x7b,0x1e,0x40,0x00,0x66,0x9e,0xc0,0x03,0x5f,0xd6,0x5f,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x00,0x01,0xeb,0x63,0x00,0x00,0x54,0x40,0x04,0x00,0xd1,0xc0,0x03,0x5f,0xd6,0x03,0x7c,0x02,0x9b,0xc1,0x00,0x00,0xb4,0x60,0x08,0xc1,0x9a,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x41,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xfe,0x13,0x00,0xf9,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xb6,0xff,0xff,0x97,0xe3,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xfe,0x13,0x40,0xf9,0xff,0xc3,0x00,0x91,0x73,0x00,0x67,0x9e,0x14,0x10,0x6e,0x1e,0x3f,0x00,0x00,0xf1,0x40,0x03,0x00,0x54,0x1f,0x00,0x01,0xeb,0x08,0x03,0x00,0x54,0x25,0x00,0x00,0xcb,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xf3,0x0f,0x00,0xfd,0xf4,0x13,0x00,0xfd,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x17,0x40,0xf9,0xe1,0x07,0x40,0xf9,0x9e,0xff,0xff,0x97,0xe5,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xf3,0x0f,0x40,0xfd,0xf4,0x13,0x40,0xfd,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0x00,0x10,0x6e,0x1e,0xa1,0x00,0x67,0x9e,0x14,0x38,0x61,0x1e,0x63,0x02,0x66,0x9e,0x43,0x00,0x00,0xf9,0x84,0x02,0x66,0x9e,0x44,0x04,0x00,0xf9,0xc0,0x03,0x5f,0xd6\n.previous\n"); 1740 +static const char ombr2_ident_rx_route_core[] = "omega-ident 1 unit=rx_route_core abi=2 profile=OM-2 src=`4d45fdbb7089300c5a9f7889f5d6a39395e5d9632fa405ba2286cb19a6f436ec` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`"; 1741 +__attribute__((visibility("default"))) const char *omega2_ident_rx_route_core(void) 1742 +{ 1743 + return ombr2_ident_rx_route_core; 1744 +} 1745 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_rt_conf_bin\n.hidden ombr2_entry_rx_rt_conf_bin\nombr2_entry_rx_rt_conf_bin:\nhint #34\nb ombr2_code_rx_route_core+0\n.previous\n"); 1746 +extern const unsigned char ombr2_entry_rx_rt_conf_bin[] __attribute__((visibility("hidden"))); 1747 +/* export fn rx_rt_conf_bin conf ulong conf_one ulong bins ulong to ulong */ 1748 +__attribute__((visibility("default"))) uint32_t omega2_rx_rt_conf_bin(uint64_t *result, uint64_t o_conf, uint64_t o_conf_one, uint64_t o_bins) 1749 +{ 1750 + ombr_span sp[7]; 1751 + unsigned ns = 0; 1752 + uint64_t a[6] = {0}; 1753 + ombr2_out ou[6] = {{0, 0, 0}}; 1754 + unsigned no = 0; 1755 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1756 + return OMEGA_BAD_ARG; 1757 + a[0] = o_conf; 1758 + a[1] = o_conf_one; 1759 + a[2] = o_bins; 1760 + if (ombr2_overlap(sp, ns)) 1761 + return OMEGA_BAD_ARG; 1762 + return ombr2_run(ombr2_entry_rx_rt_conf_bin, a, result, 1, ou, no); 1763 +} 1764 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_rt_wilson\n.hidden ombr2_entry_rx_rt_wilson\nombr2_entry_rx_rt_wilson:\nhint #34\nb ombr2_code_rx_route_core+4\n.previous\n"); 1765 +extern const unsigned char ombr2_entry_rx_rt_wilson[] __attribute__((visibility("hidden"))); 1766 +/* export fn rx_rt_wilson k ulong n ulong dst edit ulong 2 to void */ 1767 +__attribute__((visibility("default"))) uint32_t omega2_rx_rt_wilson(uint64_t *result, uint64_t o_k, uint64_t o_n, uint64_t *o_dst, uint64_t o_dst_len) 1768 +{ 1769 + ombr_span sp[7]; 1770 + unsigned ns = 0; 1771 + uint64_t a[6] = {0}; 1772 + ombr2_out ou[6] = {{0, 0, 0}}; 1773 + unsigned no = 0; 1774 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1775 + return OMEGA_BAD_ARG; 1776 + a[0] = o_k; 1777 + a[1] = o_n; 1778 + if (ombr_span_add(sp, &ns, o_dst, o_dst_len, 2u, 8u, 1)) 1779 + return OMEGA_BAD_ARG; 1780 + a[2] = (uint64_t)(uintptr_t)o_dst; 1781 + if (ombr2_overlap(sp, ns)) 1782 + return OMEGA_BAD_ARG; 1783 + return ombr2_run(ombr2_entry_rx_rt_wilson, a, result, 0, ou, no); 1784 +} 1785 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_rx_world_core\n.hidden ombr2_code_rx_world_core\nombr2_code_rx_world_core:\n.byte 0x03,0x00,0x00,0x14,0x6e,0x00,0x00,0x14,0xb3,0x00,0x00,0x14,0x1f,0x00,0x00,0xf1,0x61,0x01,0x00,0x54,0x3f,0x04,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x0c,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x04,0x00,0xf1,0x61,0x02,0x00,0x54,0x3f,0x10,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x08,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x0c,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x1c,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x10,0x00,0xf1,0xe1,0x02,0x00,0x54,0x3f,0x14,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x20,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x24,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x1c,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x04,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x14,0x00,0xf1,0x61,0x02,0x00,0x54,0x3f,0x18,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x28,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x2c,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x1c,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x0c,0x00,0xf1,0x61,0x01,0x00,0x54,0x3f,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x04,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x18,0x00,0xf1,0x23,0x01,0x00,0x54,0x1f,0x2c,0x00,0xf1,0xe8,0x00,0x00,0x54,0x3f,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x08,0x00,0xf1,0xe1,0x00,0x00,0x54,0x3f,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x03,0x00,0x40,0xf9,0x24,0x00,0x40,0xf9,0x7f,0x00,0x04,0xeb,0x63,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x03,0x04,0x40,0xf9,0x24,0x04,0x40,0xf9,0x7f,0x00,0x04,0xeb,0x69,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x05,0x08,0x40,0xf9,0x26,0x08,0x40,0xf9,0xbf,0x00,0x06,0xeb,0x69,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x48,0x00,0x40,0xf9,0x89,0x00,0x03,0xcb,0x1f,0x01,0x09,0xeb,0x69,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x48,0x04,0x40,0xf9,0xc9,0x00,0x05,0xcb,0x1f,0x01,0x09,0xeb,0x69,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x48,0x08,0x40,0xf9,0x1f,0x01,0x00,0xf1,0xe0,0x00,0x00,0x54,0x29,0x0c,0x40,0xf9,0x0a,0x01,0x09,0x8a,0x5f,0x01,0x08,0xeb,0x60,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x49,0x0c,0x40,0xf9,0x3f,0x01,0x00,0xf1,0xe0,0x00,0x00,0x54,0x2a,0x10,0x40,0xf9,0x2b,0x01,0x0a,0x8a,0x7f,0x01,0x09,0xeb,0x60,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x4a,0x10,0x40,0xf9,0x5f,0x01,0x00,0xf1,0xa0,0x01,0x00,0x54,0xec,0x03,0x80,0xd2,0x4d,0x01,0x0c,0x8a,0x2e,0x00,0x80,0xd2,0xbf,0x01,0x01,0xf1,0xa2,0x01,0x00,0x54,0xcb,0x21,0xcd,0x9a,0x2c,0x14,0x40,0xf9,0x8d,0x01,0x0b,0x8a,0xbf,0x01,0x00,0xf1,0x61,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0xe1,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x02,0x00,0x40,0xf9,0x23,0x00,0x40,0xf9,0x5f,0x00,0x03,0xeb,0xe0,0x00,0x00,0x54,0x5f,0x00,0x03,0xeb,0x62,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x04,0x04,0x40,0xf9,0x25,0x04,0x40,0xf9,0x9f,0x00,0x05,0xeb,0xe0,0x00,0x00,0x54,0x9f,0x00,0x05,0xeb,0x62,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x06,0x08,0x40,0xf9,0x28,0x08,0x40,0xf9,0xdf,0x00,0x08,0xeb,0x62,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6\n.previous\n"); 1786 +static const char ombr2_ident_rx_world_core[] = "omega-ident 1 unit=rx_world_core abi=2 profile=OM-2 src=`fe6656a9770cd0721dd5d5e885bc506ec68ca34d67243cf4b7da57d5e46a0611` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`"; 1787 +__attribute__((visibility("default"))) const char *omega2_ident_rx_world_core(void) 1788 +{ 1789 + return ombr2_ident_rx_world_core; 1790 +} 1791 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_world_state_legal\n.hidden ombr2_entry_rx_world_state_legal\nombr2_entry_rx_world_state_legal:\nhint #34\nb ombr2_code_rx_world_core+0\n.previous\n"); 1792 +extern const unsigned char ombr2_entry_rx_world_state_legal[] __attribute__((visibility("hidden"))); 1793 +/* export fn rx_world_state_legal from ulong dest ulong to ulong */ 1794 +__attribute__((visibility("default"))) uint32_t omega2_rx_world_state_legal(uint64_t *result, uint64_t o_from, uint64_t o_dest) 1795 +{ 1796 + ombr_span sp[7]; 1797 + unsigned ns = 0; 1798 + uint64_t a[6] = {0}; 1799 + ombr2_out ou[6] = {{0, 0, 0}}; 1800 + unsigned no = 0; 1801 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1802 + return OMEGA_BAD_ARG; 1803 + a[0] = o_from; 1804 + a[1] = o_dest; 1805 + if (ombr2_overlap(sp, ns)) 1806 + return OMEGA_BAD_ARG; 1807 + return ombr2_run(ombr2_entry_rx_world_state_legal, a, result, 1, ou, no); 1808 +} 1809 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_world_res_fits\n.hidden ombr2_entry_rx_world_res_fits\nombr2_entry_rx_world_res_fits:\nhint #34\nb ombr2_code_rx_world_core+4\n.previous\n"); 1810 +extern const unsigned char ombr2_entry_rx_world_res_fits[] __attribute__((visibility("hidden"))); 1811 +/* export fn rx_world_res_fits used view ulong 4 budget view ulong 6 need view ulong 5 to ulong */ 1812 +__attribute__((visibility("default"))) uint32_t omega2_rx_world_res_fits(uint64_t *result, const uint64_t *o_used, uint64_t o_used_len, const uint64_t *o_budget, uint64_t o_budget_len, const uint64_t *o_need, uint64_t o_need_len) 1813 +{ 1814 + ombr_span sp[7]; 1815 + unsigned ns = 0; 1816 + uint64_t a[6] = {0}; 1817 + ombr2_out ou[6] = {{0, 0, 0}}; 1818 + unsigned no = 0; 1819 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1820 + return OMEGA_BAD_ARG; 1821 + if (ombr_span_add(sp, &ns, o_used, o_used_len, 4u, 8u, 0)) 1822 + return OMEGA_BAD_ARG; 1823 + a[0] = (uint64_t)(uintptr_t)o_used; 1824 + if (ombr_span_add(sp, &ns, o_budget, o_budget_len, 6u, 8u, 0)) 1825 + return OMEGA_BAD_ARG; 1826 + a[1] = (uint64_t)(uintptr_t)o_budget; 1827 + if (ombr_span_add(sp, &ns, o_need, o_need_len, 5u, 8u, 0)) 1828 + return OMEGA_BAD_ARG; 1829 + a[2] = (uint64_t)(uintptr_t)o_need; 1830 + if (ombr2_overlap(sp, ns)) 1831 + return OMEGA_BAD_ARG; 1832 + return ombr2_run(ombr2_entry_rx_world_res_fits, a, result, 1, ou, no); 1833 +} 1834 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_world_better_admit\n.hidden ombr2_entry_rx_world_better_admit\nombr2_entry_rx_world_better_admit:\nhint #34\nb ombr2_code_rx_world_core+8\n.previous\n"); 1835 +extern const unsigned char ombr2_entry_rx_world_better_admit[] __attribute__((visibility("hidden"))); 1836 +/* export fn rx_world_better_admit a view ulong 3 b view ulong 3 to ulong */ 1837 +__attribute__((visibility("default"))) uint32_t omega2_rx_world_better_admit(uint64_t *result, const uint64_t *o_a, uint64_t o_a_len, const uint64_t *o_b, uint64_t o_b_len) 1838 +{ 1839 + ombr_span sp[7]; 1840 + unsigned ns = 0; 1841 + uint64_t a[6] = {0}; 1842 + ombr2_out ou[6] = {{0, 0, 0}}; 1843 + unsigned no = 0; 1844 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1845 + return OMEGA_BAD_ARG; 1846 + if (ombr_span_add(sp, &ns, o_a, o_a_len, 3u, 8u, 0)) 1847 + return OMEGA_BAD_ARG; 1848 + a[0] = (uint64_t)(uintptr_t)o_a; 1849 + if (ombr_span_add(sp, &ns, o_b, o_b_len, 3u, 8u, 0)) 1850 + return OMEGA_BAD_ARG; 1851 + a[1] = (uint64_t)(uintptr_t)o_b; 1852 + if (ombr2_overlap(sp, ns)) 1853 + return OMEGA_BAD_ARG; 1854 + return ombr2_run(ombr2_entry_rx_world_better_admit, a, result, 1, ou, no); 1855 +} 1856 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_rx_skillroute_core\n.hidden ombr2_code_rx_skillroute_core\nombr2_code_rx_skillroute_core:\n.byte 0x02,0x00,0x00,0x14,0x17,0x00,0x00,0x14,0x01,0x00,0x80,0xd2,0x02,0x00,0x80,0xd2,0x5f,0x80,0x00,0xf1,0x02,0x01,0x00,0x54,0x5f,0x80,0x00,0xf1,0xe2,0x01,0x00,0x54,0x03,0x68,0x62,0x38,0x21,0x00,0x03,0xaa,0x42,0x04,0x00,0x91,0x5f,0x80,0x00,0xf1,0x43,0xff,0xff,0x54,0x3f,0x00,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x01,0x00,0x80,0xd2,0x02,0x00,0x80,0xd2,0x5f,0x28,0x00,0xf1,0xc2,0x01,0x00,0x54,0x5f,0x28,0x00,0xf1,0x22,0x02,0x00,0x54,0x03,0x78,0x62,0xf8,0x7f,0x00,0x00,0xf1,0xc0,0x00,0x00,0x54,0x23,0x00,0x80,0xd2,0x5f,0x00,0x01,0xf1,0xa2,0x01,0x00,0x54,0x64,0x20,0xc2,0x9a,0x21,0x00,0x04,0xaa,0x42,0x04,0x00,0x91,0x5f,0x28,0x00,0xf1,0x83,0xfe,0xff,0x54,0xe0,0x03,0x01,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xe1,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17\n.previous\n"); 1857 +static const char ombr2_ident_rx_skillroute_core[] = "omega-ident 1 unit=rx_skillroute_core abi=2 profile=OM-2 src=`568e2a8345feaffe9d1c119697426be1564d2b2317f8bdd192ad7756c39a6c3d` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`"; 1858 +__attribute__((visibility("default"))) const char *omega2_ident_rx_skillroute_core(void) 1859 +{ 1860 + return ombr2_ident_rx_skillroute_core; 1861 +} 1862 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_sr_digest_zero\n.hidden ombr2_entry_rx_sr_digest_zero\nombr2_entry_rx_sr_digest_zero:\nhint #34\nb ombr2_code_rx_skillroute_core+0\n.previous\n"); 1863 +extern const unsigned char ombr2_entry_rx_sr_digest_zero[] __attribute__((visibility("hidden"))); 1864 +/* export fn rx_sr_digest_zero d view uchar 32 to ulong */ 1865 +__attribute__((visibility("default"))) uint32_t omega2_rx_sr_digest_zero(uint64_t *result, const uint8_t *o_d, uint64_t o_d_len) 1866 +{ 1867 + ombr_span sp[7]; 1868 + unsigned ns = 0; 1869 + uint64_t a[6] = {0}; 1870 + ombr2_out ou[6] = {{0, 0, 0}}; 1871 + unsigned no = 0; 1872 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1873 + return OMEGA_BAD_ARG; 1874 + if (ombr_span_add(sp, &ns, o_d, o_d_len, 32u, 1u, 0)) 1875 + return OMEGA_BAD_ARG; 1876 + a[0] = (uint64_t)(uintptr_t)o_d; 1877 + if (ombr2_overlap(sp, ns)) 1878 + return OMEGA_BAD_ARG; 1879 + return ombr2_run(ombr2_entry_rx_sr_digest_zero, a, result, 1, ou, no); 1880 +} 1881 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_sr_why_of\n.hidden ombr2_entry_rx_sr_why_of\nombr2_entry_rx_sr_why_of:\nhint #34\nb ombr2_code_rx_skillroute_core+4\n.previous\n"); 1882 +extern const unsigned char ombr2_entry_rx_sr_why_of[] __attribute__((visibility("hidden"))); 1883 +/* export fn rx_sr_why_of counts view ulong 10 to ulong */ 1884 +__attribute__((visibility("default"))) uint32_t omega2_rx_sr_why_of(uint64_t *result, const uint64_t *o_counts, uint64_t o_counts_len) 1885 +{ 1886 + ombr_span sp[7]; 1887 + unsigned ns = 0; 1888 + uint64_t a[6] = {0}; 1889 + ombr2_out ou[6] = {{0, 0, 0}}; 1890 + unsigned no = 0; 1891 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1892 + return OMEGA_BAD_ARG; 1893 + if (ombr_span_add(sp, &ns, o_counts, o_counts_len, 10u, 8u, 0)) 1894 + return OMEGA_BAD_ARG; 1895 + a[0] = (uint64_t)(uintptr_t)o_counts; 1896 + if (ombr2_overlap(sp, ns)) 1897 + return OMEGA_BAD_ARG; 1898 + return ombr2_run(ombr2_entry_rx_sr_why_of, a, result, 1, ou, no); 1899 +} 1900 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_rx_fusion_core\n.hidden ombr2_code_rx_fusion_core\nombr2_code_rx_fusion_core:\n.byte 0x02,0x00,0x00,0x14,0x14,0x00,0x00,0x14,0x01,0x00,0x80,0xd2,0x02,0x00,0x80,0xd2,0x5f,0x20,0x00,0xf1,0x22,0x01,0x00,0x54,0x23,0xdc,0x78,0xd3,0x5f,0x20,0x00,0xf1,0x62,0x01,0x00,0x54,0x04,0x68,0x62,0x38,0x61,0x00,0x04,0xaa,0x42,0x04,0x00,0x91,0x5f,0x20,0x00,0xf1,0x23,0xff,0xff,0x54,0xe0,0x03,0x01,0xaa,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x1f,0x04,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x08,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x0c,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x14,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x1c,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x20,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x24,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x2c,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x38,0x00,0xf1,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6\n.previous\n"); 1901 +static const char ombr2_ident_rx_fusion_core[] = "omega-ident 1 unit=rx_fusion_core abi=2 profile=OM-2 src=`aab22272005a4d65c2ada2b9754906cdaa7736ae127042f84457d548875d1ee6` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`"; 1902 +__attribute__((visibility("default"))) const char *omega2_ident_rx_fusion_core(void) 1903 +{ 1904 + return ombr2_ident_rx_fusion_core; 1905 +} 1906 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_fus_word64\n.hidden ombr2_entry_rx_fus_word64\nombr2_entry_rx_fus_word64:\nhint #34\nb ombr2_code_rx_fusion_core+0\n.previous\n"); 1907 +extern const unsigned char ombr2_entry_rx_fus_word64[] __attribute__((visibility("hidden"))); 1908 +/* export fn rx_fus_word64 d view uchar 8 to ulong */ 1909 +__attribute__((visibility("default"))) uint32_t omega2_rx_fus_word64(uint64_t *result, const uint8_t *o_d, uint64_t o_d_len) 1910 +{ 1911 + ombr_span sp[7]; 1912 + unsigned ns = 0; 1913 + uint64_t a[6] = {0}; 1914 + ombr2_out ou[6] = {{0, 0, 0}}; 1915 + unsigned no = 0; 1916 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1917 + return OMEGA_BAD_ARG; 1918 + if (ombr_span_add(sp, &ns, o_d, o_d_len, 8u, 1u, 0)) 1919 + return OMEGA_BAD_ARG; 1920 + a[0] = (uint64_t)(uintptr_t)o_d; 1921 + if (ombr2_overlap(sp, ns)) 1922 + return OMEGA_BAD_ARG; 1923 + return ombr2_run(ombr2_entry_rx_fus_word64, a, result, 1, ou, no); 1924 +} 1925 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_rx_fus_eligible_kind\n.hidden ombr2_entry_rx_fus_eligible_kind\nombr2_entry_rx_fus_eligible_kind:\nhint #34\nb ombr2_code_rx_fusion_core+4\n.previous\n"); 1926 +extern const unsigned char ombr2_entry_rx_fus_eligible_kind[] __attribute__((visibility("hidden"))); 1927 +/* export fn rx_fus_eligible_kind k ulong to ulong */ 1928 +__attribute__((visibility("default"))) uint32_t omega2_rx_fus_eligible_kind(uint64_t *result, uint64_t o_k) 1929 +{ 1930 + ombr_span sp[7]; 1931 + unsigned ns = 0; 1932 + uint64_t a[6] = {0}; 1933 + ombr2_out ou[6] = {{0, 0, 0}}; 1934 + unsigned no = 0; 1935 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1936 + return OMEGA_BAD_ARG; 1937 + a[0] = o_k; 1938 + if (ombr2_overlap(sp, ns)) 1939 + return OMEGA_BAD_ARG; 1940 + return ombr2_run(ombr2_entry_rx_fus_eligible_kind, a, result, 1, ou, no); 1941 +} 1942 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_osc_literal\n.hidden ombr2_code_osc_literal\nombr2_code_osc_literal:\n.byte 0x1f,0x00,0x00,0x14,0x1f,0xc0,0x00,0xf1,0xe1,0x37,0x9f,0x9a,0x1f,0xe4,0x00,0xf1,0xe2,0x87,0x9f,0x9a,0x23,0x00,0x02,0x8a,0x63,0x00,0x00,0xb4,0x00,0xc0,0x00,0xd1,0xc0,0x03,0x5f,0xd6,0x1f,0x04,0x01,0xf1,0xe1,0x37,0x9f,0x9a,0x1f,0x18,0x01,0xf1,0xe2,0x87,0x9f,0x9a,0x23,0x00,0x02,0x8a,0xa3,0x00,0x00,0xb4,0x01,0x04,0x01,0xd1,0x42,0x01,0x80,0xd2,0x40,0x00,0x01,0x8b,0xc0,0x03,0x5f,0xd6,0x1f,0x84,0x01,0xf1,0xe1,0x37,0x9f,0x9a,0x1f,0x98,0x01,0xf1,0xe2,0x87,0x9f,0x9a,0x23,0x00,0x02,0x8a,0xa3,0x00,0x00,0xb4,0x01,0x84,0x01,0xd1,0x42,0x01,0x80,0xd2,0x40,0x00,0x01,0x8b,0xc0,0x03,0x5f,0xd6,0x00,0x02,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x03,0x00,0x80,0xd2,0x43,0x00,0x00,0xf9,0x43,0x01,0x80,0xd2,0x04,0x00,0x80,0xd2,0x3f,0x08,0x00,0xf1,0x63,0x02,0x00,0x54,0x05,0x00,0x80,0xd2,0xbf,0x00,0x01,0xeb,0xc2,0x0a,0x00,0x54,0x06,0x68,0x65,0x38,0xdf,0xc0,0x00,0xf1,0xa1,0x01,0x00,0x54,0x26,0x00,0x80,0xd2,0xdf,0x00,0x01,0xeb,0x02,0x0a,0x00,0x54,0x05,0x68,0x66,0x38,0xbf,0xe0,0x01,0xf1,0x61,0x00,0x00,0x54,0x03,0x02,0x80,0xd2,0x44,0x00,0x80,0xd2,0xbf,0x88,0x01,0xf1,0x61,0x00,0x00,0x54,0x43,0x00,0x80,0xd2,0x44,0x00,0x80,0xd2,0x9f,0x00,0x01,0xeb,0x61,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x05,0x00,0x80,0xd2,0x06,0x00,0x80,0xd2,0x08,0x00,0x80,0xd2,0x9f,0x00,0x01,0xeb,0x62,0x06,0x00,0x54,0xe9,0xff,0x9f,0xd2,0xe9,0xff,0xbf,0xf2,0xe9,0xff,0xdf,0xf2,0xe9,0xff,0xef,0xf2,0x1f,0x01,0x09,0xeb,0x42,0x07,0x00,0x54,0x08,0x05,0x00,0x91,0x9f,0x00,0x01,0xeb,0xa2,0x06,0x00,0x54,0x0a,0x68,0x64,0x38,0xff,0x83,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xe6,0x1b,0x00,0xf9,0xe8,0x1f,0x00,0xf9,0xe9,0x23,0x00,0xf9,0xea,0x27,0x00,0xf9,0xfe,0x2b,0x00,0xf9,0xe0,0x27,0x40,0xf9,0xaa,0xff,0xff,0x97,0xe9,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xe6,0x1b,0x40,0xf9,0xe8,0x1f,0x40,0xf9,0xfe,0x2b,0x40,0xf9,0xff,0x83,0x01,0x91,0x3f,0x01,0x03,0xeb,0x63,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x0a,0x00,0x80,0x92,0x4b,0x01,0x09,0xcb,0x43,0x02,0x00,0xb4,0x6c,0x09,0xc3,0x9a,0xbf,0x00,0x0c,0xeb,0x49,0x00,0x00,0x54,0x26,0x00,0x80,0xd2,0xaa,0x7c,0x03,0x9b,0x45,0x01,0x09,0x8b,0x84,0x04,0x00,0x91,0xcd,0xff,0xff,0x17,0x66,0x00,0x00,0xb4,0x40,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x45,0x00,0x00,0xf9,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x41,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x61,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xf8,0xff,0xff,0x17\n.previous\n"); 1943 +static const char ombr2_ident_osc_literal[] = "omega-ident 1 unit=osc_literal abi=2 profile=OM-2 src=`c61bdcbb9f71b01df86fba045b4206809091e709eba208939a4270b67dabbce2` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`"; 1944 +__attribute__((visibility("default"))) const char *omega2_ident_osc_literal(void) 1945 +{ 1946 + return ombr2_ident_osc_literal; 1947 +} 1948 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_osc_parse_literal\n.hidden ombr2_entry_osc_parse_literal\nombr2_entry_osc_parse_literal:\nhint #34\nb ombr2_code_osc_literal+0\n.previous\n"); 1949 +extern const unsigned char ombr2_entry_osc_parse_literal[] __attribute__((visibility("hidden"))); 1950 +/* export fn osc_parse_literal spelling view uchar * value out ulong 1 to ulong */ 1951 +__attribute__((visibility("default"))) uint32_t omega2_osc_parse_literal(uint64_t *result, const uint8_t *o_spelling, uint64_t o_spelling_len, uint64_t *o_value) 1952 +{ 1953 + ombr_span sp[7]; 1954 + unsigned ns = 0; 1955 + uint64_t a[6] = {0}; 1956 + ombr2_out ou[6] = {{0, 0, 0}}; 1957 + unsigned no = 0; 1958 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1959 + return OMEGA_BAD_ARG; 1960 + if (ombr2_view(sp, &ns, o_spelling, o_spelling_len, 1u, 0)) 1961 + return OMEGA_BAD_ARG; 1962 + a[0] = (uint64_t)(uintptr_t)o_spelling; 1963 + a[1] = o_spelling_len; 1964 + if (ombr2_fixed(sp, &ns, o_value, 8u, 8u, 2)) 1965 + return OMEGA_BAD_ARG; 1966 + ou[no].slot = 2u; 1967 + ou[no].n = 8u; 1968 + ou[no].dst = o_value; 1969 + no++; 1970 + if (ombr2_overlap(sp, ns)) 1971 + return OMEGA_BAD_ARG; 1972 + return ombr2_run(ombr2_entry_osc_parse_literal, a, result, 1, ou, no); 1973 +} 1974 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_code_osc_ownership\n.hidden ombr2_code_osc_ownership\nombr2_code_osc_ownership:\n.byte 0x18,0x00,0x00,0x14,0x2b,0x00,0x00,0x14,0x42,0x00,0x00,0x14,0x60,0x00,0x00,0x14,0x79,0x00,0x00,0x14,0x81,0x00,0x00,0x14,0xad,0x00,0x00,0x14,0xe7,0x00,0x00,0x14,0x0a,0x01,0x00,0x14,0x2f,0x01,0x00,0x14,0x43,0x01,0x00,0x14,0x5f,0x00,0x00,0xf1,0xe3,0x07,0x9f,0x9a,0x1f,0x00,0x00,0xf1,0xe4,0x07,0x9f,0x9a,0x3f,0x00,0x00,0xf1,0xe5,0x07,0x9f,0x9a,0x86,0x00,0x05,0x8a,0x68,0x00,0x06,0xaa,0x68,0x00,0x00,0xb4,0x40,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x1f,0x00,0x00,0xf1,0x60,0x00,0x00,0x54,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xfe,0x13,0x00,0xf9,0xe0,0x07,0x40,0xf9,0xe1,0x0b,0x40,0xf9,0xe2,0x0f,0x40,0xf9,0xe6,0xff,0xff,0x97,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xfe,0x13,0x40,0xf9,0xff,0xc3,0x00,0x91,0xc0,0x03,0x5f,0xd6,0x3f,0x00,0x00,0xf1,0xe4,0x07,0x9f,0x9a,0x1f,0x00,0x00,0xf1,0xe5,0x17,0x9f,0x9a,0x86,0x00,0x05,0x8a,0x66,0x00,0x00,0xb4,0x60,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xfe,0x13,0x00,0xf9,0xe0,0x07,0x40,0xf9,0xe1,0x0b,0x40,0xf9,0xe2,0x0f,0x40,0xf9,0xce,0xff,0xff,0x97,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xfe,0x13,0x40,0xf9,0xff,0xc3,0x00,0x91,0xc0,0x03,0x5f,0xd6,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x03,0x40,0xf9,0x21,0x00,0x80,0xd2,0xe2,0x07,0x40,0xf9,0xe3,0x0b,0x40,0xf9,0xc8,0xff,0xff,0x97,0xe5,0x03,0x00,0xaa,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0xbf,0x00,0x00,0xf1,0x60,0x00,0x00,0x54,0xe0,0x03,0x05,0xaa,0xc0,0x03,0x5f,0xd6,0x7f,0x00,0x04,0xeb,0x6a,0x00,0x00,0x54,0x80,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x03,0x00,0x80,0xd2,0x02,0x68,0x63,0x38,0x04,0x00,0x80,0xd2,0x23,0x68,0x64,0x38,0x5f,0x00,0x03,0xeb,0x61,0x00,0x00,0x54,0x00,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x7f,0x00,0x00,0xf1,0xe4,0x17,0x9f,0x9a,0x7f,0x04,0x00,0xf1,0xe5,0x17,0x9f,0x9a,0x5f,0x0c,0x00,0xf1,0xe6,0x17,0x9f,0x9a,0xa8,0x00,0x06,0x8a,0x89,0x00,0x08,0xaa,0xa9,0x00,0x00,0xb4,0x04,0x01,0x80,0xd2,0x05,0x68,0x64,0xb8,0x06,0x01,0x80,0xd2,0x25,0x68,0x26,0xb8,0x64,0x00,0x80,0xd2,0x05,0x00,0x80,0xd2,0x24,0x68,0x25,0x38,0x20,0x00,0x80,0xd2,0xc0,0x03,0x5f,0xd6,0x3f,0x00,0x00,0xeb,0xe3,0x07,0x9f,0x9a,0x5f,0x00,0x00,0xeb,0xe4,0x07,0x9f,0x9a,0x65,0x00,0x04,0xaa,0x65,0x00,0x00,0xb4,0x00,0x00,0x80,0x92,0xc0,0x03,0x5f,0xd6,0xc0,0x03,0x5f,0xd6,0x3f,0x00,0x03,0xeb,0x41,0x05,0x00,0x54,0x04,0x00,0x80,0xd2,0x05,0x00,0x80,0xd2,0x9f,0x00,0x03,0xeb,0xc2,0x03,0x00,0x54,0x06,0x48,0x88,0xd2,0xe6,0x01,0xa0,0xf2,0xbf,0x00,0x06,0xeb,0x02,0x04,0x00,0x54,0xa5,0x04,0x00,0x91,0x9f,0x00,0x01,0xeb,0x62,0x03,0x00,0x54,0x06,0x68,0x64,0x38,0xdf,0x00,0x00,0xf1,0xe8,0x07,0x9f,0x9a,0x9f,0x00,0x03,0xeb,0xc2,0x02,0x00,0x54,0x49,0x68,0x64,0x38,0x3f,0x01,0x00,0xf1,0xea,0x07,0x9f,0x9a,0x0b,0x01,0x0a,0x8a,0xcb,0x00,0x00,0xb4,0x26,0x00,0x80,0xd2,0x9f,0x00,0x03,0xeb,0xc2,0x01,0x00,0x54,0x46,0x68,0x24,0x38,0x05,0x00,0x00,0x14,0x06,0x00,0x80,0xd2,0x9f,0x00,0x03,0xeb,0x22,0x01,0x00,0x54,0x46,0x68,0x24,0x38,0x84,0x04,0x00,0x91,0x9f,0x00,0x03,0xeb,0x83,0xfc,0xff,0x54,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0x61,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x81,0x00,0x80,0xd2,0xfa,0xff,0xff,0x17,0x21,0x01,0x80,0xd2,0xf8,0xff,0xff,0x17,0x02,0x00,0x80,0xd2,0x03,0x00,0x80,0xd2,0x02,0x68,0x23,0x38,0x02,0x00,0x80,0xd2,0x43,0x00,0x80,0xd2,0x02,0x68,0x23,0x78,0x02,0x00,0x80,0xd2,0x83,0x00,0x80,0xd2,0x02,0x68,0x23,0x78,0x02,0x00,0x80,0xd2,0x03,0x01,0x80,0xd2,0x02,0x68,0x23,0xb8,0x3f,0xc0,0x21,0xeb,0x41,0x01,0x00,0x54,0x82,0x01,0x80,0xd2,0x01,0x68,0x22,0xb8,0x02,0x00,0x80,0xd2,0x03,0x02,0x80,0xd2,0x02,0x68,0x23,0xb8,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0xa1,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0x25,0x00,0x80,0xd2,0x06,0x00,0x80,0xd2,0x05,0x68,0x26,0x38,0x65,0xfc,0x48,0xd3,0x85,0x03,0x00,0xb5,0x26,0x00,0x80,0xd2,0x03,0x68,0x26,0x38,0x3f,0xc0,0x21,0xeb,0x01,0x03,0x00,0x54,0x85,0x00,0x80,0xd2,0x01,0x68,0x25,0xb8,0x5f,0xc0,0x22,0xeb,0x81,0x02,0x00,0x54,0x05,0x01,0x80,0xd2,0x02,0x68,0x25,0xb8,0x05,0x00,0x80,0xd2,0x86,0x01,0x80,0xd2,0x05,0x68,0x26,0x78,0x05,0x00,0x80,0xd2,0xc6,0x01,0x80,0xd2,0x05,0x68,0x26,0x78,0x85,0xfc,0x60,0xd3,0x45,0x01,0x00,0xb5,0x06,0x02,0x80,0xd2,0x04,0x68,0x26,0xb8,0x05,0x00,0x80,0x92,0x86,0x02,0x80,0xd2,0x05,0x68,0x26,0xb8,0xc0,0x03,0x5f,0xd6,0xe0,0x03,0x07,0xaa,0xf0,0x08,0x40,0xf9,0x00,0x02,0x1f,0xd6,0xa1,0x00,0x80,0xd2,0xfc,0xff,0xff,0x17,0xff,0xc3,0x00,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xfe,0x17,0x00,0xf9,0xe0,0x07,0x40,0xf9,0xe1,0x0b,0x40,0xf9,0x02,0x00,0x80,0x92,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xd2,0xff,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xfe,0x17,0x40,0xf9,0xff,0xc3,0x00,0x91,0x7f,0x00,0x00,0xf1,0x00,0x01,0x00,0x54,0x85,0x00,0x80,0xd2,0x06,0x68,0x65,0x78,0xc8,0x04,0x00,0x91,0x08,0x3d,0x40,0xd3,0x89,0x00,0x80,0xd2,0x08,0x68,0x29,0x78,0x07,0x00,0x00,0x14,0x45,0x00,0x80,0xd2,0x06,0x68,0x65,0x78,0xc8,0x04,0x00,0x91,0x08,0x3d,0x40,0xd3,0x49,0x00,0x80,0xd2,0x08,0x68,0x29,0x78,0xc0,0x03,0x5f,0xd6,0xff,0x03,0x01,0xd1,0xe0,0x03,0x00,0xf9,0xe1,0x07,0x00,0xf9,0xe2,0x0b,0x00,0xf9,0xe3,0x0f,0x00,0xf9,0xe4,0x13,0x00,0xf9,0xe5,0x17,0x00,0xf9,0xfe,0x1b,0x00,0xf9,0xe0,0x07,0x40,0xf9,0xe1,0x0b,0x40,0xf9,0xe2,0x0f,0x40,0xf9,0xe3,0x13,0x40,0xf9,0xe4,0x17,0x40,0xf9,0xad,0xff,0xff,0x97,0xe0,0x03,0x40,0xf9,0xe1,0x07,0x40,0xf9,0xe2,0x0b,0x40,0xf9,0xe3,0x0f,0x40,0xf9,0xe4,0x13,0x40,0xf9,0xe5,0x17,0x40,0xf9,0xfe,0x1b,0x40,0xf9,0xff,0x03,0x01,0x91,0x9f,0x00,0x00,0xf1,0x00,0x01,0x00,0x54,0xc6,0x01,0x80,0xd2,0x08,0x68,0x66,0x78,0x09,0x05,0x00,0x91,0x29,0x3d,0x40,0xd3,0xca,0x01,0x80,0xd2,0x09,0x68,0x2a,0x78,0x07,0x00,0x00,0x14,0x86,0x01,0x80,0xd2,0x08,0x68,0x66,0x78,0x09,0x05,0x00,0x91,0x29,0x3d,0x40,0xd3,0x8a,0x01,0x80,0xd2,0x09,0x68,0x2a,0x78,0xc0,0x03,0x5f,0xd6,0x02,0x00,0x80,0xd2,0x03,0x00,0x80,0xd2,0x22,0x68,0x23,0x38,0x22,0x00,0x80,0xd2,0x23,0x68,0x62,0x38,0x7f,0x00,0x00,0xf1,0x00,0x01,0x00,0x54,0x82,0x00,0x80,0xd2,0x03,0x68,0x62,0x78,0x64,0x04,0x00,0xd1,0x84,0x3c,0x40,0xd3,0x85,0x00,0x80,0xd2,0x04,0x68,0x25,0x78,0x07,0x00,0x00,0x14,0x42,0x00,0x80,0xd2,0x03,0x68,0x62,0x78,0x64,0x04,0x00,0xd1,0x84,0x3c,0x40,0xd3,0x45,0x00,0x80,0xd2,0x04,0x68,0x25,0x78,0xc0,0x03,0x5f,0xd6,0x02,0x00,0x80,0xd2,0x03,0x00,0x80,0xd2,0x22,0x68,0x23,0x38,0x22,0x00,0x80,0xd2,0x23,0x68,0x62,0x38,0x7f,0x00,0x00,0xf1,0x00,0x01,0x00,0x54,0xc2,0x01,0x80,0xd2,0x03,0x68,0x62,0x78,0x64,0x04,0x00,0xd1,0x84,0x3c,0x40,0xd3,0xc5,0x01,0x80,0xd2,0x04,0x68,0x25,0x78,0x07,0x00,0x00,0x14,0x82,0x01,0x80,0xd2,0x03,0x68,0x62,0x78,0x64,0x04,0x00,0xd1,0x84,0x3c,0x40,0xd3,0x85,0x01,0x80,0xd2,0x04,0x68,0x25,0x78,0xc0,0x03,0x5f,0xd6\n.previous\n"); 1975 +static const char ombr2_ident_osc_ownership[] = "omega-ident 1 unit=osc_ownership abi=2 profile=OM-2 src=`4057f369075c9ea7e8df9c208f640eb5361dacd2608138cb04b853db082c4d33` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2`"; 1976 +__attribute__((visibility("default"))) const char *omega2_ident_osc_ownership(void) 1977 +{ 1978 + return ombr2_ident_osc_ownership; 1979 +} 1980 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_osc_owner_access\n.hidden ombr2_entry_osc_owner_access\nombr2_entry_osc_owner_access:\nhint #34\nb ombr2_code_osc_ownership+0\n.previous\n"); 1981 +extern const unsigned char ombr2_entry_osc_owner_access[] __attribute__((visibility("hidden"))); 1982 +/* export fn osc_owner_access moved ulong exclusive ulong shared_count ulong mut_count ulong to ulong */ 1983 +__attribute__((visibility("default"))) uint32_t omega2_osc_owner_access(uint64_t *result, uint64_t o_moved, uint64_t o_exclusive, uint64_t o_shared_count, uint64_t o_mut_count) 1984 +{ 1985 + ombr_span sp[7]; 1986 + unsigned ns = 0; 1987 + uint64_t a[6] = {0}; 1988 + ombr2_out ou[6] = {{0, 0, 0}}; 1989 + unsigned no = 0; 1990 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 1991 + return OMEGA_BAD_ARG; 1992 + a[0] = o_moved; 1993 + a[1] = o_exclusive; 1994 + a[2] = o_shared_count; 1995 + a[3] = o_mut_count; 1996 + if (ombr2_overlap(sp, ns)) 1997 + return OMEGA_BAD_ARG; 1998 + return ombr2_run(ombr2_entry_osc_owner_access, a, result, 1, ou, no); 1999 +} 2000 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_osc_borrow_access\n.hidden ombr2_entry_osc_borrow_access\nombr2_entry_osc_borrow_access:\nhint #34\nb ombr2_code_osc_ownership+4\n.previous\n"); 2001 +extern const unsigned char ombr2_entry_osc_borrow_access[] __attribute__((visibility("hidden"))); 2002 +/* export fn osc_borrow_access writable ulong exclusive ulong shared_count ulong mut_count ulong to ulong */ 2003 +__attribute__((visibility("default"))) uint32_t omega2_osc_borrow_access(uint64_t *result, uint64_t o_writable, uint64_t o_exclusive, uint64_t o_shared_count, uint64_t o_mut_count) 2004 +{ 2005 + ombr_span sp[7]; 2006 + unsigned ns = 0; 2007 + uint64_t a[6] = {0}; 2008 + ombr2_out ou[6] = {{0, 0, 0}}; 2009 + unsigned no = 0; 2010 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 2011 + return OMEGA_BAD_ARG; 2012 + a[0] = o_writable; 2013 + a[1] = o_exclusive; 2014 + a[2] = o_shared_count; 2015 + a[3] = o_mut_count; 2016 + if (ombr2_overlap(sp, ns)) 2017 + return OMEGA_BAD_ARG; 2018 + return ombr2_run(ombr2_entry_osc_borrow_access, a, result, 1, ou, no); 2019 +} 2020 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_osc_owner_move\n.hidden ombr2_entry_osc_owner_move\nombr2_entry_osc_owner_move:\nhint #34\nb ombr2_code_osc_ownership+8\n.previous\n"); 2021 +extern const unsigned char ombr2_entry_osc_owner_move[] __attribute__((visibility("hidden"))); 2022 +/* export fn osc_owner_move moved ulong shared_count ulong mut_count ulong declaration_depth long loop_depth long to ulong */ 2023 +__attribute__((visibility("default"))) uint32_t omega2_osc_owner_move(uint64_t *result, uint64_t o_moved, uint64_t o_shared_count, uint64_t o_mut_count, uint64_t o_declaration_depth, uint64_t o_loop_depth) 2024 +{ 2025 + ombr_span sp[7]; 2026 + unsigned ns = 0; 2027 + uint64_t a[6] = {0}; 2028 + ombr2_out ou[6] = {{0, 0, 0}}; 2029 + unsigned no = 0; 2030 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 2031 + return OMEGA_BAD_ARG; 2032 + a[0] = o_moved; 2033 + a[1] = o_shared_count; 2034 + a[2] = o_mut_count; 2035 + a[3] = o_declaration_depth; 2036 + a[4] = o_loop_depth; 2037 + if (ombr2_overlap(sp, ns)) 2038 + return OMEGA_BAD_ARG; 2039 + return ombr2_run(ombr2_entry_osc_owner_move, a, result, 1, ou, no); 2040 +} 2041 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_osc_join_owner\n.hidden ombr2_entry_osc_join_owner\nombr2_entry_osc_join_owner:\nhint #34\nb ombr2_code_osc_ownership+12\n.previous\n"); 2042 +extern const unsigned char ombr2_entry_osc_join_owner[] __attribute__((visibility("hidden"))); 2043 +/* export fn osc_join_owner taken view oscowner remaining edit oscowner to ulong */ 2044 +__attribute__((visibility("default"))) uint32_t omega2_osc_join_owner(uint64_t *result, const uint8_t *o_taken, uint8_t *o_remaining) 2045 +{ 2046 + ombr_span sp[7]; 2047 + unsigned ns = 0; 2048 + uint64_t a[6] = {0}; 2049 + ombr2_out ou[6] = {{0, 0, 0}}; 2050 + unsigned no = 0; 2051 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 2052 + return OMEGA_BAD_ARG; 2053 + if (ombr2_fixed(sp, &ns, o_taken, 20u, 1u, 0)) 2054 + return OMEGA_BAD_ARG; 2055 + a[0] = (uint64_t)(uintptr_t)o_taken; 2056 + if (ombr2_fixed(sp, &ns, o_remaining, 20u, 1u, 1)) 2057 + return OMEGA_BAD_ARG; 2058 + a[1] = (uint64_t)(uintptr_t)o_remaining; 2059 + if (ombr2_overlap(sp, ns)) 2060 + return OMEGA_BAD_ARG; 2061 + return ombr2_run(ombr2_entry_osc_join_owner, a, result, 1, ou, no); 2062 +} 2063 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_osc_join_handle\n.hidden ombr2_entry_osc_join_handle\nombr2_entry_osc_join_handle:\nhint #34\nb ombr2_code_osc_ownership+16\n.previous\n"); 2064 +extern const unsigned char ombr2_entry_osc_join_handle[] __attribute__((visibility("hidden"))); 2065 +/* export fn osc_join_handle before long current long other long to long */ 2066 +__attribute__((visibility("default"))) uint32_t omega2_osc_join_handle(uint64_t *result, uint64_t o_before, uint64_t o_current, uint64_t o_other) 2067 +{ 2068 + ombr_span sp[7]; 2069 + unsigned ns = 0; 2070 + uint64_t a[6] = {0}; 2071 + ombr2_out ou[6] = {{0, 0, 0}}; 2072 + unsigned no = 0; 2073 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 2074 + return OMEGA_BAD_ARG; 2075 + a[0] = o_before; 2076 + a[1] = o_current; 2077 + a[2] = o_other; 2078 + if (ombr2_overlap(sp, ns)) 2079 + return OMEGA_BAD_ARG; 2080 + return ombr2_run(ombr2_entry_osc_join_handle, a, result, 1, ou, no); 2081 +} 2082 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_osc_join_frees\n.hidden ombr2_entry_osc_join_frees\nombr2_entry_osc_join_frees:\nhint #34\nb ombr2_code_osc_ownership+20\n.previous\n"); 2083 +extern const unsigned char ombr2_entry_osc_join_frees[] __attribute__((visibility("hidden"))); 2084 +/* export fn osc_join_frees taken view uchar * remaining edit uchar * to void */ 2085 +__attribute__((visibility("default"))) uint32_t omega2_osc_join_frees(uint64_t *result, const uint8_t *o_taken, uint64_t o_taken_len, uint8_t *o_remaining, uint64_t o_remaining_len) 2086 +{ 2087 + ombr_span sp[7]; 2088 + unsigned ns = 0; 2089 + uint64_t a[6] = {0}; 2090 + ombr2_out ou[6] = {{0, 0, 0}}; 2091 + unsigned no = 0; 2092 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 2093 + return OMEGA_BAD_ARG; 2094 + if (ombr2_view(sp, &ns, o_taken, o_taken_len, 1u, 0)) 2095 + return OMEGA_BAD_ARG; 2096 + a[0] = (uint64_t)(uintptr_t)o_taken; 2097 + a[1] = o_taken_len; 2098 + if (ombr2_view(sp, &ns, o_remaining, o_remaining_len, 1u, 1)) 2099 + return OMEGA_BAD_ARG; 2100 + a[2] = (uint64_t)(uintptr_t)o_remaining; 2101 + a[3] = o_remaining_len; 2102 + if (ombr2_overlap(sp, ns)) 2103 + return OMEGA_BAD_ARG; 2104 + return ombr2_run(ombr2_entry_osc_join_frees, a, result, 0, ou, no); 2105 +} 2106 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_osc_init_owner\n.hidden ombr2_entry_osc_init_owner\nombr2_entry_osc_init_owner:\nhint #34\nb ombr2_code_osc_ownership+24\n.previous\n"); 2107 +extern const unsigned char ombr2_entry_osc_init_owner[] __attribute__((visibility("hidden"))); 2108 +/* export fn osc_init_owner item edit oscowner symbol long to void */ 2109 +__attribute__((visibility("default"))) uint32_t omega2_osc_init_owner(uint64_t *result, uint8_t *o_item, uint64_t o_symbol) 2110 +{ 2111 + ombr_span sp[7]; 2112 + unsigned ns = 0; 2113 + uint64_t a[6] = {0}; 2114 + ombr2_out ou[6] = {{0, 0, 0}}; 2115 + unsigned no = 0; 2116 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 2117 + return OMEGA_BAD_ARG; 2118 + if (ombr2_fixed(sp, &ns, o_item, 20u, 1u, 1)) 2119 + return OMEGA_BAD_ARG; 2120 + a[0] = (uint64_t)(uintptr_t)o_item; 2121 + a[1] = o_symbol; 2122 + if (ombr2_overlap(sp, ns)) 2123 + return OMEGA_BAD_ARG; 2124 + return ombr2_run(ombr2_entry_osc_init_owner, a, result, 0, ou, no); 2125 +} 2126 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_osc_open_borrow\n.hidden ombr2_entry_osc_open_borrow\nombr2_entry_osc_open_borrow:\nhint #34\nb ombr2_code_osc_ownership+28\n.previous\n"); 2127 +extern const unsigned char ombr2_entry_osc_open_borrow[] __attribute__((visibility("hidden"))); 2128 +/* export fn osc_open_borrow owner edit oscowner child edit oscbor object long mutable ulong source_line ulong to void */ 2129 +__attribute__((visibility("default"))) uint32_t omega2_osc_open_borrow(uint64_t *result, uint8_t *o_owner, uint8_t *o_child, uint64_t o_object, uint64_t o_mutable, uint64_t o_source_line) 2130 +{ 2131 + ombr_span sp[7]; 2132 + unsigned ns = 0; 2133 + uint64_t a[6] = {0}; 2134 + ombr2_out ou[6] = {{0, 0, 0}}; 2135 + unsigned no = 0; 2136 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 2137 + return OMEGA_BAD_ARG; 2138 + if (ombr2_fixed(sp, &ns, o_owner, 20u, 1u, 1)) 2139 + return OMEGA_BAD_ARG; 2140 + a[0] = (uint64_t)(uintptr_t)o_owner; 2141 + if (ombr2_fixed(sp, &ns, o_child, 24u, 1u, 1)) 2142 + return OMEGA_BAD_ARG; 2143 + a[1] = (uint64_t)(uintptr_t)o_child; 2144 + a[2] = o_object; 2145 + a[3] = o_mutable; 2146 + a[4] = o_source_line; 2147 + if (ombr2_overlap(sp, ns)) 2148 + return OMEGA_BAD_ARG; 2149 + return ombr2_run(ombr2_entry_osc_open_borrow, a, result, 0, ou, no); 2150 +} 2151 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_osc_open_reborrow\n.hidden ombr2_entry_osc_open_reborrow\nombr2_entry_osc_open_reborrow:\nhint #34\nb ombr2_code_osc_ownership+32\n.previous\n"); 2152 +extern const unsigned char ombr2_entry_osc_open_reborrow[] __attribute__((visibility("hidden"))); 2153 +/* export fn osc_open_reborrow parent edit oscbor child edit oscbor object long parent_id long mutable ulong source_line ulong to void */ 2154 +__attribute__((visibility("default"))) uint32_t omega2_osc_open_reborrow(uint64_t *result, uint8_t *o_parent, uint8_t *o_child, uint64_t o_object, uint64_t o_parent_id, uint64_t o_mutable, uint64_t o_source_line) 2155 +{ 2156 + ombr_span sp[7]; 2157 + unsigned ns = 0; 2158 + uint64_t a[6] = {0}; 2159 + ombr2_out ou[6] = {{0, 0, 0}}; 2160 + unsigned no = 0; 2161 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 2162 + return OMEGA_BAD_ARG; 2163 + if (ombr2_fixed(sp, &ns, o_parent, 24u, 1u, 1)) 2164 + return OMEGA_BAD_ARG; 2165 + a[0] = (uint64_t)(uintptr_t)o_parent; 2166 + if (ombr2_fixed(sp, &ns, o_child, 24u, 1u, 1)) 2167 + return OMEGA_BAD_ARG; 2168 + a[1] = (uint64_t)(uintptr_t)o_child; 2169 + a[2] = o_object; 2170 + a[3] = o_parent_id; 2171 + a[4] = o_mutable; 2172 + a[5] = o_source_line; 2173 + if (ombr2_overlap(sp, ns)) 2174 + return OMEGA_BAD_ARG; 2175 + return ombr2_run(ombr2_entry_osc_open_reborrow, a, result, 0, ou, no); 2176 +} 2177 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_osc_close_borrow\n.hidden ombr2_entry_osc_close_borrow\nombr2_entry_osc_close_borrow:\nhint #34\nb ombr2_code_osc_ownership+36\n.previous\n"); 2178 +extern const unsigned char ombr2_entry_osc_close_borrow[] __attribute__((visibility("hidden"))); 2179 +/* export fn osc_close_borrow owner edit oscowner child edit oscbor to void */ 2180 +__attribute__((visibility("default"))) uint32_t omega2_osc_close_borrow(uint64_t *result, uint8_t *o_owner, uint8_t *o_child) 2181 +{ 2182 + ombr_span sp[7]; 2183 + unsigned ns = 0; 2184 + uint64_t a[6] = {0}; 2185 + ombr2_out ou[6] = {{0, 0, 0}}; 2186 + unsigned no = 0; 2187 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 2188 + return OMEGA_BAD_ARG; 2189 + if (ombr2_fixed(sp, &ns, o_owner, 20u, 1u, 1)) 2190 + return OMEGA_BAD_ARG; 2191 + a[0] = (uint64_t)(uintptr_t)o_owner; 2192 + if (ombr2_fixed(sp, &ns, o_child, 24u, 1u, 1)) 2193 + return OMEGA_BAD_ARG; 2194 + a[1] = (uint64_t)(uintptr_t)o_child; 2195 + if (ombr2_overlap(sp, ns)) 2196 + return OMEGA_BAD_ARG; 2197 + return ombr2_run(ombr2_entry_osc_close_borrow, a, result, 0, ou, no); 2198 +} 2199 +__asm__(".section .text.omega_bridge,\"ax\",@progbits\n.balign 4\n.local ombr2_entry_osc_close_reborrow\n.hidden ombr2_entry_osc_close_reborrow\nombr2_entry_osc_close_reborrow:\nhint #34\nb ombr2_code_osc_ownership+40\n.previous\n"); 2200 +extern const unsigned char ombr2_entry_osc_close_reborrow[] __attribute__((visibility("hidden"))); 2201 +/* export fn osc_close_reborrow parent edit oscbor child edit oscbor to void */ 2202 +__attribute__((visibility("default"))) uint32_t omega2_osc_close_reborrow(uint64_t *result, uint8_t *o_parent, uint8_t *o_child) 2203 +{ 2204 + ombr_span sp[7]; 2205 + unsigned ns = 0; 2206 + uint64_t a[6] = {0}; 2207 + ombr2_out ou[6] = {{0, 0, 0}}; 2208 + unsigned no = 0; 2209 + if (ombr_span_add(sp, &ns, result, 1u, 1u, 8u, 1)) 2210 + return OMEGA_BAD_ARG; 2211 + if (ombr2_fixed(sp, &ns, o_parent, 24u, 1u, 1)) 2212 + return OMEGA_BAD_ARG; 2213 + a[0] = (uint64_t)(uintptr_t)o_parent; 2214 + if (ombr2_fixed(sp, &ns, o_child, 24u, 1u, 1)) 2215 + return OMEGA_BAD_ARG; 2216 + a[1] = (uint64_t)(uintptr_t)o_child; 2217 + if (ombr2_overlap(sp, ns)) 2218 + return OMEGA_BAD_ARG; 2219 + return ombr2_run(ombr2_entry_osc_close_reborrow, a, result, 0, ou, no); 2220 +} 1032 2221 /* Generated by omega-bridge src/native.om: the definitions of the C API declared in 1033 2222 * omega_api_decl.h (output apic). Each calls omega2_ and calls abort() on a nonzero status. 1034 2223 * Regenerate it; do not edit it. */ @@ -1290,3 +2479,411 @@ uint64_t cg_gpu_attn_emit(const uint64_t o_sp[8], uint64_t o_ins[8192], uint64_t 1290 2479 abort(); 1291 2480 return r; 1292 2481 } 2482 +/* export fn rx_reg_envelope_ok env view ulong 16 to long */ 2483 +int64_t rx_reg_envelope_ok(const uint64_t o_env[16]) 2484 +{ 2485 + uint64_t r = 0; 2486 + if (omega2_rx_reg_envelope_ok(&r, o_env, 16) != OMEGA_OK) 2487 + abort(); 2488 + return (int64_t)r; 2489 +} 2490 +/* export fn rx_reg_decide env view ulong 16 regime ulong dwell ulong contention ulong pressure ulong to ulong */ 2491 +uint64_t rx_reg_decide(const uint64_t o_env[16], uint64_t o_regime, uint64_t o_dwell, uint64_t o_contention, uint64_t o_pressure) 2492 +{ 2493 + uint64_t r = 0; 2494 + if (omega2_rx_reg_decide(&r, o_env, 16, (uint64_t)o_regime, (uint64_t)o_dwell, (uint64_t)o_contention, (uint64_t)o_pressure) != OMEGA_OK) 2495 + abort(); 2496 + return r; 2497 +} 2498 +/* export fn rx_reg_policy_for env view ulong 16 regime ulong dst edit ulong 4 to void */ 2499 +void rx_reg_policy_for(const uint64_t o_env[16], uint64_t o_regime, uint64_t o_dst[4]) 2500 +{ 2501 + uint64_t r = 0; 2502 + if (omega2_rx_reg_policy_for(&r, o_env, 16, (uint64_t)o_regime, o_dst, 4) != OMEGA_OK) 2503 + abort(); 2504 + (void)r; 2505 +} 2506 +/* export fn rx_reg_apply_check env view ulong 16 pol view ulong 8 to long */ 2507 +int64_t rx_reg_apply_check(const uint64_t o_env[16], const uint64_t o_pol[8]) 2508 +{ 2509 + uint64_t r = 0; 2510 + if (omega2_rx_reg_apply_check(&r, o_env, 16, o_pol, 8) != OMEGA_OK) 2511 + abort(); 2512 + return (int64_t)r; 2513 +} 2514 +/* export fn rx_reg_step env view ulong 16 cond view ulong 8 pol view ulong 8 dst edit ulong 8 to ulong */ 2515 +uint64_t rx_reg_step(const uint64_t o_env[16], const uint64_t o_cond[8], const uint64_t o_pol[8], uint64_t o_dst[8]) 2516 +{ 2517 + uint64_t r = 0; 2518 + if (omega2_rx_reg_step(&r, o_env, 16, o_cond, 8, o_pol, 8, o_dst, 8) != OMEGA_OK) 2519 + abort(); 2520 + return r; 2521 +} 2522 +/* export fn rx_mid_is_zero buf view uchar 32 to ulong */ 2523 +uint64_t rx_mid_is_zero(const uint8_t o_buf[32]) 2524 +{ 2525 + uint64_t r = 0; 2526 + if (omega2_rx_mid_is_zero(&r, o_buf, 32) != OMEGA_OK) 2527 + abort(); 2528 + return r; 2529 +} 2530 +/* export fn rx_mid_equal a view uchar 32 b view uchar 32 to ulong */ 2531 +uint64_t rx_mid_equal(const uint8_t o_a[32], const uint8_t o_b[32]) 2532 +{ 2533 + uint64_t r = 0; 2534 + if (omega2_rx_mid_equal(&r, o_a, 32, o_b, 32) != OMEGA_OK) 2535 + abort(); 2536 + return r; 2537 +} 2538 +/* export fn rx_mid_compare a view uchar 32 b view uchar 32 to long */ 2539 +int64_t rx_mid_compare(const uint8_t o_a[32], const uint8_t o_b[32]) 2540 +{ 2541 + uint64_t r = 0; 2542 + if (omega2_rx_mid_compare(&r, o_a, 32, o_b, 32) != OMEGA_OK) 2543 + abort(); 2544 + return (int64_t)r; 2545 +} 2546 +/* export fn rx_mid_hash buf view uchar 32 to ulong */ 2547 +uint64_t rx_mid_hash(const uint8_t o_buf[32]) 2548 +{ 2549 + uint64_t r = 0; 2550 + if (omega2_rx_mid_hash(&r, o_buf, 32) != OMEGA_OK) 2551 + abort(); 2552 + return r; 2553 +} 2554 +/* export fn rx_mid_pack_hdr root ulong id view uchar 32 rec edit uchar 44 to long */ 2555 +int64_t rx_mid_pack_hdr(uint64_t o_root, const uint8_t o_id[32], uint8_t o_rec[44]) 2556 +{ 2557 + uint64_t r = 0; 2558 + if (omega2_rx_mid_pack_hdr(&r, (uint64_t)o_root, o_id, 32, o_rec, 44) != OMEGA_OK) 2559 + abort(); 2560 + return (int64_t)r; 2561 +} 2562 +/* export fn rx_mid_val_rec rec view uchar 44 chk view uchar 4 dst edit uchar 33 to long */ 2563 +int64_t rx_mid_val_rec(const uint8_t o_rec[44], const uint8_t o_chk[4], uint8_t o_dst[33]) 2564 +{ 2565 + uint64_t r = 0; 2566 + if (omega2_rx_mid_val_rec(&r, o_rec, 44, o_chk, 4, o_dst, 33) != OMEGA_OK) 2567 + abort(); 2568 + return (int64_t)r; 2569 +} 2570 +/* export fn rx_mid_to_hex rec view uchar 44 hex edit uchar 88 to void */ 2571 +void rx_mid_to_hex(const uint8_t o_rec[44], uint8_t o_hex[88]) 2572 +{ 2573 + uint64_t r = 0; 2574 + if (omega2_rx_mid_to_hex(&r, o_rec, 44, o_hex, 88) != OMEGA_OK) 2575 + abort(); 2576 + (void)r; 2577 +} 2578 +/* export fn rx_mid_from_hex hex view uchar 88 rec edit uchar 44 to long */ 2579 +int64_t rx_mid_from_hex(const uint8_t o_hex[88], uint8_t o_rec[44]) 2580 +{ 2581 + uint64_t r = 0; 2582 + if (omega2_rx_mid_from_hex(&r, o_hex, 88, o_rec, 44) != OMEGA_OK) 2583 + abort(); 2584 + return (int64_t)r; 2585 +} 2586 +/* export fn rx_cx_kind_of ckind ulong dst edit ulong 4 to void */ 2587 +void rx_cx_kind_of(uint64_t o_ckind, uint64_t o_dst[4]) 2588 +{ 2589 + uint64_t r = 0; 2590 + if (omega2_rx_cx_kind_of(&r, (uint64_t)o_ckind, o_dst, 4) != OMEGA_OK) 2591 + abort(); 2592 + (void)r; 2593 +} 2594 +/* export fn rx_cx_pack_digest dig view uchar 32 dst edit ulong 4 to void */ 2595 +void rx_cx_pack_digest(const uint8_t o_dig[32], uint64_t o_dst[4]) 2596 +{ 2597 + uint64_t r = 0; 2598 + if (omega2_rx_cx_pack_digest(&r, o_dig, 32, o_dst, 4) != OMEGA_OK) 2599 + abort(); 2600 + (void)r; 2601 +} 2602 +/* export fn rx_cx_dedup_links cause ulong parents view ulong * dst edit ulong 8 max_links ulong to ulong */ 2603 +uint64_t rx_cx_dedup_links(uint64_t o_cause, const uint64_t *o_parents, size_t o_parents_len, uint64_t o_dst[8], uint64_t o_max_links) 2604 +{ 2605 + uint64_t r = 0; 2606 + if (omega2_rx_cx_dedup_links(&r, (uint64_t)o_cause, o_parents, o_parents_len, o_dst, 8, (uint64_t)o_max_links) != OMEGA_OK) 2607 + abort(); 2608 + return r; 2609 +} 2610 +/* export fn rx_pl_word dig view uchar 32 k ulong to ulong */ 2611 +uint64_t rx_pl_word(const uint8_t o_dig[32], uint64_t o_k) 2612 +{ 2613 + uint64_t r = 0; 2614 + if (omega2_rx_pl_word(&r, o_dig, 32, (uint64_t)o_k) != OMEGA_OK) 2615 + abort(); 2616 + return r; 2617 +} 2618 +/* export fn rx_pla_fact_pack xid ulong xgen ulong is_floor ulong tid ulong tgen ulong to ulong */ 2619 +uint64_t rx_pla_fact_pack(uint64_t o_xid, uint64_t o_xgen, uint64_t o_is_floor, uint64_t o_tid, uint64_t o_tgen) 2620 +{ 2621 + uint64_t r = 0; 2622 + if (omega2_rx_pla_fact_pack(&r, (uint64_t)o_xid, (uint64_t)o_xgen, (uint64_t)o_is_floor, (uint64_t)o_tid, (uint64_t)o_tgen) != OMEGA_OK) 2623 + abort(); 2624 + return r; 2625 +} 2626 +/* export fn rx_pla_fact_unpack f ulong dst edit ulong 5 to void */ 2627 +void rx_pla_fact_unpack(uint64_t o_f, uint64_t o_dst[5]) 2628 +{ 2629 + uint64_t r = 0; 2630 + if (omega2_rx_pla_fact_unpack(&r, (uint64_t)o_f, o_dst, 5) != OMEGA_OK) 2631 + abort(); 2632 + (void)r; 2633 +} 2634 +/* export fn rx_pl_sort_preds buf edit ulong 288 n ulong to void */ 2635 +void rx_pl_sort_preds(uint64_t o_buf[288], uint64_t o_n) 2636 +{ 2637 + uint64_t r = 0; 2638 + if (omega2_rx_pl_sort_preds(&r, o_buf, 288, (uint64_t)o_n) != OMEGA_OK) 2639 + abort(); 2640 + (void)r; 2641 +} 2642 +/* export fn rx_pj_summarize w view ulong * dst edit ulong 5 to void */ 2643 +void rx_pj_summarize(const uint64_t *o_w, size_t o_w_len, uint64_t o_dst[5]) 2644 +{ 2645 + uint64_t r = 0; 2646 + if (omega2_rx_pj_summarize(&r, o_w, o_w_len, o_dst, 5) != OMEGA_OK) 2647 + abort(); 2648 + (void)r; 2649 +} 2650 +/* export fn rx_pj_section_of protect ulong cls ulong treatment ulong temporal ulong to ulong */ 2651 +uint64_t rx_pj_section_of(uint64_t o_protect, uint64_t o_cls, uint64_t o_treatment, uint64_t o_temporal) 2652 +{ 2653 + uint64_t r = 0; 2654 + if (omega2_rx_pj_section_of(&r, (uint64_t)o_protect, (uint64_t)o_cls, (uint64_t)o_treatment, (uint64_t)o_temporal) != OMEGA_OK) 2655 + abort(); 2656 + return r; 2657 +} 2658 +/* export fn rx_pj_form_of treatment ulong to ulong */ 2659 +uint64_t rx_pj_form_of(uint64_t o_treatment) 2660 +{ 2661 + uint64_t r = 0; 2662 + if (omega2_rx_pj_form_of(&r, (uint64_t)o_treatment) != OMEGA_OK) 2663 + abort(); 2664 + return r; 2665 +} 2666 +/* export fn rx_cq_key_hash cap_id ulong real_id ulong mach_id ulong skill_id ulong to ulong */ 2667 +uint64_t rx_cq_key_hash(uint64_t o_cap_id, uint64_t o_real_id, uint64_t o_mach_id, uint64_t o_skill_id) 2668 +{ 2669 + uint64_t r = 0; 2670 + if (omega2_rx_cq_key_hash(&r, (uint64_t)o_cap_id, (uint64_t)o_real_id, (uint64_t)o_mach_id, (uint64_t)o_skill_id) != OMEGA_OK) 2671 + abort(); 2672 + return r; 2673 +} 2674 +/* export fn rx_cq_dim_value vals view ulong 7 dim ulong to ulong */ 2675 +uint64_t rx_cq_dim_value(const uint64_t o_vals[7], uint64_t o_dim) 2676 +{ 2677 + uint64_t r = 0; 2678 + if (omega2_rx_cq_dim_value(&r, o_vals, 7, (uint64_t)o_dim) != OMEGA_OK) 2679 + abort(); 2680 + return r; 2681 +} 2682 +/* export fn rx_cq_dominates a view ulong 7 b view ulong 7 dims view uchar 7 nd ulong to ulong */ 2683 +uint64_t rx_cq_dominates(const uint64_t o_a[7], const uint64_t o_b[7], const uint8_t o_dims[7], uint64_t o_nd) 2684 +{ 2685 + uint64_t r = 0; 2686 + if (omega2_rx_cq_dominates(&r, o_a, 7, o_b, 7, o_dims, 7, (uint64_t)o_nd) != OMEGA_OK) 2687 + abort(); 2688 + return r; 2689 +} 2690 +/* export fn rx_cq_cmp_full a view ulong 11 b view ulong 11 dims view uchar 7 nd ulong to long */ 2691 +int64_t rx_cq_cmp_full(const uint64_t o_a[11], const uint64_t o_b[11], const uint8_t o_dims[7], uint64_t o_nd) 2692 +{ 2693 + uint64_t r = 0; 2694 + if (omega2_rx_cq_cmp_full(&r, o_a, 11, o_b, 11, o_dims, 7, (uint64_t)o_nd) != OMEGA_OK) 2695 + abort(); 2696 + return (int64_t)r; 2697 +} 2698 +/* export fn rx_cq_within v ulong best ulong tol_ppm ulong to ulong */ 2699 +uint64_t rx_cq_within(uint64_t o_v, uint64_t o_best, uint64_t o_tol_ppm) 2700 +{ 2701 + uint64_t r = 0; 2702 + if (omega2_rx_cq_within(&r, (uint64_t)o_v, (uint64_t)o_best, (uint64_t)o_tol_ppm) != OMEGA_OK) 2703 + abort(); 2704 + return r; 2705 +} 2706 +/* export fn rx_cm_fit_predict tri view ulong 36 xty_u view ulong 8 phi_u view ulong 8 meta view ulong 2 dst edit ulong 4 to ulong */ 2707 +uint64_t rx_cm_fit_predict(const uint64_t o_tri[36], const uint64_t o_xty_u[8], const uint64_t o_phi_u[8], const uint64_t o_meta[2], uint64_t o_dst[4]) 2708 +{ 2709 + uint64_t r = 0; 2710 + if (omega2_rx_cm_fit_predict(&r, o_tri, 36, o_xty_u, 8, o_phi_u, 8, o_meta, 2, o_dst, 4) != OMEGA_OK) 2711 + abort(); 2712 + return r; 2713 +} 2714 +/* export fn rx_cm_rank1_update tri edit ulong 36 xty edit ulong 8 phi view ulong 8 y_bits ulong to void */ 2715 +void rx_cm_rank1_update(uint64_t o_tri[36], uint64_t o_xty[8], const uint64_t o_phi[8], uint64_t o_y_bits) 2716 +{ 2717 + uint64_t r = 0; 2718 + if (omega2_rx_cm_rank1_update(&r, o_tri, 36, o_xty, 8, o_phi, 8, (uint64_t)o_y_bits) != OMEGA_OK) 2719 + abort(); 2720 + (void)r; 2721 +} 2722 +/* export fn rx_rt_conf_bin conf ulong conf_one ulong bins ulong to ulong */ 2723 +uint64_t rx_rt_conf_bin(uint64_t o_conf, uint64_t o_conf_one, uint64_t o_bins) 2724 +{ 2725 + uint64_t r = 0; 2726 + if (omega2_rx_rt_conf_bin(&r, (uint64_t)o_conf, (uint64_t)o_conf_one, (uint64_t)o_bins) != OMEGA_OK) 2727 + abort(); 2728 + return r; 2729 +} 2730 +/* export fn rx_rt_wilson k ulong n ulong dst edit ulong 2 to void */ 2731 +void rx_rt_wilson(uint64_t o_k, uint64_t o_n, uint64_t o_dst[2]) 2732 +{ 2733 + uint64_t r = 0; 2734 + if (omega2_rx_rt_wilson(&r, (uint64_t)o_k, (uint64_t)o_n, o_dst, 2) != OMEGA_OK) 2735 + abort(); 2736 + (void)r; 2737 +} 2738 +/* export fn rx_world_state_legal from ulong dest ulong to ulong */ 2739 +uint64_t rx_world_state_legal(uint64_t o_from, uint64_t o_dest) 2740 +{ 2741 + uint64_t r = 0; 2742 + if (omega2_rx_world_state_legal(&r, (uint64_t)o_from, (uint64_t)o_dest) != OMEGA_OK) 2743 + abort(); 2744 + return r; 2745 +} 2746 +/* export fn rx_world_res_fits used view ulong 4 budget view ulong 6 need view ulong 5 to ulong */ 2747 +uint64_t rx_world_res_fits(const uint64_t o_used[4], const uint64_t o_budget[6], const uint64_t o_need[5]) 2748 +{ 2749 + uint64_t r = 0; 2750 + if (omega2_rx_world_res_fits(&r, o_used, 4, o_budget, 6, o_need, 5) != OMEGA_OK) 2751 + abort(); 2752 + return r; 2753 +} 2754 +/* export fn rx_world_better_admit a view ulong 3 b view ulong 3 to ulong */ 2755 +uint64_t rx_world_better_admit(const uint64_t o_a[3], const uint64_t o_b[3]) 2756 +{ 2757 + uint64_t r = 0; 2758 + if (omega2_rx_world_better_admit(&r, o_a, 3, o_b, 3) != OMEGA_OK) 2759 + abort(); 2760 + return r; 2761 +} 2762 +/* export fn rx_sr_digest_zero d view uchar 32 to ulong */ 2763 +uint64_t rx_sr_digest_zero(const uint8_t o_d[32]) 2764 +{ 2765 + uint64_t r = 0; 2766 + if (omega2_rx_sr_digest_zero(&r, o_d, 32) != OMEGA_OK) 2767 + abort(); 2768 + return r; 2769 +} 2770 +/* export fn rx_sr_why_of counts view ulong 10 to ulong */ 2771 +uint64_t rx_sr_why_of(const uint64_t o_counts[10]) 2772 +{ 2773 + uint64_t r = 0; 2774 + if (omega2_rx_sr_why_of(&r, o_counts, 10) != OMEGA_OK) 2775 + abort(); 2776 + return r; 2777 +} 2778 +/* export fn rx_fus_word64 d view uchar 8 to ulong */ 2779 +uint64_t rx_fus_word64(const uint8_t o_d[8]) 2780 +{ 2781 + uint64_t r = 0; 2782 + if (omega2_rx_fus_word64(&r, o_d, 8) != OMEGA_OK) 2783 + abort(); 2784 + return r; 2785 +} 2786 +/* export fn rx_fus_eligible_kind k ulong to ulong */ 2787 +uint64_t rx_fus_eligible_kind(uint64_t o_k) 2788 +{ 2789 + uint64_t r = 0; 2790 + if (omega2_rx_fus_eligible_kind(&r, (uint64_t)o_k) != OMEGA_OK) 2791 + abort(); 2792 + return r; 2793 +} 2794 +/* export fn osc_parse_literal spelling view uchar * value out ulong 1 to ulong */ 2795 +uint64_t osc_parse_literal(const uint8_t *o_spelling, size_t o_spelling_len, uint64_t o_value[1]) 2796 +{ 2797 + uint64_t r = 0; 2798 + if (omega2_osc_parse_literal(&r, o_spelling, o_spelling_len, o_value) != OMEGA_OK) 2799 + abort(); 2800 + return r; 2801 +} 2802 +/* export fn osc_owner_access moved ulong exclusive ulong shared_count ulong mut_count ulong to ulong */ 2803 +uint64_t osc_owner_access(uint64_t o_moved, uint64_t o_exclusive, uint64_t o_shared_count, uint64_t o_mut_count) 2804 +{ 2805 + uint64_t r = 0; 2806 + if (omega2_osc_owner_access(&r, (uint64_t)o_moved, (uint64_t)o_exclusive, (uint64_t)o_shared_count, (uint64_t)o_mut_count) != OMEGA_OK) 2807 + abort(); 2808 + return r; 2809 +} 2810 +/* export fn osc_borrow_access writable ulong exclusive ulong shared_count ulong mut_count ulong to ulong */ 2811 +uint64_t osc_borrow_access(uint64_t o_writable, uint64_t o_exclusive, uint64_t o_shared_count, uint64_t o_mut_count) 2812 +{ 2813 + uint64_t r = 0; 2814 + if (omega2_osc_borrow_access(&r, (uint64_t)o_writable, (uint64_t)o_exclusive, (uint64_t)o_shared_count, (uint64_t)o_mut_count) != OMEGA_OK) 2815 + abort(); 2816 + return r; 2817 +} 2818 +/* export fn osc_owner_move moved ulong shared_count ulong mut_count ulong declaration_depth long loop_depth long to ulong */ 2819 +uint64_t osc_owner_move(uint64_t o_moved, uint64_t o_shared_count, uint64_t o_mut_count, int64_t o_declaration_depth, int64_t o_loop_depth) 2820 +{ 2821 + uint64_t r = 0; 2822 + if (omega2_osc_owner_move(&r, (uint64_t)o_moved, (uint64_t)o_shared_count, (uint64_t)o_mut_count, (uint64_t)o_declaration_depth, (uint64_t)o_loop_depth) != OMEGA_OK) 2823 + abort(); 2824 + return r; 2825 +} 2826 +/* export fn osc_join_owner taken view oscowner remaining edit oscowner to ulong */ 2827 +uint64_t osc_join_owner(const OscCheckedOwner *o_taken, OscCheckedOwner *o_remaining) 2828 +{ 2829 + uint64_t r = 0; 2830 + if (omega2_osc_join_owner(&r, (const uint8_t *)o_taken, (uint8_t *)o_remaining) != OMEGA_OK) 2831 + abort(); 2832 + return r; 2833 +} 2834 +/* export fn osc_join_handle before long current long other long to long */ 2835 +int64_t osc_join_handle(int64_t o_before, int64_t o_current, int64_t o_other) 2836 +{ 2837 + uint64_t r = 0; 2838 + if (omega2_osc_join_handle(&r, (uint64_t)o_before, (uint64_t)o_current, (uint64_t)o_other) != OMEGA_OK) 2839 + abort(); 2840 + return (int64_t)r; 2841 +} 2842 +/* export fn osc_join_frees taken view uchar * remaining edit uchar * to void */ 2843 +void osc_join_frees(const uint8_t *o_taken, size_t o_taken_len, uint8_t *o_remaining, size_t o_remaining_len) 2844 +{ 2845 + uint64_t r = 0; 2846 + if (omega2_osc_join_frees(&r, o_taken, o_taken_len, o_remaining, o_remaining_len) != OMEGA_OK) 2847 + abort(); 2848 + (void)r; 2849 +} 2850 +/* export fn osc_init_owner item edit oscowner symbol long to void */ 2851 +void osc_init_owner(OscCheckedOwner *o_item, int64_t o_symbol) 2852 +{ 2853 + uint64_t r = 0; 2854 + if (omega2_osc_init_owner(&r, (uint8_t *)o_item, (uint64_t)o_symbol) != OMEGA_OK) 2855 + abort(); 2856 + (void)r; 2857 +} 2858 +/* export fn osc_open_borrow owner edit oscowner child edit oscbor object long mutable ulong source_line ulong to void */ 2859 +void osc_open_borrow(OscCheckedOwner *o_owner, OscCheckedBorrow *o_child, int64_t o_object, uint64_t o_mutable, uint64_t o_source_line) 2860 +{ 2861 + uint64_t r = 0; 2862 + if (omega2_osc_open_borrow(&r, (uint8_t *)o_owner, (uint8_t *)o_child, (uint64_t)o_object, (uint64_t)o_mutable, (uint64_t)o_source_line) != OMEGA_OK) 2863 + abort(); 2864 + (void)r; 2865 +} 2866 +/* export fn osc_open_reborrow parent edit oscbor child edit oscbor object long parent_id long mutable ulong source_line ulong to void */ 2867 +void osc_open_reborrow(OscCheckedBorrow *o_parent, OscCheckedBorrow *o_child, int64_t o_object, int64_t o_parent_id, uint64_t o_mutable, uint64_t o_source_line) 2868 +{ 2869 + uint64_t r = 0; 2870 + if (omega2_osc_open_reborrow(&r, (uint8_t *)o_parent, (uint8_t *)o_child, (uint64_t)o_object, (uint64_t)o_parent_id, (uint64_t)o_mutable, (uint64_t)o_source_line) != OMEGA_OK) 2871 + abort(); 2872 + (void)r; 2873 +} 2874 +/* export fn osc_close_borrow owner edit oscowner child edit oscbor to void */ 2875 +void osc_close_borrow(OscCheckedOwner *o_owner, OscCheckedBorrow *o_child) 2876 +{ 2877 + uint64_t r = 0; 2878 + if (omega2_osc_close_borrow(&r, (uint8_t *)o_owner, (uint8_t *)o_child) != OMEGA_OK) 2879 + abort(); 2880 + (void)r; 2881 +} 2882 +/* export fn osc_close_reborrow parent edit oscbor child edit oscbor to void */ 2883 +void osc_close_reborrow(OscCheckedBorrow *o_parent, OscCheckedBorrow *o_child) 2884 +{ 2885 + uint64_t r = 0; 2886 + if (omega2_osc_close_reborrow(&r, (uint8_t *)o_parent, (uint8_t *)o_child) != OMEGA_OK) 2887 + abort(); 2888 + (void)r; 2889 +} src/omega_om_units.ident @@ -12,3 +12,16 @@ omega-ident 1 unit=cg_moe abi=2 profile=OM-2 src=`dcf592bf60aca2d6e44a7a694615d5b` 12 12 omega-ident 1 unit=cg_qmma abi=2 profile=OM-2 src=`6eb722995d1719a48a119f2bd7e8e3f1055c79cc66bbac86c07c9668ea5b1f39` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/gpu/cg_qmma.om 13 13 omega-ident 1 unit=cg_pfhost abi=2 profile=OM-2 src=`9764ba7829d50a06b0fda28528da12ce871f03144e8dcda4e9aa15351a6c39f4` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/gpu/cg_pfhost.om 14 14 omega-ident 1 unit=cg_gpu_attn abi=2 profile=OM-2 src=`076e736c118de55183d6255f1d8417d5e298253ae2358d99e3fc829558632f3e` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/gpu/cg_gpu_attn.om 15 +omega-ident 1 unit=rx_regulate abi=2 profile=OM-2 src=`b274ce15ba5c41bf97ee3a80879c9fc4c342b025c996148eecaca2dc104bd263` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/runtime/rx_regulate.om 16 +omega-ident 1 unit=rx_mid abi=2 profile=OM-2 src=`4959ddf61f6015f6f5bce857b12a16f50d94b8278ccde25c8e931ce3b5c98887` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/runtime/rx_mid.om 17 +omega-ident 1 unit=rx_cortex_rec abi=2 profile=OM-2 src=`29f832bab2e55623345ca382b60578677859133221533468fdd79068ab46459a` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/runtime/rx_cortex_rec.om 18 +omega-ident 1 unit=rx_plan_core abi=2 profile=OM-2 src=`4230535f0ff37d7e9996e4dc56f2c8a4c605f7bf9b31b0bdf89ed8d4c808157a` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/runtime/rx_plan_core.om 19 +omega-ident 1 unit=rx_projection abi=2 profile=OM-2 src=`a6f9742bb4b20bcb7ac70694a19cb59722e73ad1fcecfcc0bcb833a0441ded9d` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/runtime/rx_projection.om 20 +omega-ident 1 unit=rx_capq_core abi=2 profile=OM-2 src=`55e7902df4087d1329ae1c21fb10a1c3a2b66a9a42dca73d3a27f98c88714f51` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/runtime/rx_capq_core.om 21 +omega-ident 1 unit=rx_costmodel_core abi=2 profile=OM-2 src=`77b9ac8c9e88186d9cc1019660a2b0f99442892f83eedb3cebf72a0e56223e11` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/runtime/rx_costmodel_core.om 22 +omega-ident 1 unit=rx_route_core abi=2 profile=OM-2 src=`4d45fdbb7089300c5a9f7889f5d6a39395e5d9632fa405ba2286cb19a6f436ec` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/runtime/rx_route_core.om 23 +omega-ident 1 unit=rx_world_core abi=2 profile=OM-2 src=`fe6656a9770cd0721dd5d5e885bc506ec68ca34d67243cf4b7da57d5e46a0611` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/runtime/rx_world_core.om 24 +omega-ident 1 unit=rx_skillroute_core abi=2 profile=OM-2 src=`568e2a8345feaffe9d1c119697426be1564d2b2317f8bdd192ad7756c39a6c3d` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/runtime/rx_skillroute_core.om 25 +omega-ident 1 unit=rx_fusion_core abi=2 profile=OM-2 src=`aab22272005a4d65c2ada2b9754906cdaa7736ae127042f84457d548875d1ee6` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/runtime/rx_fusion_core.om 26 +omega-ident 1 unit=osc_literal abi=2 profile=OM-2 src=`c61bdcbb9f71b01df86fba045b4206809091e709eba208939a4270b67dabbce2` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/compiler/osc_literal.om 27 +omega-ident 1 unit=osc_ownership abi=2 profile=OM-2 src=`4057f369075c9ea7e8df9c208f640eb5361dacd2608138cb04b853db082c4d33` omc=`b6129ed51e07dd8ef7f33e78fdff99d6c4d914e3bccdaf8b344043b95017d4f2` path=om/compiler/osc_ownership.om src/runtime/aien_machine_id.h @@ -81,6 +81,7 @@ 81 81 #ifndef AIEN_MACHINE_ID_H 82 82 #define AIEN_MACHINE_ID_H 83 83 84 +#include "omega_native.h" 84 85 #include "sha256.h" 85 86 86 87 #include @@ -118,9 +119,9 @@ typedef struct { 118 119 } AienMachineId; 119 120 120 121 static inline int aien_mid_is_zero_(const uint8_t *b) { 121 - uint8_t acc = 0; 122 - for (unsigned i = 0; i < AIEN_MID_ID_BYTES; i++) acc |= b[i]; 123 - return acc == 0; 122 + uint64_t res = 1; 123 + if (omega2_rx_mid_is_zero(&res, b, AIEN_MID_ID_BYTES) != OMEGA_OK) return 1; 124 + return res != 0; 124 125 } 125 126 126 127 static inline int aien_mid_root_valid_(uint8_t r) { @@ -166,17 +167,25 @@ static inline void aien_mid_to_slot(const AienMachineId *m, uint8_t slot[AIEN_MI 166 167 /* Equality and hash: the 32 id bytes only. Hash is the first 8 id bytes read 167 168 * big-endian: the same on every host, no seed. */ 168 169 static inline int aien_mid_equal(const AienMachineId *a, const AienMachineId *b) { 169 - return memcmp(a->id, b->id, AIEN_MID_ID_BYTES) == 0; 170 + if (a == b) return 1; 171 + uint64_t res = 0; 172 + if (omega2_rx_mid_equal(&res, a->id, AIEN_MID_ID_BYTES, b->id, AIEN_MID_ID_BYTES) != OMEGA_OK) 173 + return 0; 174 + return res != 0; 170 175 } 171 176 172 177 static inline int aien_mid_compare(const AienMachineId *a, const AienMachineId *b) { 173 - return memcmp(a->id, b->id, AIEN_MID_ID_BYTES); 178 + if (a == b) return 0; 179 + uint64_t res = 0; 180 + if (omega2_rx_mid_compare(&res, a->id, AIEN_MID_ID_BYTES, b->id, AIEN_MID_ID_BYTES) != OMEGA_OK) 181 + return 0; 182 + return (int)(int64_t)res; 174 183 } 175 184 176 185 static inline uint64_t aien_mid_hash(const AienMachineId *m) { 177 - uint64_t h = 0; 178 - for (unsigned i = 0; i < 8; i++) h = (h << 8) | m->id[i]; 179 - return h; 186 + uint64_t res = 0; 187 + (void)omega2_rx_mid_hash(&res, m->id, AIEN_MID_ID_BYTES); 188 + return res; 180 189 } 181 190 182 191 static inline void aien_mid_check_(const uint8_t rec[AIEN_MID_RECORD_BYTES], uint8_t out[4]) { @@ -186,13 +195,12 @@ static inline void aien_mid_check_(const uint8_t rec[AIEN_MID_RECORD_BYTES], uin 186 195 } 187 196 188 197 static inline int aien_mid_encode(const AienMachineId *m, uint8_t out[AIEN_MID_RECORD_BYTES]) { 189 - if (!m || !out || !aien_mid_root_valid_(m->root)) return AIEN_MID_E_ARG; 190 - if (aien_mid_is_zero_(m->id)) return AIEN_MID_E_ZERO; 191 - out[0] = 'A'; out[1] = 'M'; out[2] = 'I'; out[3] = 'D'; 192 - out[4] = AIEN_MID_VERSION; 193 - out[5] = m->root; 194 - out[6] = 0; out[7] = 0; 195 - memcpy(out + 8, m->id, AIEN_MID_ID_BYTES); 198 + if (!m || !out) return AIEN_MID_E_ARG; 199 + uint64_t res = 0; 200 + if (omega2_rx_mid_pack_hdr(&res, (uint64_t)m->root, m->id, AIEN_MID_ID_BYTES, 201 + out, AIEN_MID_RECORD_BYTES) != OMEGA_OK) 202 + return AIEN_MID_E_ARG; 203 + if ((int64_t)res != AIEN_MID_OK) return (int)(int64_t)res; 196 204 aien_mid_check_(out, out + 40); 197 205 return AIEN_MID_OK; 198 206 } @@ -200,48 +208,39 @@ static inline int aien_mid_encode(const AienMachineId *m, uint8_t out[AIEN_MID_R 200 208 static inline int aien_mid_decode(const uint8_t *in, size_t len, AienMachineId *out) { 201 209 if (!in || !out) return AIEN_MID_E_ARG; 202 210 if (len != AIEN_MID_RECORD_BYTES) return AIEN_MID_E_FORMAT; 203 - if (in[0] != 'A' || in[1] != 'M' || in[2] != 'I' || in[3] != 'D' || 204 - in[4] != AIEN_MID_VERSION || in[6] != 0 || in[7] != 0) 205 - return AIEN_MID_E_FORMAT; 206 - if (!aien_mid_root_valid_(in[5])) return AIEN_MID_E_FORMAT; 207 - uint8_t chk[4]; 211 + uint8_t chk[4], dst[33]; 208 212 aien_mid_check_(in, chk); 209 - if (memcmp(chk, in + 40, 4) != 0) return AIEN_MID_E_CHECK; 210 - if (aien_mid_is_zero_(in + 8)) return AIEN_MID_E_ZERO; 211 - out->root = in[5]; 212 - memcpy(out->id, in + 8, AIEN_MID_ID_BYTES); 213 + uint64_t res = 0; 214 + if (omega2_rx_mid_val_rec(&res, in, AIEN_MID_RECORD_BYTES, chk, 4, dst, 33) != OMEGA_OK) 215 + return AIEN_MID_E_ARG; 216 + if ((int64_t)res != AIEN_MID_OK) return (int)(int64_t)res; 217 + out->root = dst[0]; 218 + memcpy(out->id, dst + 1, AIEN_MID_ID_BYTES); 213 219 return AIEN_MID_OK; 214 220 } 215 221 216 222 /* Text form: out must hold AIEN_MID_TEXT_CHARS + 1 bytes (NUL-terminated). */ 217 223 static inline int aien_mid_to_text(const AienMachineId *m, char out[AIEN_MID_TEXT_CHARS + 1]) { 218 - static const char hx[] = "`0123456789abcdef`"; 219 224 uint8_t rec[AIEN_MID_RECORD_BYTES]; 220 225 int rc = aien_mid_encode(m, rec); 221 226 if (rc != AIEN_MID_OK) return rc; 222 - for (unsigned i = 0; i < AIEN_MID_RECORD_BYTES; i++) { 223 - out[2 * i] = hx[rec[i] >> 4]; 224 - out[2 * i + 1] = hx[rec[i] & 15]; 225 - } 227 + uint64_t res = 0; 228 + if (omega2_rx_mid_to_hex(&res, rec, AIEN_MID_RECORD_BYTES, 229 + (uint8_t *)out, AIEN_MID_TEXT_CHARS) != OMEGA_OK) 230 + return AIEN_MID_E_ARG; 226 231 out[AIEN_MID_TEXT_CHARS] = 0; 227 232 return AIEN_MID_OK; 228 233 } 229 234 230 -static inline int aien_mid_hexval_(char c) { 231 - if (c >= '0' && c <= '9') return c - '0'; 232 - if (c >= 'a' && c <= 'f') return c - 'a' + 10; 233 - return -1; /* uppercase is not canonical */ 234 -} 235 - 236 235 static inline int aien_mid_from_text(const char *s, AienMachineId *out) { 237 236 if (!s || !out) return AIEN_MID_E_ARG; 238 237 if (strlen(s) != AIEN_MID_TEXT_CHARS) return AIEN_MID_E_FORMAT; 239 238 uint8_t rec[AIEN_MID_RECORD_BYTES]; 240 - for (unsigned i = 0; i < AIEN_MID_RECORD_BYTES; i++) { 241 - int hi = aien_mid_hexval_(s[2 * i]), lo = aien_mid_hexval_(s[2 * i + 1]); 242 - if (hi < 0 || lo < 0) return AIEN_MID_E_FORMAT; 243 - rec[i] = (uint8_t)(hi << 4 | lo); 244 - } 239 + uint64_t res = 0; 240 + if (omega2_rx_mid_from_hex(&res, (const uint8_t *)s, AIEN_MID_TEXT_CHARS, 241 + rec, AIEN_MID_RECORD_BYTES) != OMEGA_OK) 242 + return AIEN_MID_E_FORMAT; 243 + if ((int64_t)res != AIEN_MID_OK) return (int)(int64_t)res; 245 244 return aien_mid_decode(rec, sizeof rec, out); 246 245 } 247 246 src/runtime/rx_capq.c @@ -24,6 +24,7 @@ 24 24 */ 25 25 #include "rx_capq.h" 26 26 27 +#include "omega_native.h" 27 28 #include "sha256.h" 28 29 29 30 #include @@ -186,11 +187,10 @@ CqKey cq_key_of_candidate(const CqCandidate *x) { 186 187 } 187 188 188 189 static uint32_t key_hash(const CqKey *k) { 189 - uint64_t h = (uint64_t)k->capability_id * 0x9E3779B97F4A7C15ull; 190 - h ^= (uint64_t)k->realization_id + 0xBF58476D1CE4E5B9ull + (h << 6) + (h >> 2); 191 - h ^= (uint64_t)k->machine_id + 0x94D049BB133111EBull + (h << 6) + (h >> 2); 192 - h ^= (uint64_t)k->skill_id + 0x9E3779B97F4A7C15ull + (h << 6) + (h >> 2); 193 - return (uint32_t)(h ^ (h >> 32)); 190 + uint64_t res = 0; 191 + (void)omega2_rx_cq_key_hash(&res, (uint64_t)k->capability_id, (uint64_t)k->realization_id, 192 + (uint64_t)k->machine_id, (uint64_t)k->skill_id); 193 + return (uint32_t)res; 194 194 } 195 195 196 196 static int key_eq(const CqEntry *e, const CqKey *k) { @@ -448,17 +448,29 @@ int cq_compile(const CqCatalog *c, const CqNeed *need, CqPlan *plan) { 448 448 449 449 /* ---- ranking ---- */ 450 450 451 +static void pack_cand_7(const CqCandidate *c, uint64_t out[7]) { 452 + out[0] = c->expected_cost; 453 + out[1] = c->expected_latency; 454 + out[2] = c->expected_energy; 455 + out[3] = c->confidence; 456 + out[4] = c->reliability; 457 + out[5] = c->required_authority.held ? 1ull : 0ull; 458 + out[6] = c->local ? 1ull : 0ull; 459 +} 460 + 461 +static void pack_cand_11(const CqCandidate *c, uint64_t out[11]) { 462 + pack_cand_7(c, out); 463 + out[7] = c->capability_id; 464 + out[8] = c->realization_id; 465 + out[9] = c->machine_id; 466 + out[10] = c->skill_id; 467 +} 468 + 451 469 uint64_t cq_dim_value(const CqCandidate *c, uint32_t dim) { 452 - switch (dim) { 453 - case CQ_DIM_COST: return c->expected_cost; 454 - case CQ_DIM_LATENCY: return c->expected_latency; 455 - case CQ_DIM_ENERGY: return c->expected_energy; 456 - case CQ_DIM_CONFIDENCE: return c->confidence >= CQ_PPM ? 0 : CQ_PPM - c->confidence; 457 - case CQ_DIM_RELIABILITY: return c->reliability >= CQ_PPM ? 0 : CQ_PPM - c->reliability; 458 - case CQ_DIM_AUTHORITY: return c->required_authority.held ? 0 : 1; 459 - case CQ_DIM_LOCALITY: return c->local ? 0 : 1; 460 - default: return 0; 461 - } 470 + uint64_t vals[7], res = 0; 471 + pack_cand_7(c, vals); 472 + (void)omega2_rx_cq_dim_value(&res, vals, 7, (uint64_t)dim); 473 + return res; 462 474 } 463 475 464 476 typedef struct { @@ -469,15 +481,13 @@ typedef struct { 469 481 470 482 /* Strict order: the named dimensions, then the ids. */ 471 483 static int cmp_full(const CqCandidate *a, const CqCandidate *b, const uint8_t *dims, uint32_t nd) { 472 - for (uint32_t i = 0; i < nd; i++) { 473 - uint64_t x = cq_dim_value(a, dims[i]), y = cq_dim_value(b, dims[i]); 474 - if (x != y) return x < y ? -1 : 1; 475 - } 476 - uint32_t ka[4] = { a->capability_id, a->realization_id, a->machine_id, a->skill_id }; 477 - uint32_t kb[4] = { b->capability_id, b->realization_id, b->machine_id, b->skill_id }; 478 - for (int i = 0; i < 4; i++) 479 - if (ka[i] != kb[i]) return ka[i] < kb[i] ? -1 : 1; 480 - return 0; 484 + uint64_t pa[11], pb[11], res = 0; 485 + uint8_t d7[7] = { 0 }; 486 + pack_cand_11(a, pa); 487 + pack_cand_11(b, pb); 488 + for (uint32_t i = 0; i < nd && i < 7; i++) d7[i] = dims[i]; 489 + (void)omega2_rx_cq_cmp_full(&res, pa, 11, pb, 11, d7, 7, (uint64_t)nd); 490 + return (int)(int64_t)res; 481 491 } 482 492 483 493 static __thread RankCtx t_sort; /* qsort has no context argument */ @@ -488,18 +498,19 @@ static int cmp_idx(const void *a, const void *b) { 488 498 } 489 499 490 500 static int dominates(const CqCandidate *a, const CqCandidate *b, const uint8_t *dims, uint32_t nd) { 491 - int strict = 0; 492 - for (uint32_t i = 0; i < nd; i++) { 493 - uint64_t x = cq_dim_value(a, dims[i]), y = cq_dim_value(b, dims[i]); 494 - if (x > y) return 0; 495 - if (x < y) strict = 1; 496 - } 497 - return strict; 501 + uint64_t pa[7], pb[7], res = 0; 502 + uint8_t d7[7] = { 0 }; 503 + pack_cand_7(a, pa); 504 + pack_cand_7(b, pb); 505 + for (uint32_t i = 0; i < nd && i < 7; i++) d7[i] = dims[i]; 506 + (void)omega2_rx_cq_dominates(&res, pa, 7, pb, 7, d7, 7, (uint64_t)nd); 507 + return res != 0; 498 508 } 499 509 500 510 static int within(uint64_t v, uint64_t best, uint32_t tol_ppm) { 501 - unsigned __int128 lim = (unsigned __int128)best * (CQ_PPM + (uint64_t)tol_ppm); 502 - return (unsigned __int128)v * CQ_PPM <= lim; 511 + uint64_t res = 0; 512 + (void)omega2_rx_cq_within(&res, v, best, (uint64_t)tol_ppm); 513 + return res != 0; 503 514 } 504 515 505 516 int cq_rank(const CqCandidate *in, uint32_t n, const CqTradeoffs *t, CqCandidate *out, uint32_t k, src/runtime/rx_cortex_record.c @@ -25,6 +25,7 @@ 25 25 * own store, so no link ever writes into another's journal. 26 26 */ 27 27 #include "rx_cortex_record.h" 28 +#include "omega_native.h" 28 29 29 30 #include 30 31 #include @@ -54,19 +55,11 @@ static uint64_t cx_of(const CortexLink *l, uint64_t crumb) { 54 55 } 55 56 56 57 static void kind_of(RxCrumbKind k, uint32_t *cls, uint32_t *kind, uint32_t *protect) { 57 - *protect = 0; 58 - switch (k) { 59 - case RX_CRUMB_EXTERNAL: 60 - *cls = CX_OBSERVATION; *kind = CX_K_WORK_ACCEPTED; *protect = CX_PROT_AUTHORITY; break; 61 - case RX_CRUMB_CREATE: *cls = CX_ENTITY; *kind = CX_K_ENTITY_CREATED; break; 62 - case RX_CRUMB_RETIRE: *cls = CX_ENTITY; *kind = CX_K_ENTITY_RETIRED; break; 63 - case RX_CRUMB_COMMIT: 64 - *cls = CX_EXECUTION; *kind = CX_K_EXEC_COMMIT; *protect = CX_PROT_COMMIT_RECEIPT; break; 65 - case RX_CRUMB_NOOP: *cls = CX_EXECUTION; *kind = CX_K_EXEC_NOOP; break; 66 - case RX_CRUMB_BLOCKED_AUTHORITY: 67 - *cls = CX_FAILURE; *kind = CX_K_EXEC_FAILED; *protect = CX_PROT_AUTHORITY; break; 68 - default: *cls = CX_FAILURE; *kind = CX_K_EXEC_FAILED; break; 69 - } 58 + uint64_t dst[4] = { 0 }, res = 0; 59 + (void)omega2_rx_cx_kind_of(&res, (uint64_t)k, dst, 4); 60 + *cls = (uint32_t)dst[0]; 61 + *kind = (uint32_t)dst[1]; 62 + *protect = (uint32_t)dst[2]; 70 63 } 71 64 72 65 /* Subject of `ref` in link `l`; 0 = this link does not record it. */ @@ -96,15 +89,14 @@ static void record_link(CortexLink *l, const RxWorld *w, const RxCrumb *k) { 96 89 h.t = l->s->n + 1; 97 90 h.generation = ref ? ref->generation : 0; 98 91 h.tag = (uint64_t)k->kind; 99 - uint32_t nl = 0; 100 92 uint64_t cause = cx_of(l, k->wake_cause); 101 - if (cause) h.links[nl++] = cause; 102 - for (uint32_t i = 0; i < k->n_parents && nl < CX_LINKS; i++) { 103 - uint64_t p = cx_of(l, k->parents[i]); 104 - int dup = p == 0; 105 - for (uint32_t j = 0; j < nl && !dup; j++) dup = h.links[j] == p; 106 - if (!dup) h.links[nl++] = p; 107 - } 93 + uint64_t p_ids[RX_MAX_PARENTS]; 94 + uint32_t np = k->n_parents < RX_MAX_PARENTS ? k->n_parents : RX_MAX_PARENTS; 95 + for (uint32_t i = 0; i < np; i++) p_ids[i] = cx_of(l, k->parents[i]); 96 + uint64_t link_out[8] = { 0 }, nl64 = 0; 97 + (void)omega2_rx_cx_dedup_links(&nl64, cause, p_ids, (uint64_t)np, link_out, 8, (uint64_t)CX_LINKS); 98 + uint32_t nl = (uint32_t)nl64; 99 + for (uint32_t i = 0; i < nl && i < CX_LINKS; i++) h.links[i] = link_out[i]; 108 100 109 101 uint64_t p[CX_WREC_WORDS]; 110 102 memset(p, 0, sizeof p); @@ -121,10 +113,10 @@ static void record_link(CortexLink *l, const RxWorld *w, const RxCrumb *k) { 121 113 if (ref && ref->id < RX_MAX_OBJECTS) 122 114 for (uint32_t f = 0; f < RX_MAX_FIELDS && f < 8; f++) 123 115 p[CX_WREC_FIELD0 + f] = w->objects[ref->id].field[f]; 124 - for (int i = 0; i < 4; i++) { 125 - uint64_t v = 0; 126 - for (int b = 0; b < 8; b++) v |= (uint64_t)k->digest[8 * i + b] << (8 * b); 127 - p[CX_WREC_DIGEST0 + i] = v; 116 + { 117 + uint64_t digw[4] = { 0 }, res = 0; 118 + (void)omega2_rx_cx_pack_digest(&res, k->digest, 32, digw, 4); 119 + for (int i = 0; i < 4; i++) p[CX_WREC_DIGEST0 + i] = digw[i]; 128 120 } 129 121 p[CX_WREC_N_INPUTS] = k->n_inputs; 130 122 p[CX_WREC_N_OUTPUTS] = k->n_outputs; src/runtime/rx_costmodel.c @@ -21,6 +21,7 @@ 21 21 * authority, no generation store. 22 22 */ 23 23 #include "runtime/rx_costmodel.h" 24 +#include "omega_native.h" 24 25 #include "sha256.h" 25 26 26 27 #include @@ -81,65 +82,23 @@ void rx_cm_basis(const RxCmFeatures *f, double phi[RX_CM_D]) { 81 82 phi[7] = ov; 82 83 } 83 84 84 -/* Cholesky of the D x D matrix held as an upper triangle. 0 on success. */ 85 -static int cholesky(const double *tri, double L[RX_CM_D][RX_CM_D]) { 86 - double A[RX_CM_D][RX_CM_D]; 87 - for (uint32_t i = 0, k = 0; i < RX_CM_D; i++) 88 - for (uint32_t j = i; j < RX_CM_D; j++, k++) A[i][j] = A[j][i] = tri[k]; 89 - memset(L, 0, sizeof(double) * RX_CM_D * RX_CM_D); 90 - for (uint32_t j = 0; j < RX_CM_D; j++) { 91 - double s = A[j][j]; 92 - for (uint32_t k = 0; k < j; k++) s -= L[j][k] * L[j][k]; 93 - if (!(s > 0.0)) return -1; 94 - L[j][j] = sqrt(s); 95 - for (uint32_t i = j + 1; i < RX_CM_D; i++) { 96 - double t = A[i][j]; 97 - for (uint32_t k = 0; k < j; k++) t -= L[i][k] * L[j][k]; 98 - L[i][j] = t / L[j][j]; 99 - } 100 - } 101 - return 0; 102 -} 103 - 104 -static void forward(double L[RX_CM_D][RX_CM_D], const double *b, double *v) { 105 - for (uint32_t i = 0; i < RX_CM_D; i++) { 106 - double s = b[i]; 107 - for (uint32_t k = 0; k < i; k++) s -= L[i][k] * v[k]; 108 - v[i] = s / L[i][i]; 109 - } 110 -} 111 - 112 -static void backward(double L[RX_CM_D][RX_CM_D], const double *v, double *x) { 113 - for (int i = (int)RX_CM_D - 1; i >= 0; i--) { 114 - double s = v[i]; 115 - for (uint32_t k = (uint32_t)i + 1; k < RX_CM_D; k++) s -= L[k][i] * x[k]; 116 - x[i] = s / L[i][i]; 117 - } 118 -} 119 - 120 -/* Predictive t for one (cell, arm). Returns 0 if there is no data. */ 85 +/* Predictive t for one (cell, arm), executed in pure OM-2 (om/runtime/rx_costmodel_core.om). 86 + * Returns 0 if there is no data or matrix is not positive definite. */ 121 87 static int fit_predict(const RxCmArmStats *s, const double phi[RX_CM_D], double *mean, 122 88 double *sd, double *dof) { 123 89 if (s->n == 0) return 0; 124 - double L[RX_CM_D][RX_CM_D], v[RX_CM_D], mu[RX_CM_D], w[RX_CM_D]; 125 - if (cholesky(s->tri, L) != 0) return 0; 126 - forward(L, s->xty, v); 127 - backward(L, v, mu); 128 - double quad = 0.0; /* mu' Lambda mu = |L' mu|^2 = v . v */ 129 - for (uint32_t i = 0; i < RX_CM_D; i++) quad += v[i] * v[i]; 130 - double a = PRIOR_A + 0.5 * (double)s->n; 131 - double b = PRIOR_B + 0.5 * (s->yty - quad); 132 - if (b < PRIOR_B) b = PRIOR_B; 133 - double sigma2 = b / a; 134 - if (sigma2 < NOISE_FLOOR) sigma2 = NOISE_FLOOR; 135 - forward(L, phi, w); 136 - double lev = 0.0; 137 - for (uint32_t i = 0; i < RX_CM_D; i++) lev += w[i] * w[i]; 138 - double m = 0.0; 139 - for (uint32_t i = 0; i < RX_CM_D; i++) m += mu[i] * phi[i]; 140 - *mean = m; 141 - *sd = sqrt(sigma2 * (1.0 + lev)); 142 - *dof = 2.0 * a; 90 + uint64_t tri_u[36], xty_u[8], phi_u[8], meta[2], dst[4] = { 0 }, ok = 0; 91 + memcpy(tri_u, s->tri, sizeof tri_u); 92 + memcpy(xty_u, s->xty, sizeof xty_u); 93 + memcpy(phi_u, phi, sizeof phi_u); 94 + meta[0] = s->n; 95 + memcpy(&meta[1], &s->yty, sizeof(uint64_t)); 96 + if (omega2_rx_cm_fit_predict(&ok, tri_u, 36, xty_u, 8, phi_u, 8, meta, 2, dst, 4) != OMEGA_OK || 97 + ok == 0) 98 + return 0; 99 + memcpy(mean, &dst[0], sizeof(double)); 100 + memcpy(sd, &dst[1], sizeof(double)); 101 + memcpy(dof, &dst[2], sizeof(double)); 143 102 return 1; 144 103 } 145 104 @@ -253,9 +212,15 @@ int rx_cm_observe(RxCostModel *m, const RxCmFeatures *f, uint32_t arm, const RxC 253 212 residual_basis(f, phi); 254 213 y -= qm; 255 214 } 256 - for (uint32_t i = 0, k = 0; i < RX_CM_D; i++) { 257 - for (uint32_t j = i; j < RX_CM_D; j++, k++) s->tri[k] += phi[i] * phi[j]; 258 - s->xty[i] += phi[i] * y; 215 + { 216 + uint64_t tri_u[36], xty_u[8], phi_u[8], y_bits = 0, res = 0; 217 + memcpy(tri_u, s->tri, sizeof tri_u); 218 + memcpy(xty_u, s->xty, sizeof xty_u); 219 + memcpy(phi_u, phi, sizeof phi_u); 220 + memcpy(&y_bits, &y, sizeof(uint64_t)); 221 + (void)omega2_rx_cm_rank1_update(&res, tri_u, 36, xty_u, 8, phi_u, 8, y_bits); 222 + memcpy(s->tri, tri_u, sizeof tri_u); 223 + memcpy(s->xty, xty_u, sizeof xty_u); 259 224 } 260 225 s->yty += y * y; 261 226 s->n++; src/runtime/rx_fusion.c @@ -27,6 +27,7 @@ 27 27 #include "rx_fusion.h" 28 28 29 29 #include "omega_core.h" 30 +#include "omega_native.h" 30 31 #include "sha256.h" 31 32 32 33 #include @@ -46,17 +47,17 @@ static void put64(sha256_ctx *c, uint64_t v) { 46 47 } 47 48 48 49 static uint64_t word64(const uint8_t *d) { 49 - uint64_t v = 0; 50 - for (int i = 0; i < 8; i++) v = (v << 8) | d[i]; 51 - return v; 50 + uint64_t res = 0; 51 + (void)omega2_rx_fus_word64(&res, d, 8); 52 + return res; 52 53 } 53 54 54 55 static int bit(uint64_t set, uint32_t n) { return (int)((set >> n) & 1u); } 55 56 56 57 static int eligible_kind(AgKind k) { 57 - return k == AG_CONST || k == AG_PURE || k == AG_WORLD_READ || k == AG_RECALL || 58 - k == AG_PHYSICAL || k == AG_SKILL || k == AG_RETRY || k == AG_EFFECT_PROPOSE || 59 - k == AG_VERIFY; 58 + uint64_t res = 0; 59 + if (omega2_rx_fus_eligible_kind(&res, (uint64_t)k) != OMEGA_OK) return 0; 60 + return res != 0; 60 61 } 61 62 62 63 static int step_reads(AgKind k) { return k == AG_WORLD_READ || k == AG_RECALL; } src/runtime/rx_plan.c @@ -20,6 +20,7 @@ 20 20 */ 21 21 #include "rx_plan.h" 22 22 23 +#include "omega_native.h" 23 24 #include "sha256.h" 24 25 25 26 #include @@ -33,9 +34,9 @@ static uint64_t now_ns(void) { 33 34 } 34 35 35 36 uint64_t pl_word(const uint8_t id[32], uint32_t k) { 36 - uint64_t v = 0; 37 - for (uint32_t i = 0; i < 8; i++) v |= (uint64_t)id[k * 8 + i] << (8 * i); 38 - return v; 37 + uint64_t res = 0; 38 + (void)omega2_rx_pl_word(&res, id, 32, (uint64_t)k); 39 + return res; 39 40 } 40 41 41 42 /* ---- canonical bytes ---- */ @@ -53,22 +54,30 @@ static void p32(Buf *o, uint32_t v) { 53 54 } 54 55 static void p64(Buf *o, uint64_t v) { p32(o, (uint32_t)v); p32(o, (uint32_t)(v >> 32)); } 55 56 56 -static int pred_cmp(const PlPred *a, const PlPred *b) { 57 - const uint32_t x[5] = { a->kind, a->slot, a->field, a->slot2, a->type }; 58 - const uint32_t y[5] = { b->kind, b->slot, b->field, b->slot2, b->type }; 59 - for (int i = 0; i < 5; i++) 60 - if (x[i] != y[i]) return x[i] < y[i] ? -1 : 1; 61 - if (a->value != b->value) return a->value < b->value ? -1 : 1; 62 - return 0; 63 -} 64 - 65 57 static void sort_list(PlPredList *l) { 66 - for (uint32_t i = 1; i < l->n; i++) 67 - for (uint32_t j = i; j > 0 && pred_cmp(&l->p[j - 1], &l->p[j]) > 0; j--) { 68 - PlPred t = l->p[j]; 69 - l->p[j] = l->p[j - 1]; 70 - l->p[j - 1] = t; 58 + if (l->n <= 1) return; 59 + uint32_t n = l->n <= PL_MAX_PREDS ? l->n : PL_MAX_PREDS; 60 + uint64_t buf[PL_MAX_PREDS * 6]; 61 + memset(buf, 0, sizeof buf); 62 + for (uint32_t i = 0; i < n; i++) { 63 + buf[i * 6 + 0] = l->p[i].kind; 64 + buf[i * 6 + 1] = l->p[i].slot; 65 + buf[i * 6 + 2] = l->p[i].field; 66 + buf[i * 6 + 3] = l->p[i].slot2; 67 + buf[i * 6 + 4] = l->p[i].type; 68 + buf[i * 6 + 5] = l->p[i].value; 69 + } 70 + uint64_t res = 0; 71 + if (omega2_rx_pl_sort_preds(&res, buf, PL_MAX_PREDS * 6, (uint64_t)n) == OMEGA_OK) { 72 + for (uint32_t i = 0; i < n; i++) { 73 + l->p[i].kind = (uint32_t)buf[i * 6 + 0]; 74 + l->p[i].slot = (uint32_t)buf[i * 6 + 1]; 75 + l->p[i].field = (uint32_t)buf[i * 6 + 2]; 76 + l->p[i].slot2 = (uint32_t)buf[i * 6 + 3]; 77 + l->p[i].type = (uint32_t)buf[i * 6 + 4]; 78 + l->p[i].value = buf[i * 6 + 5]; 71 79 } 80 + } 72 81 } 73 82 74 83 void rx_plan_sort(PlanTemplate *t) { src/runtime/rx_plan_arrange.c @@ -20,6 +20,7 @@ 20 20 */ 21 21 #include "rx_plan_arrange.h" 22 22 23 +#include "omega_native.h" 23 24 #include "omega_types.h" 24 25 #include "sha256.h" 25 26 @@ -30,17 +31,22 @@ 30 31 #define NONE 0xFFu 31 32 32 33 uint64_t pla_fact(RxObjRef x, const RxObjRef *t) { 33 - uint64_t v = (1ull << 63) | (x.id & 0xffu) | ((uint64_t)(x.generation & 0xffffffu) << 8); 34 - if (!t) return v | (1ull << 62); 35 - return v | ((uint64_t)(t->id & 0xffu) << 32) | ((uint64_t)(t->generation & 0x3fffffu) << 40); 34 + uint64_t res = 0; 35 + (void)omega2_rx_pla_fact_pack(&res, (uint64_t)x.id, (uint64_t)x.generation, 36 + t ? 0ull : 1ull, 37 + t ? (uint64_t)t->id : 0ull, 38 + t ? (uint64_t)t->generation : 0ull); 39 + return res; 36 40 } 37 41 38 42 static void fact_unpack(uint64_t f, RxObjRef *x, RxObjRef *t, uint8_t *floor) { 39 - x->id = (uint32_t)(f & 0xffu); 40 - x->generation = (uint32_t)((f >> 8) & 0xffffffu); 41 - *floor = (uint8_t)((f >> 62) & 1u); 42 - t->id = (uint32_t)((f >> 32) & 0xffu); 43 - t->generation = (uint32_t)((f >> 40) & 0x3fffffu); 43 + uint64_t dst[5] = { 0 }, res = 0; 44 + (void)omega2_rx_pla_fact_unpack(&res, f, dst, 5); 45 + x->id = (uint32_t)dst[0]; 46 + x->generation = (uint32_t)dst[1]; 47 + *floor = (uint8_t)dst[2]; 48 + t->id = (uint32_t)dst[3]; 49 + t->generation = (uint32_t)dst[4]; 44 50 } 45 51 46 52 static int same(RxObjRef a, RxObjRef b) { return a.id == b.id && a.generation == b.generation; } src/runtime/rx_projection.c @@ -20,6 +20,7 @@ 20 20 */ 21 21 #include "rx_projection.h" 22 22 23 +#include "omega_api_decl.h" 23 24 #include "sha256.h" 24 25 25 26 #include @@ -60,18 +61,9 @@ int pj_need_add(CognitiveNeed *n, uint32_t cls, uint32_t kind, uint32_t treatmen 60 61 } 61 62 62 63 void pj_summarize(const uint64_t *w, uint32_t n, uint64_t out[PJ_SUMMARY_WORDS]) { 63 - uint64_t sum = 0, sq = 0, mn = UINT64_MAX, mx = 0; 64 - for (uint32_t i = 0; i < n; i++) { 65 - sum += w[i]; 66 - sq += w[i] * w[i]; 67 - if (w[i] < mn) mn = w[i]; 68 - if (w[i] > mx) mx = w[i]; 69 - } 70 - out[0] = n; 71 - out[1] = sum; 72 - out[2] = sq; 73 - out[3] = n ? mn : 0; 74 - out[4] = mx; 64 + uint64_t summary[PJ_SUMMARY_WORDS]; 65 + rx_pj_summarize(w, n, summary); 66 + memcpy(out, summary, sizeof summary); 75 67 } 76 68 77 69 /* ---- a small id set ---- */ @@ -141,19 +133,11 @@ static int add_subject(uint64_t *list, uint32_t *n, uint32_t cap, uint64_t s) { 141 133 static int is_protected(const CxObject *o) { return o->protect != 0 || o->cls == CX_EVIDENCE; } 142 134 143 135 static uint32_t section_of(const CxObject *o, uint32_t treatment, uint32_t temporal) { 144 - if (treatment == PJ_LIVE && temporal == PJ_T_LATEST) return PJ_SEC_WORLD; 145 - if (is_protected(o)) return PJ_SEC_EVIDENCE; 146 - if (o->cls == CX_CLAIM) return PJ_SEC_HYPOTHESIS; 147 - return PJ_SEC_CORTEX; 136 + return (uint32_t)rx_pj_section_of(o->protect, o->cls, treatment, temporal); 148 137 } 149 138 150 139 static uint32_t form_of(uint32_t treatment) { 151 - switch (treatment) { 152 - case PJ_COMPRESSIBLE: return PJ_FORM_SUMMARY; 153 - case PJ_RECALLABLE: 154 - case PJ_REFERENCE_ONLY: return PJ_FORM_REF; 155 - default: return PJ_FORM_FULL; 156 - } 140 + return (uint32_t)rx_pj_form_of(treatment); 157 141 } 158 142 159 143 static int grow(void **p, uint64_t *cap, uint64_t need, size_t elem) { src/runtime/rx_regulate.c @@ -14,11 +14,32 @@ 14 14 * limitations under the License. 15 15 */ 16 16 17 -/* ADAPTIVE-M4: bounded resource regulation. Contract in rx_regulate.h. */ 17 +/* ADAPTIVE-M4: bounded resource regulation. Contract in rx_regulate.h. 18 + * Core decision, envelope validation, policy derivation, bounds check, 19 + * and step transition execute in pure OM-2 (om/runtime/rx_regulate.om). */ 18 20 #include "runtime/rx_regulate.h" 21 +#include "omega_native.h" 19 22 20 23 #include 21 24 25 +static void pack_env(const RxRegulateEnvelope *e, uint64_t out[16]) { 26 + memset(out, 0, sizeof(uint64_t) * 16); 27 + out[0] = e->slots_min; 28 + out[1] = e->slots_max; 29 + out[2] = e->memory_min; 30 + out[3] = e->memory_max; 31 + out[4] = e->energy_min; 32 + out[5] = e->energy_max; 33 + out[6] = e->base.slots; 34 + out[7] = e->base.memory_bytes; 35 + out[8] = e->base.energy_budget; 36 + out[9] = e->contention_hi; 37 + out[10] = e->contention_lo; 38 + out[11] = e->pressure_hi; 39 + out[12] = e->pressure_lo; 40 + out[13] = e->min_dwell; 41 +} 42 + 22 43 static const RxSnapshotDep *in_of(const RxCtx *c, RxObjRef r) { 23 44 for (uint32_t i = 0; i < c->n_in; i++) 24 45 if (c->in[i].obj.id == r.id) return &c->in[i]; @@ -31,47 +52,30 @@ static void put(RxCtx *c, RxObjRef o, uint32_t field, uint64_t v) { 31 52 32 53 int rx_regulate_envelope_ok(const RxRegulateEnvelope *e) { 33 54 if (!e) return RX_ERR_ARG; 34 - if (e->slots_min == 0 || e->slots_min > e->slots_max) return RX_ERR_ARG; 35 - if (e->memory_min > e->memory_max || e->energy_min > e->energy_max) return RX_ERR_ARG; 36 - if (e->base.slots < e->slots_min || e->base.slots > e->slots_max) return RX_ERR_ARG; 37 - if (e->base.memory_bytes < e->memory_min || e->base.memory_bytes > e->memory_max) 38 - return RX_ERR_ARG; 39 - if (e->base.energy_budget < e->energy_min || e->base.energy_budget > e->energy_max) 40 - return RX_ERR_ARG; 41 - if (e->contention_lo >= e->contention_hi) return RX_ERR_ARG; 42 - if (e->pressure_lo >= e->pressure_hi || e->pressure_hi > 100) return RX_ERR_ARG; 43 - if (e->min_dwell == 0) return RX_ERR_ARG; 44 - return RX_OK; 55 + uint64_t env[16], res = 0; 56 + pack_env(e, env); 57 + if (omega2_rx_reg_envelope_ok(&res, env, 16) != OMEGA_OK) return RX_ERR_ARG; 58 + return (int)(int64_t)res; 45 59 } 46 60 47 61 void rx_regulate_policy_for(const RxRegulateEnvelope *e, uint32_t regime, RxResourceBudget *out) { 48 62 *out = e->base; 49 - if (regime == RX_REG_EXPAND) { 50 - out->slots = e->slots_max; 51 - out->memory_bytes = e->memory_max; 52 - out->energy_budget = e->energy_max; 53 - } else if (regime == RX_REG_PROTECT) { 54 - out->slots = e->slots_min; 55 - out->memory_bytes = e->memory_min; 56 - out->energy_budget = e->energy_min; 63 + uint64_t env[16], dst[4] = { 0 }, res = 0; 64 + pack_env(e, env); 65 + if (omega2_rx_reg_policy_for(&res, env, 16, (uint64_t)regime, dst, 4) == OMEGA_OK) { 66 + out->slots = (uint32_t)dst[0]; 67 + out->memory_bytes = dst[1]; 68 + out->energy_budget = dst[2]; 57 69 } 58 70 } 59 71 60 72 uint32_t rx_regulate_decide(const RxRegulateEnvelope *e, uint32_t regime, uint64_t dwell, 61 73 uint64_t contention, uint64_t pressure) { 62 - int settled = dwell >= e->min_dwell; 63 - /* Protection enters at once and wins over expansion. */ 64 - if (pressure >= e->pressure_hi) return RX_REG_PROTECT; 65 - switch (regime) { 66 - case RX_REG_PROTECT: 67 - if (!settled || pressure > e->pressure_lo) return RX_REG_PROTECT; 68 - return contention >= e->contention_hi ? RX_REG_EXPAND : RX_REG_NOMINAL; 69 - case RX_REG_EXPAND: 70 - if (!settled || contention > e->contention_lo) return RX_REG_EXPAND; 71 - return RX_REG_NOMINAL; 72 - default: 73 - return contention >= e->contention_hi ? RX_REG_EXPAND : RX_REG_NOMINAL; 74 - } 74 + uint64_t env[16], res = RX_REG_NOMINAL; 75 + pack_env(e, env); 76 + if (omega2_rx_reg_decide(&res, env, 16, (uint64_t)regime, dwell, contention, pressure) != OMEGA_OK) 77 + return RX_REG_PROTECT; 78 + return (uint32_t)res; 75 79 } 76 80 77 81 /* Policy written only here. A condition sample already decided on (same seq) @@ -81,25 +85,23 @@ static int fn_regulate(RxCtx *c) { 81 85 const RxSnapshotDep *cond = in_of(c, r->condition); 82 86 const RxSnapshotDep *pol = in_of(c, r->policy); 83 87 if (!cond || !pol) return RX_ERR_ARG; 84 - uint64_t cseq = cond->field[0]; 85 - if (cseq == pol->field[5]) return 0; 86 - uint32_t regime = (uint32_t)pol->field[4]; 87 - uint64_t dwell = pol->field[6]; 88 - uint32_t next = rx_regulate_decide(&r->env, regime, dwell, cond->field[1], cond->field[3]); 89 - put(c, r->policy, 5, cseq); 90 - if (next == regime) { 91 - put(c, r->policy, 6, dwell + 1); 88 + uint64_t env[16], dst[8] = { 0 }, act = 0; 89 + pack_env(&r->env, env); 90 + if (omega2_rx_reg_step(&act, env, 16, cond->field, 8, pol->field, 8, dst, 8) != OMEGA_OK) 91 + return RX_ERR_ARG; 92 + if (act == 0) return 0; 93 + put(c, r->policy, 5, dst[5]); 94 + if (act == 1) { 95 + put(c, r->policy, 6, dst[6]); 92 96 return 0; 93 97 } 94 - RxResourceBudget b; 95 - rx_regulate_policy_for(&r->env, next, &b); 96 - put(c, r->policy, 0, pol->field[0] + 1); 97 - put(c, r->policy, 1, b.slots); 98 - put(c, r->policy, 2, b.memory_bytes); 99 - put(c, r->policy, 3, b.energy_budget); 100 - put(c, r->policy, 4, next); 101 - put(c, r->policy, 6, 0); 102 - put(c, r->policy, 7, pol->field[7] + 1); 98 + put(c, r->policy, 0, dst[0]); 99 + put(c, r->policy, 1, dst[1]); 100 + put(c, r->policy, 2, dst[2]); 101 + put(c, r->policy, 3, dst[3]); 102 + put(c, r->policy, 4, dst[4]); 103 + put(c, r->policy, 6, dst[6]); 104 + put(c, r->policy, 7, dst[7]); 103 105 return 0; 104 106 } 105 107 @@ -156,17 +158,17 @@ int rx_regulate_apply(RxRegulator *r) { 156 158 if (rc != RX_OK) return rc; 157 159 if (p.field[0] == r->applied_version) return 1; 158 160 const RxRegulateEnvelope *e = &r->env; 161 + uint64_t env[16], chk = 0; 162 + pack_env(e, env); 163 + if (omega2_rx_reg_apply_check(&chk, env, 16, p.field, 8) != OMEGA_OK || 164 + (int64_t)chk != RX_OK) { 165 + r->refused++; 166 + return RX_ERR_BOUNDS; 167 + } 159 168 RxResourceBudget b = e->base; /* fairness and offers: never regulated */ 160 169 b.slots = (uint32_t)p.field[1]; 161 170 b.memory_bytes = p.field[2]; 162 171 b.energy_budget = p.field[3]; 163 - if (p.field[1] > UINT32_MAX || b.slots < e->slots_min || b.slots > e->slots_max || 164 - b.memory_bytes < e->memory_min || b.memory_bytes > e->memory_max || 165 - b.energy_budget < e->energy_min || b.energy_budget > e->energy_max || 166 - p.field[4] > RX_REG_PROTECT) { 167 - r->refused++; 168 - return RX_ERR_BOUNDS; 169 - } 170 172 rx_world_set_resources(r->w, &b); 171 173 r->applied = b; 172 174 r->applied_version = p.field[0]; src/runtime/rx_route.c @@ -20,6 +20,7 @@ 20 20 */ 21 21 #include "rx_route.h" 22 22 23 +#include "omega_native.h" 23 24 #include "sha256.h" 24 25 25 26 #include @@ -74,8 +75,9 @@ struct RxCogRouter { 74 75 /* ---- small helpers ---- */ 75 76 76 77 static uint32_t conf_bin(uint32_t conf) { 77 - if (conf >= RX_COG_CONF_ONE) return RX_COG_BINS - 1; 78 - return (uint32_t)(((uint64_t)conf * RX_COG_BINS) / RX_COG_CONF_ONE); 78 + uint64_t res = 0; 79 + (void)omega2_rx_rt_conf_bin(&res, (uint64_t)conf, (uint64_t)RX_COG_CONF_ONE, (uint64_t)RX_COG_BINS); 80 + return (uint32_t)res; 79 81 } 80 82 81 83 static uint64_t mono_ns(void) { @@ -84,19 +86,21 @@ static uint64_t mono_ns(void) { 84 86 return (uint64_t)ts.tv_sec * 1000000000ull + (uint64_t)ts.tv_nsec; 85 87 } 86 88 87 -/* Wilson score interval at 95%. */ 89 +/* Wilson score interval at 95%, executed in pure OM-2 (om/runtime/rx_route_core.om). */ 88 90 static double wilson_lower(uint64_t k, uint64_t n) { 89 - if (n == 0) return 0.0; 90 - const double z = 1.959964; 91 - double p = (double)k / (double)n, nn = (double)n; 92 - double c = p + z * z / (2 * nn); 93 - double r = z * sqrt(p * (1 - p) / nn + z * z / (4 * nn * nn)); 94 - return (c - r) / (1 + z * z / nn); 91 + uint64_t dst[2] = { 0 }, res = 0; 92 + double lo = 0.0; 93 + (void)omega2_rx_rt_wilson(&res, k, n, dst, 2); 94 + memcpy(&lo, &dst[0], sizeof(double)); 95 + return lo; 95 96 } 96 97 97 98 static double wilson_upper(uint64_t k, uint64_t n) { 98 - if (n == 0) return 1.0; 99 - return 1.0 - wilson_lower(n - k, n); 99 + uint64_t dst[2] = { 0 }, res = 0; 100 + double hi = 1.0; 101 + (void)omega2_rx_rt_wilson(&res, k, n, dst, 2); 102 + memcpy(&hi, &dst[1], sizeof(double)); 103 + return hi; 100 104 } 101 105 102 106 static int index_of(const RxCogRouter *r, uint32_t id) { src/runtime/rx_skillroute.c @@ -18,6 +18,7 @@ 18 18 * rx_skillroute.c -- Skill Router. See rx_skillroute.h. 19 19 */ 20 20 #include "rx_skillroute.h" 21 +#include "omega_native.h" 21 22 22 23 #include 23 24 @@ -65,9 +66,9 @@ static const AgSkill *executable(const AgSkillTable *t, uint32_t id) { 65 66 } 66 67 67 68 static int digest_zero(const uint8_t *d) { 68 - uint8_t acc = 0; 69 - for (int i = 0; i < 32; i++) acc |= d[i]; 70 - return acc == 0; 69 + uint64_t res = 1; 70 + if (omega2_rx_sr_digest_zero(&res, d, 32) != OMEGA_OK) return 1; 71 + return res != 0; 71 72 } 72 73 73 74 /* Admissible target: a Skill; matching the requirement's pins (version, @@ -106,18 +107,21 @@ static int admit(void *ctx, const CqEntry *e, const CqCandidate *c) { 106 107 } 107 108 108 109 static uint32_t why_of(const SrRoute *o) { 109 - uint32_t w = 0; 110 - if (o->stats.rejected_dead) w |= SR_WHY_GONE; 111 - if (o->stats.rejected_unavailable) w |= SR_WHY_UNAVAILABLE; 112 - if (o->stats.rejected_authority) w |= SR_WHY_AUTHORITY; 113 - if (o->rejected.not_a_skill) w |= SR_WHY_NOT_SKILL; 114 - if (o->rejected.not_executable) w |= SR_WHY_NOT_EXECUTABLE; 115 - if (o->rejected.digest_mismatch) w |= SR_WHY_DIGEST; 116 - if (o->rejected.remote_refused) w |= SR_WHY_REMOTE_REFUSED; 117 - if (o->rejected.pin_mismatch) w |= SR_WHY_PIN; 118 - if (o->rejected.machine_mismatch) w |= SR_WHY_MACHINE; 119 - if (o->rejected.machine_unknown) w |= SR_WHY_MACHINE_UNKNOWN; 120 - return w; 110 + uint64_t counts[10] = { 111 + o->stats.rejected_dead, 112 + o->stats.rejected_unavailable, 113 + o->stats.rejected_authority, 114 + o->rejected.not_a_skill, 115 + o->rejected.not_executable, 116 + o->rejected.digest_mismatch, 117 + o->rejected.remote_refused, 118 + o->rejected.pin_mismatch, 119 + o->rejected.machine_mismatch, 120 + o->rejected.machine_unknown 121 + }; 122 + uint64_t res = 0; 123 + (void)omega2_rx_sr_why_of(&res, counts, 10); 124 + return (uint32_t)res; 121 125 } 122 126 123 127 static void fill_target(const SrRouter *r, const CqCandidate *c, SrRoute *x) { src/runtime/rx_world.c @@ -19,6 +19,7 @@ 19 19 */ 20 20 #include "rx_world.h" 21 21 #include "rx_argus.h" 22 +#include "omega_native.h" 22 23 #include "sha256.h" 23 24 #include "rx_generation.h" /* RX_GEN_HALT_MARK */ 24 25 #include "omega_path_check.h" @@ -88,31 +89,10 @@ static void object_digest(RxObject *o) { 88 89 /* ---- lifecycle ---------------------------------------------------------- */ 89 90 90 91 bool rx_state_transition_legal(RxState from, RxState to) { 91 - switch (from) { 92 - case RX_DORMANT: 93 - return to == RX_READY || to == RX_BLOCKED_RESOURCE; 94 - case RX_READY: 95 - return to == RX_RUNNING || to == RX_BLOCKED_AUTHORITY || 96 - to == RX_BLOCKED_RESOURCE || to == RX_INVALIDATED; 97 - case RX_RUNNING: 98 - /* RUNNING -> READY only when a deferred effect is resumed 99 - * (RX_FN_DEFER, rx_world_resume): the same admitted activation runs 100 - * again. */ 101 - return to == RX_PUBLISHING || to == RX_FAILED || to == RX_CANCELLED || 102 - to == RX_INVALIDATED || to == RX_READY; 103 - case RX_PUBLISHING: 104 - /* Stale input is detected while validating the publication, so the 105 - * explicit exit is PUBLISHING -> INVALIDATED. */ 106 - return to == RX_COMMITTED || to == RX_CONFLICT || to == RX_REJECTED || 107 - to == RX_INVALIDATED; 108 - case RX_BLOCKED_RESOURCE: 109 - return to == RX_DORMANT || to == RX_READY; 110 - case RX_COMMITTED: case RX_INVALIDATED: case RX_FAILED: case RX_CANCELLED: 111 - case RX_CONFLICT: case RX_REJECTED: case RX_BLOCKED_AUTHORITY: 112 - return to == RX_DORMANT; 113 - default: 92 + uint64_t res = 0; 93 + if (omega2_rx_world_state_legal(&res, (uint64_t)from, (uint64_t)to) != OMEGA_OK) 114 94 return false; 115 - } 95 + return res != 0; 116 96 } 117 97 118 98 const char *rx_state_name(RxState s) { @@ -347,19 +327,19 @@ static bool cause_is_external(const RxWorld *w, uint64_t cause) { 347 327 348 328 static bool res_fits(const RxWorld *w, const RxReaction *r) { 349 329 const RxResourceNeed *n = &r->desc.need; 350 - if (w->used_slots >= w->budget.slots) return false; 351 - if (w->used_memory > w->budget.memory_bytes) return false; 352 - if (w->used_energy > w->budget.energy_budget) return false; 353 - if (n->memory_bytes > w->budget.memory_bytes - w->used_memory) return false; 354 - if (n->energy_cost > w->budget.energy_budget - w->used_energy) return false; 355 - if (n->locality && (n->locality & w->budget.offered_locality) != n->locality) return false; 356 - if (n->accelerator_features && 357 - (n->accelerator_features & w->budget.offered_accel) != n->accelerator_features) 358 - return false; 359 - if (n->compute_class && 360 - (w->budget.compute_mask & (1u << (n->compute_class & 31u))) == 0) 330 + uint64_t used[4] = { w->used_slots, w->used_memory, w->used_energy, 0 }; 331 + uint64_t budget[6] = { 332 + w->budget.slots, w->budget.memory_bytes, w->budget.energy_budget, 333 + w->budget.offered_locality, w->budget.offered_accel, w->budget.compute_mask 334 + }; 335 + uint64_t need[5] = { 336 + n->memory_bytes, n->energy_cost, n->locality, 337 + n->accelerator_features, n->compute_class 338 + }; 339 + uint64_t res = 0; 340 + if (omega2_rx_world_res_fits(&res, used, 4, budget, 6, need, 5) != OMEGA_OK) 361 341 return false; 362 - return true; 342 + return res != 0; 363 343 } 364 344 365 345 static void enqueue(RxWorld *w, uint32_t rid) { @@ -386,9 +366,11 @@ static void gauge_blocked(RxWorld *w) { 386 366 } 387 367 388 368 static int better_admit(const RxReaction *a, const RxReaction *b) { 389 - if (a->desc.priority != b->desc.priority) return a->desc.priority < b->desc.priority; 390 - if (a->wait_seq != b->wait_seq) return a->wait_seq < b->wait_seq; 391 - return a->service < b->service; 369 + uint64_t pa[3] = { a->desc.priority, a->wait_seq, a->service }; 370 + uint64_t pb[3] = { b->desc.priority, b->wait_seq, b->service }; 371 + uint64_t res = 0; 372 + if (omega2_rx_world_better_admit(&res, pa, 3, pb, 3) != OMEGA_OK) return 0; 373 + return res != 0; 392 374 } 393 375 394 376 static void charge(RxWorld *w, RxReaction *r) { tests/compiler/neg/h_freed_on_both_paths.osc new file mode 100644 @@ -0,0 +1,11 @@ 1 +// expect: STALE_HANDLE object=h line=8 2 +// transition: read after free 3 +fn f(k: u8) -> i64 { 4 + let mut result: i64 = 0; 5 + pool p: [i64; 2] { 6 + let h: handle p = p.alloc(7); 7 + if k == 0 { p.free(h); } else { p.free(h); } 8 + result = p[h]; 9 + } 10 + return result; 11 +} tests/compiler/neg/literal_suffix_after_overflow.osc new file mode 100644 @@ -0,0 +1,4 @@ 1 +// expect: SYNTAX object=18446744073709551616x line=3 2 +fn f() -> u64 { 3 + return 18446744073709551616x; 4 +} tests/compiler/neg/literal_u64_overflow.osc new file mode 100644 @@ -0,0 +1,4 @@ 1 +// expect: OVERFLOW_UNSAFE object=0x10000000000000000 line=3 2 +fn f() -> u64 { 3 + return 0x10000000000000000; 4 +} tests/compiler/neg/ma_move_in_loop_while_borrowed.osc new file mode 100644 @@ -0,0 +1,9 @@ 1 +// expect: MUTABLE_ALIAS object=a line=7 2 +// transition: move while borrowed 3 +fn consume(value: own [u8; 2]) -> u8 { return value[0]; } 4 +fn f() -> u8 { 5 + let a: own [u8; 2] = alloc(3); 6 + let r: &[u8; 2] = &a; 7 + for i in 0 .. 3 { let x: u8 = consume(a); } 8 + return r[0]; 9 +} tests/compiler/neg/ma_one_reborrow_still_live.osc new file mode 100644 @@ -0,0 +1,11 @@ 1 +// expect: MUTABLE_ALIAS object=r line=9 2 +// transition: write while reborrowed 3 +fn f() -> i32 { 4 + let a: own [i32; 1] = alloc(7); 5 + let r: &mut [i32; 1] = &mut a; 6 + let first: &[i32; 1] = &r; 7 + { let second: &[i32; 1] = &r; let seen: i32 = second[0]; } 8 + 9 + r[0] = 9; 10 + return first[0]; 11 +} tests/compiler/progs/handles_loop_assignment.osc new file mode 100644 @@ -0,0 +1,13 @@ 1 +// entry: f 2 +// expect-run: f 0 -> 9 3 +fn f(k: u8) -> i64 { 4 + let mut result: i64 = 0; 5 + pool p: [i64; 2] { 6 + let mut h: handle p = p.alloc(7); 7 + let old: handle p = h; 8 + for i in 0 .. 1 { h = p.alloc(9); } 9 + p.free(old); 10 + result = p[h]; 11 + } 12 + return result; 13 +} tests/compiler/progs/literal_radices.osc new file mode 100644 @@ -0,0 +1,7 @@ 1 +// entry: literal_radices 2 +// expect-run: literal_radices -> `18446744073709551615` 3 +fn literal_radices() -> u64 { 4 + let high: u64 = 0xffffFFFFffffFFF0; 5 + let low: u64 = 0b0011; 6 + return high + low + 00012; 7 +} tests/runtime/rx_state_projection.c @@ -945,8 +945,24 @@ static void write_receipt(int gate_pass, int preserve, int reduce, int controls, 945 945 printf("receipt: %s\n", path); 946 946 } 947 947 948 +static void summary_boundaries(void) { 949 + const uint32_t n = `1000001`; 950 + uint64_t *words = calloc(n, sizeof(*words)); 951 + CHECK(words != NULL, "allocate projection boundary fixture"); 952 + if (!words) return; 953 + words[n - 1] = 3; 954 + pj_summarize(words, n, words); 955 + const uint64_t expected[] = {n, 3, 9, 0, 3}; 956 + CHECK(memcmp(words, expected, sizeof expected) == 0, "large aliased summary"); 957 + pj_summarize(NULL, 0, words); 958 + const uint64_t empty[PJ_SUMMARY_WORDS] = {0}; 959 + CHECK(memcmp(words, empty, sizeof empty) == 0, "empty summary"); 960 + free(words); 961 +} 962 + 948 963 int main(void) { 949 964 signal(SIGPIPE, SIG_IGN); 965 + summary_boundaries(); 950 966 printf("[*] part A: five operations x %u planted histories, whole store vs projection\n", SEEDS); 951 967 for (uint32_t w = 0; w < W_COUNT; w++) { 952 968 for (uint32_t seed = 0; seed < SEEDS; seed++) run_task(w, seed); train/omega-llm/README.md @@ -15,6 +15,28 @@ The Python corpus builder and compile feedback loop live in `tools/omega-llm/` a 15 15 16 16 Stays in aien-train (listed in `train/NOT-YET-OMEGA.tsv`): the shell/Python harness `tests/omegallm/` (`build.sh`, `oracle.py`, `pre-review.py`, ...), `evidence/OMEGALLM/` receipts, and the C++ llama.cpp UI bridge `tools/omegallm-ui/`. The docs here still cite those upstream paths and commits. Unless a citation names a different commit, upstream paths refer to aien-train ``f1bebdf3c5b08ec624005e5bc39d0427a87f9537``; they are not local omega-mv paths. 17 17 18 +## Training from source text 19 + 20 +The seeded `wtrain` harness fine-tunes an existing checkpoint on a training text file and evaluates both checkpoints on the same held-out text. For a coding run, supply Omega source or instruction-and-function records. Keep the evaluation corpus separate before starting the run. The trainer uses full-token loss. 21 + 22 +Build on AArch64 Linux from the repository root with the seeded compiler. The first source supplies the existing Omega driver library. 23 + 24 +```sh 25 +driver=train/omega-llm/tools/wdrive 26 +{ sed "s/^fn main to int$/fn wbmain to int/" "$driver/wbuild.om"; cat "$driver/wtrain.om"; } | seed/out/omc > wtrain && chmod +x wtrain 27 +``` 28 + 29 +Pass an Omega LLM executable, base checkpoint, tokenizer merges, training file, held-out file, new output directory, step count, learning rate in millionths and number of held-out windows. Byte checkpoints use `-` for the merges argument. BPE checkpoints use the native `bpeenc` command with the vocabulary size from the base checkpoint. Each corpus must supply at least one context window plus the next token. The held-out file must cover the requested number of windows. 30 + 31 +```sh 32 +./wtrain cpu ./ollm base.ck merges.bin training.om held-out.om run-01 100 250 3 33 +spark-window run ./wtrain gb10 ./ollm-gb10 base.ck merges.bin training.om held-out.om run-02 100 250 3 34 +``` 35 + 36 +The GPU invocation runs inside an authorized exclusive Spark window. The harness creates a private directory, writes the token streams and `candidate.ck` there, and records native tokenizer, optimizer and evaluator output in `run.log`. An existing output directory is refused. A failed run retains its partial files. A successful run ends with `TRAINING_COMPLETE` after the final evaluation. The E lines report held-out language-model loss. Coding accuracy requires separate execution tests. 37 + 38 +The [contrast-training experiment and example-checked coding chain](tools/contrast/README.md) include a CPU replay of generated functions against their expected outputs. 39 + 18 40 ## Units 19 41 20 42 Built by `seed/out/omc` and gated by `train/units-gate.om` (`OMEGA-TRAIN-UNITS`), rows in `train/units.tsv`, composed as upstream `tests/omegallm/build.sh` does (`math data model adam ckpt bpe spec cli `); `build.sh` has no Darwin target, so the `ollm_darwin` row follows upstream `tests/omegallm/ollm_metrics_bench.py` (`darwin-arm64`): train/omega-llm/tools/contrast/Makefile new file mode 100644 @@ -0,0 +1,41 @@ 1 +# Build on AArch64 Linux with the repository's seeded compiler. 2 +ROOT := $(abspath ../../../..) 3 +OUT ?= $(ROOT)/build/omega-contrast 4 +OMC ?= $(ROOT)/seed/out/omc 5 +DRIVER := ../wdrive/wbuild.om 6 +JSON := $(ROOT)/seed/json/json.om 7 +MODEL := $(addprefix $(ROOT)/,$(shell awk '$$1=="ollm_aarch64" {$$1=""; print}' $(ROOT)/train/units.tsv)) 8 +.DELETE_ON_ERROR: 9 +.PHONY: all replay 10 +all: $(addprefix $(OUT)/,contrast mix grade select with-example mean) 11 + 12 +$(OUT): 13 + mkdir -p "$@" 14 + 15 +$(OUT)/driver.om: $(DRIVER) | $(OUT) 16 + sed 's/^fn main to int$$/fn wbmain to int/' $< > "$@" 17 + 18 +$(OUT)/common.om: $(OUT)/driver.om $(JSON) grade.om 19 + cat $^ | sed 's/^fn main to int$$/fn priorgrade to int/' > "$@" 20 + 21 +$(OUT)/contrast: $(OUT)/driver.om contrast.om $(OMC) 22 + cat $(filter %.om,$^) | "$(OMC)" > "$@" && chmod +x "$@" 23 + 24 +$(OUT)/mix: mix.om $(OMC) | $(OUT) 25 + "$(OMC)" < $< > "$@" && chmod +x "$@" 26 + 27 +$(OUT)/grade: $(OUT)/driver.om $(JSON) grade.om $(OMC) 28 + cat $(filter %.om,$^) | "$(OMC)" > "$@" && chmod +x "$@" 29 + 30 +$(OUT)/select: $(OUT)/common.om select.om $(OMC) 31 + cat $(filter %.om,$^) | "$(OMC)" > "$@" && chmod +x "$@" 32 + 33 +$(OUT)/with-example: $(OUT)/common.om read.om with-example.om $(OMC) 34 + cat $(filter %.om,$^) | "$(OMC)" > "$@" && chmod +x "$@" 35 + 36 +$(OUT)/mean: $(MODEL) mean.om $(OMC) | $(OUT) 37 + sed 's/^fn main to int$$/fn previousmodel to int/' $(MODEL) > "$(OUT)/model-library.om" 38 + cat "$(OUT)/model-library.om" mean.om | "$(OMC)" > "$@" && chmod +x "$@" 39 + 40 +replay: all 41 + bash replay.sh "$(OUT)" "$(OMC)" train/omega-llm/tools/contrast/README.md new file mode 100644 @@ -0,0 +1,46 @@ 1 +# Contrast training and example-checked Omega completions 2 + 3 +This directory contains the seeded Omega tools and executable fixtures from the Spark contrast-training experiment. Each checkpoint gets the instruction and function signature. The example-checked chain compiles each candidate with a caller-supplied test and runs the program with `execpure`. It returns the first body that passes. 4 + 5 +## Build and replay 6 + 7 +On AArch64 Linux, grow the seeded compiler from the repository root. The replay requires GNU Make, Bash, jq and coreutils. 8 + 9 +```sh 10 +sh seed/omega-from-seed.sh 11 +make -C train/omega-llm/tools/contrast replay 12 +``` 13 + 14 +The build places executables in `build/omega-contrast`. The replay compiles the reference functions, grades the archived generations, checks selections against their recorded outcomes and reproduces the contrast corpus hash. It runs on the CPU. The measured GPU training and inference settings and model digests are in [run-01](run-01/README.md). 15 + 16 +## Generate a function 17 + 18 +From the repository root in an authorized exclusive Spark window, set `SAMPLER`, `MERGES`, `PARENT`, `CONTROL` and `TREATMENT` to absolute file paths. Use a new private directory for each invocation. The compiler, grader and live chain use scratch files in their working directory. 19 + 20 +```sh 21 +root=$PWD 22 +fixture=$root/train/omega-llm/tools/contrast/run-01 23 +cd "$(mktemp -d)" 24 +jq -rj '.[0].prompt' "$fixture/fresh.json" > prompt.om 25 +jq -rj '.[0].main' "$fixture/example.json" > example-main.om 26 +spark-window run "$root/build/omega-contrast/with-example" prompt.om \ 27 + "$root/seed/out/omc" "$SAMPLER" "$MERGES" example-main.om \ 28 + "$PARENT" "$CONTROL" "$TREATMENT" > body.om 29 +``` 30 + 31 +The supplied `main` returns 77 when its check passes and 83 when it fails. The chain tries the supplied checkpoints in order with seed 42, temperature zero and a 64-token generation limit. Standard output contains the accepted function body, and standard error identifies the checkpoint. Exit status 3 with empty output means every model failed. An example pass covers only the supplied input. The experiment used separate inputs to grade accepted functions. 32 + 33 +## Repeat the training comparison 34 + 35 +With absolute paths, set `TOOLS` to the build directory, `WTRAIN` to the seeded training harness, `OLD` to the previous corpus and `HELD` to the held-out language-model corpus. In a fresh private directory run the following commands. Each training invocation needs an authorized exclusive GPU window. 36 + 37 +```sh 38 +cp "$OLD" old.om 39 +"$TOOLS/contrast" > contrast.om 40 +"$TOOLS/mix" 41 +spark-window run "$WTRAIN" gb10 "$SAMPLER" "$PARENT" "$MERGES" old.om "$HELD" control 800 350 4 42 +spark-window run "$WTRAIN" gb10 "$SAMPLER" "$PARENT" "$MERGES" mixed.om "$HELD" treatment 800 350 4 43 +"$TOOLS/mean" control/candidate.ck treatment/candidate.ck averaged.ck 44 +``` 45 + 46 +The mixer is specific to this corpus format and experiment. It shuffles complete NUL-prefixed records with a fixed seed. The mean tool accepts two checksum-valid OLLMCK02 checkpoints with matching headers, averages every parameter and clears the optimizer moments and step. Give it a fresh output path, separate from both inputs. The [seeded training harness](../../README.md) documents the trainer arguments. train/omega-llm/tools/contrast/contrast.om new file mode 100644 @@ -0,0 +1,171 @@ 1 +note Build after wbuild.om. Write adjacent contrasting records to standard output. 2 +text ctl "fn " 3 +text hint "note " 4 +text spc " " 5 +text nl "\n" 6 +text fin "\nend\n" 7 +text retprefix "ret " 8 +text sig " ulong " 9 +text viewarg " view ulong " 10 +text tail " ulong to ulong\n" 11 +text lefts "a|x|left|first|u|val|" 12 +text rights "b|y|right|second|v|other|" 13 +text arrays "a|items|data|buf|values|arr|" 14 +text sizes "n|count|size|used|limit|length|" 15 +text names "calc|apply|compute|measure|reduce|value|" 16 +text verbs "return |compute |find |give |calculate |report |" 17 +text tasks "the absolute difference|the sum|the smaller value|the larger value|the bitwise exclusive OR|the product|the XOR of the first entries|the sum of the first entries|the largest of the first entries|the number of zeros in the first entries|" 18 +text other "the unsigned gap between the two operands|both values added together|the minimum of the two operands|the maximum of the two operands|the bitwise XOR of the operands|both values multiplied together|the bitwise exclusive OR of the prefix|the total across the prefix|the prefix maximum|the count of zeros in the prefix|" 19 +text adds "add " 20 +text muls "mul " 21 +text xors "xor " 22 +text subs "sub " 23 +text less "if lt " 24 +text greater "if gt " 25 +text closeelse "\nend\nret " 26 +text start "s = ulong 0\nfor i ulong " 27 +text value "get " 28 +text index " i" 29 +text acc "\ns = " 30 +text zero "\nif eq " 31 +text maxcond "\nif gt " 32 +text assign " s\ns = " 33 +text incr " 0\ns = add s 1" 34 +text finishloop "\nend\nret s" 35 +text endinside "\nend" 36 +text accum "s " 37 +fn entry table view uchar * which ulong to void 38 +k = ulong 0 39 +for i ulong len table 40 +v = get table i 41 +if eq v 124 42 +if eq k which 43 +ret 44 +end 45 +k = add k 1 46 +else 47 +if eq k which 48 +wdoc ulong v 49 +end 50 +end 51 +end 52 +exit 72 53 +end 54 +fn pair v ulong reverse bool to void 55 +if reverse 56 +entry rights v 57 +wdot spc 58 +entry lefts v 59 +else 60 +entry lefts v 61 +wdot spc 62 +entry rights v 63 +end 64 +end 65 +fn readitem v ulong to void 66 +wdot value 67 +entry arrays v 68 +wdot index 69 +end 70 +fn body op ulong v ulong to void 71 +if lt op 6 72 +if or eq op 0 or eq op 2 eq op 3 73 +if eq op 3 74 +wdot greater 75 +else 76 +wdot less 77 +end 78 +pair v false 79 +wdot nl 80 +wdot retprefix 81 +if eq op 0 82 +wdot subs 83 +pair v true 84 +wdot closeelse 85 +wdot subs 86 +pair v false 87 +else 88 +entry lefts v 89 +wdot closeelse 90 +entry rights v 91 +end 92 +else 93 +wdot retprefix 94 +if eq op 1 95 +wdot adds 96 +else 97 +if eq op 4 98 +wdot xors 99 +else 100 +wdot muls 101 +end 102 +end 103 +pair v false 104 +end 105 +else 106 +wdot start 107 +entry sizes v 108 +if lt op 8 109 +wdot acc 110 +if eq op 6 111 +wdot xors 112 +else 113 +wdot adds 114 +end 115 +wdot accum 116 +readitem v 117 +else 118 +if eq op 8 119 +wdot maxcond 120 +readitem v 121 +wdot assign 122 +readitem v 123 +else 124 +wdot zero 125 +readitem v 126 +wdot incr 127 +end 128 +wdot endinside 129 +end 130 +wdot finishloop 131 +end 132 +wdot fin 133 +end 134 +fn main to int 135 +put wdofd 0 1 136 +for g ulong 144 137 +v = rem g 6 138 +nam = rem add div g 6 rem g 6 6 139 +verb = rem add div g 36 div g 6 6 140 +for j ulong 10 141 +op = rem add mul j 7 g 10 142 +wdoc 0 143 +wdot hint 144 +entry verbs verb 145 +if eq rem div g 6 2 0 146 +entry tasks op 147 +else 148 +entry other op 149 +end 150 +wdot nl 151 +wdot ctl 152 +entry names nam 153 +wdot spc 154 +if lt op 6 155 +entry lefts v 156 +wdot sig 157 +entry rights v 158 +else 159 +entry arrays v 160 +wdot viewarg 161 +wdod add 4 mul 4 rem div g 6 4 162 +wdot spc 163 +entry sizes v 164 +end 165 +wdot tail 166 +body op v 167 +end 168 +end 169 +wdoflush 1 170 +ret 0 171 +end train/omega-llm/tools/contrast/grade.om new file mode 100644 @@ -0,0 +1,257 @@ 1 +note grade PANEL OMC [cached | GPU CK MERGES]. Fresh output directory for every invocation. 2 +text fieldprompt "prompt" 3 +text fieldmain "main" 4 +text fieldref "reference" 5 +text samplecmd "gsample" 6 +text seedval "42" 7 +text limitval "64" 8 +text tempval "0" 9 +text infile "input.om" 10 +text binary "./app" 11 +text nilfile "/dev/null" 12 +text outname "answer-" 13 +text sep " " 14 +text lf "\n" 15 +text cachedarg "cached" 16 +fn argis i ulong val view uchar * to bool 17 +n = wdarg i 18 +if ne n len val 19 +ret false 20 +end 21 +for k ulong n 22 +if ne get wdab k get val k 23 +ret false 24 +end 25 +end 26 +ret true 27 +end 28 +fn fdesc path view uchar * flags int to int 29 +wdpclr 30 +wdpt path 31 +fd = wdopen flags 448 32 +if lt fd 0 33 +exit 70 34 +end 35 +ret fd 36 +end 37 +fn jsontext src view uchar 262144 tape view uint 262144 obj ulong which ulong dst edit uchar * to ulong 38 +k = js_first tape obj 39 +while ne k jsnone bound `4294967295` 40 +off = js_off tape k 41 +ok = false 42 +if eq which 0 43 +ok = js_streq src off fieldprompt 44 +else 45 +if eq which 1 46 +ok = js_streq src off fieldmain 47 +else 48 +ok = js_streq src off fieldref 49 +end 50 +end 51 +if ok 52 +n = js_sget src js_off tape add k 1 dst 53 +if lt n 0 54 +exit 72 55 +end 56 +ret ulong n 57 +end 58 +k = js_mnext tape k 59 +end 60 +exit 72 61 +end 62 +fn sampleone prompt view uchar * fd int to void 63 +wdkclr 64 +wdka 3 65 +wdkt samplecmd 66 +wdka 4 67 +wdkt seedval 68 +wdkt limitval 69 +wdkt tempval 70 +wdkt prompt 71 +wdka 5 72 +if ne wdwait wdspawn -1 fd -1 0 73 +exit 73 74 +end 75 +end 76 +fn strict to long 77 +wdkclr 78 +wdkt binary 79 +pn = wdkfin 80 +pid = fork 81 +if lt pid 0 82 +exit 70 83 +end 84 +if eq pid 0 85 +fd = fdesc nilfile 2 86 +for i ulong 3 87 +if ne dupfd fd int i 0 long i 88 +exit 125 89 +end 90 +end 91 +rc = execpure wdk 0 pn 92 +exit 126 93 +end 94 +ret wdwait pid 95 +end 96 +global lengths ulong 3 97 +fn compile prompt view uchar 4096 answer view uchar * checker view uchar 65536 to long 98 +fd = fdesc infile 577 99 +wdwrall fd prompt get lengths 0 100 +wdwrall fd answer len answer 101 +wdwrall fd lf 1 102 +wdwrall fd checker get lengths 2 103 +cc = fclose fd 104 +fi = fdesc infile 0 105 +fo = fdesc binary 577 106 +fe = fdesc nilfile 1 107 +wdkclr 108 +wdka 2 109 +rc = wdwait wdspawn fi fo fe 110 +ca = fclose fi 111 +cb = fclose fo 112 +cd = fclose fe 113 +if eq rc 127 114 +exit 73 115 +end 116 +ret rc 117 +end 118 +fn terminates a view uchar * i ulong to bool 119 +if lt i 2 120 +ret false 121 +end 122 +if gt i 2 123 +if ne get a sub i 3 10 124 +ret false 125 +end 126 +end 127 +if lt add i 1 len a 128 +if ne get a add i 1 10 129 +ret false 130 +end 131 +end 132 +if ne get a sub i 2 101 133 +ret false 134 +end 135 +if ne get a sub i 1 110 136 +ret false 137 +end 138 +ret eq get a i 100 139 +end 140 +fn testanswer p view uchar 4096 ans view uchar 8192 checker view uchar 65536 to ulong 141 +for i ulong get lengths 1 142 +if terminates part ans 0 get lengths 1 i 143 +rc = compile p part ans 0 add i 1 checker 144 +if eq rc 0 145 +r = strict 146 +if or eq r 125 eq r 126 147 +exit 70 148 +end 149 +if eq r 77 150 +ret 2 151 +end 152 +ret 1 153 +end 154 +end 155 +end 156 +ret 0 157 +end 158 +fn pathfor j ulong to void 159 +wdpclr 160 +wdpt outname 161 +wdpd j 162 +end 163 +fn readanswer j ulong ans edit uchar * to ulong 164 +pathfor j 165 +fi = wdopen 0 0 166 +n = read fi ans 0 len ans 167 +c2 = fclose fi 168 +if or lt n 0 eq n long len ans 169 +exit 72 170 +end 171 +ret ulong n 172 +end 173 +fn genrow src view uchar 262144 tape view uint 262144 obj ulong j ulong to void 174 +p = new uchar 4096 0 175 +ans = new uchar 8192 0 176 +pn = jsontext src tape obj 0 p 177 +pathfor j 178 +fd = wdopen 193 384 179 +if lt fd 0 180 +exit 70 181 +end 182 +if eq argcnt 3 183 +an = jsontext src tape obj 2 ans 184 +wdwrall fd ans an 185 +else 186 +sampleone part p 0 pn fd 187 +end 188 +cl = fclose fd 189 +end 190 +fn checkrow p view uchar 4096 ans view uchar 8192 ck view uchar 65536 to ulong 191 +ret testanswer p ans ck 192 +end 193 +fn testrow src view uchar 262144 tape view uint 262144 obj ulong j ulong to ulong 194 +p = new uchar 4096 0 195 +ck = new uchar 65536 0 196 +ans = new uchar 8192 0 197 +pn = jsontext src tape obj 0 p 198 +cn = jsontext src tape obj 1 ck 199 +n = readanswer j ans 200 +put lengths 0 pn 201 +put lengths 1 n 202 +put lengths 2 cn 203 +ret checkrow p ans ck 204 +end 205 +fn main to int 206 +if and ne argcnt 4 and ne argcnt 3 ne argcnt 6 207 +ret 2 208 +end 209 +if eq argcnt 4 210 +if not argis 3 cachedarg 211 +ret 2 212 +end 213 +end 214 +src = new uchar 262144 0 215 +tape = new uint 262144 0 216 +wdpclr 217 +wdpa 1 218 +fd = wdopen 0 0 219 +if lt fd 0 220 +ret 70 221 +end 222 +n = read fd src 0 len src 223 +if or lt n 1 eq n long len src 224 +ret 72 225 +end 226 +if lt js_init tape 262144 128 0 227 +ret 72 228 +end 229 +if lt js_parse src tape ulong n 0 230 +ret 72 231 +end 232 +if ne js_type tape 0 jsarr 233 +ret 72 234 +end 235 +obj = js_first tape 0 236 +j = ulong 0 237 +while ne obj jsnone bound `4294967295` 238 +if ne argcnt 4 239 +genrow src tape obj j 240 +end 241 +res = testrow src tape obj j 242 +wdod j 243 +wdot sep 244 +wdod res 245 +wdot lf 246 +wdoflush 1 247 +if and eq argcnt 3 ne res 2 248 +ret 1 249 +end 250 +j = add j 1 251 +obj = js_enext tape obj 252 +end 253 +if eq j 0 254 +ret 72 255 +end 256 +ret 0 257 +end train/omega-llm/tools/contrast/mean.om new file mode 100644 @@ -0,0 +1,85 @@ 1 +note mean CONTROL TREATMENT NEW_OUTPUT. Link after the pinned native model source with main renamed. 2 +global meanheader uchar 112 3 +fn meaninputs to void 4 +ockload 1 5 +if ne get og 46 2 6 +exit 12 7 +end 8 +if ne oprd 1 0 0 112 112 9 +exit 10 10 +end 11 +for i ulong 112 12 +put meanheader i get opw i 13 +end 14 +ockload 2 15 +if ne get og 46 2 16 +exit 12 17 +end 18 +if ne oprd 2 0 0 112 112 19 +exit 10 20 +end 21 +for i ulong 112 22 +if ne get meanheader i get opw i 23 +exit 12 24 +end 25 +end 26 +end 27 +fn meanblock start ulong n ulong to void 28 +nb = mul n 8 29 +if ne oprd 1 add 120 mul start 8 0 nb nb 30 +exit 10 31 +end 32 +for k ulong n 33 +i = add start k 34 +left = bitcast f64 opw8 mul k 8 35 +right = owg i 36 +owp i mul add left right 0.5f64 37 +omvp add get og 11 i 0.0f64 38 +omvp add get og 12 i 0.0f64 39 +end 40 +end 41 +note Reserve a new file before writing. Publish its valid CK02 header only after the payload is complete. 42 +fn meansave to void 43 +pl = oargp 3 44 +fd = int fopen oarg 0 pl 193 384 45 +if lt fd 0 46 +exit 73 47 +end 48 +put ocfd 0 fd 49 +digest = ocbody 0 3 120 50 +ochead `3616473253210246223` 0 51 +ocput8 104 get og 44 52 +ocput8 112 digest 53 +ocwput 0 120 54 +if ne fsync fd 0 55 +exit 70 56 +end 57 +if ne fclose fd 0 58 +exit 70 59 +end 60 +end 61 +fn main to int 62 +if ne oargc 4 63 +ret 2 64 +end 65 +pl = oargp 3 66 +fd = fopen oarg 0 pl 0 0 67 +if ge fd 0 68 +cl = fclose int fd 69 +ret 73 70 +end 71 +meaninputs 72 +p = get og 8 73 +i = ulong 0 74 +while lt i p bound 999999 75 +n = sub p i 76 +if gt n OCKC 77 +n = OCKC 78 +end 79 +meanblock i n 80 +i = add i n 81 +end 82 +put og 41 0 83 +meansave 84 +ret 0 85 +end train/omega-llm/tools/contrast/mix.om new file mode 100644 @@ -0,0 +1,109 @@ 1 +om2 2 +note Shuffle complete NUL-prefixed records from the two source files. 3 +text old "old.om" 4 +text newpath "contrast.om" 5 +text target "mixed.om" 6 +global corpus uchar * 7 +global starts ulong * 8 +global ids ulong * 9 +fn append path view uchar * to void 10 +fd = int fopen path 0 len path 0 0 11 +if lt fd 0 12 +exit 70 13 +end 14 +size = fseek fd 0 2 15 +if le size 0 16 +exit 72 17 +end 18 +if ne fseek fd 0 0 0 19 +exit 70 20 +end 21 +base = len corpus 22 +stop = add base ulong size 23 +if le stop base 24 +exit 70 25 +end 26 +rc = enlarge corpus stop 27 +if lt rc 0 28 +exit 70 29 +end 30 +off = base 31 +for attempt ulong ulong size bound `9223372036854775807` 32 +n = read fd corpus off sub stop off 33 +if le n 0 34 +exit 70 35 +end 36 +off = add off ulong n 37 +if eq off stop 38 +break 39 +end 40 +end 41 +if ne fclose fd 0 42 +exit 70 43 +end 44 +if ne get corpus base 0 45 +exit 72 46 +end 47 +end 48 +fn makeindex to ulong 49 +count = ulong 0 50 +for i ulong len corpus bound `9223372036854775807` 51 +if eq get corpus i 0 52 +count = add count 1 53 +end 54 +end 55 +rc = enlarge starts add count 1 56 +if lt rc 0 57 +exit 70 58 +end 59 +rc = enlarge ids count 60 +if lt rc 0 61 +exit 70 62 +end 63 +k = ulong 0 64 +for i ulong len corpus bound `9223372036854775807` 65 +if eq get corpus i 0 66 +put starts k i 67 +put ids k k 68 +k = add k 1 69 +end 70 +end 71 +put starts count len corpus 72 +ret count 73 +end 74 +fn putrecord fd int k ulong to void 75 +off = get starts k 76 +stop = get starts add k 1 77 +for attempt ulong sub stop off bound `9223372036854775807` 78 +r = write fd corpus off sub stop off 79 +if le r 0 80 +exit 70 81 +end 82 +off = add off ulong r 83 +if eq off stop 84 +ret 85 +end 86 +end 87 +end 88 +fn main to int 89 +append old 90 +append newpath 91 +n = makeindex 92 +seed = ulong `123456789` 93 +for i ulong sub n 1 bound `9223372036854775807` 94 +last = sub sub n i 1 95 +seed = add mul seed `6364136223846793005` `1442695040888963407` 96 +j = rem shr seed 16 add last 1 97 +tmp = get ids last 98 +put ids last get ids j 99 +put ids j tmp 100 +end 101 +fd = int fopen target 0 len target 193 384 102 +if lt fd 0 103 +ret 70 104 +end 105 +for i ulong n bound `9223372036854775807` 106 +putrecord fd get ids i 107 +end 108 +ret int fclose fd 109 +end train/omega-llm/tools/contrast/read.om new file mode 100644 @@ -0,0 +1,26 @@ 1 +fn pickread fd int dest edit uchar * to ulong 2 +if lt fd 0 3 +exit 74 4 +end 5 +used = ulong 0 6 +while lt used len dest bound 8193 7 +n = read fd dest used sub len dest used 8 +if lt n 0 9 +exit 74 10 +end 11 +if eq n 0 12 +break 13 +end 14 +used = add used ulong n 15 +end 16 +cl = fclose fd 17 +if eq used len dest 18 +exit 74 19 +end 20 +ret used 21 +end 22 +fn pickload a ulong dest edit uchar * to ulong 23 +wdpclr 24 +wdpa a 25 +ret pickread wdopen 0 0 dest 26 +end train/omega-llm/tools/contrast/replay.sh new file mode 100644 @@ -0,0 +1,42 @@ 1 +#!/usr/bin/env bash 2 +set -euo pipefail 3 +bin=$(realpath "$1") 4 +omc=$(realpath "$2") 5 +data=$(realpath run-01) 6 +work=$(mktemp -d) 7 +trap 'rm -rf "$work"' EXIT 8 +cd "$work" 9 +for panel in fresh example earlier; do 10 + mkdir "gold-$panel" 11 + (cd "gold-$panel" && "$bin/grade" "$data/$panel.json" "$omc" >grades) 12 + test "$(wc -l <"gold-$panel/grades")" -eq "$(jq length "$data/$panel.json")" 13 +done 14 +for model in parent control treatment mean starting focused; do 15 + for panel in $(jq -r --arg m "$model" '.[$m]|keys[]' "$data/generations.json"); do 16 + dir="$model-$panel" 17 + mkdir "$dir" 18 + (cd "$dir" 19 + jq -r --arg m "$model" --arg p "$panel" '.[$m][$p][] | .body | @base64' "$data/generations.json" | 20 + { i=0; while IFS= read -r encoded; do printf %s "$encoded" | base64 -d >"answer-$i"; i=$((i+1)); done; } 21 + "$bin/grade" "$data/$panel.json" "$omc" cached >grades 22 + jq -r --arg m "$model" --arg p "$panel" '.[$m][$p] | to_entries[] | "\(.key) \(.value.grade)"' "$data/generations.json" | cmp - grades) 23 + done 24 +done 25 +for mode in example compile; do 26 + dir="selected-$mode" 27 + mkdir "$dir" 28 + args=() 29 + if [[ $mode == compile ]]; then args+=(compile); fi 30 + (cd "$dir" 31 + "$bin/select" "$data/example.json" "$omc" ../parent-fresh ../control-fresh ../treatment-fresh "${args[@]}" >choices 32 + "$bin/grade" "$data/fresh.json" "$omc" cached >grades 33 + cmp grades "$data/$dir.grades" && cmp choices "$data/$dir.choices") 34 +done 35 +"$bin/contrast" > contrast.om 36 +sha256sum -c "$data/contrast.sha256" 37 +# Cross both original limits. Compare the complete record multiset including duplicates. 38 +for _ in {1..12}; do cat contrast.om; done >old.om 39 +"$bin/mix" 40 +cat old.om contrast.om | LC_ALL=C sort -z >expected.records 41 +LC_ALL=C sort -z mixed.om | cmp - expected.records 42 +echo "All reference functions, archived generations and fresh chain selections reproduced." train/omega-llm/tools/contrast/run-01/README.md new file mode 100644 @@ -0,0 +1,18 @@ 1 +# Spark GB10 contrast experiment 2 + 3 +The two training arms started from the same previously mixed checkpoint and ran 800 steps at a learning rate of 0.000350. The control reused the old corpus. The treatment shuffled the old corpus with 1,440 contrast records. The average gave the two sets of trained weights equal weight. The coefficient and test panels were fixed before inspection of the treatment scores. 4 + 5 +| Generator | Fresh functions correct | Earlier functions correct | 6 +|---|---:|---:| 7 +| Parent | 5/24 | 28/79 | 8 +| Control | 7/24 | 30/79 | 9 +| Treatment | 5/24 | 30/79 | 10 +| Average | 6/24 | 31/79 | 11 +| First compilable body from parent, control, treatment | 8/24 | 29/79 | 12 +| First body that passed one supplied example in the same order | 9/24 | Untested | 13 + 14 +The example-checked chain returned nine functions and abstained on 15. All nine passed their hidden inputs. Seven of the eight fresh composition prompts produced a compilable answer in the three-checkpoint chain. None passed the hidden tests. Single-checkpoint median warm latency on four fixed prompts with three measured repetitions was 166.8 ms for the parent, 163.1 ms for control, 147.9 ms for treatment and 150.6 ms for the average. Three live cold chain calls took 2.27 s for first-checkpoint acceptance, 6.70 s for third-checkpoint acceptance and 7.04 s for abstention. 15 + 16 +The archived panels and generations allow independent behavior replay without model weights. Each generation records a body and a grade of 0 for no compilable function, 1 for compiled but incorrect or 2 for correct on every hidden case. The fresh scalar checks cover eight pairs and the array checks cover twelve cases across two arrays. The distinct caller example is visible only to the selector. [Full scores](scores.tsv) include the earlier single-checkpoint and chain comparisons. Identifiers `starting` and `focused` refer to the two members of the previous compile fallback, and `parent` refers to the mixed checkpoint used to start this experiment. 17 + 18 +[Artifact digests](artifacts.sha256) identify the original experiment inputs, trained checkpoints and tokenizer held outside Git. The saved experiment directory is named `ollm-contrast-vR2SLMbY` and the parent directory for prerequisite artifacts is `ollm-native-coding-4esuIP3a`. train/omega-llm/tools/contrast/run-01/artifacts.sha256 new file mode 100644 @@ -0,0 +1,8 @@ 1 +`090462538b3608ec6b4a6b4f2b072f12d810c0ad59866b0e4cdd551d88302fa4` control/candidate.ck 2 +`a33a01c39d3f0de006bf57ad22da74e0caa360467fa31e5ca6cc42d0e1186eb9` treatment/candidate.ck 3 +`98e5afe6c421499ab8294227fcf67729ca7f01a19d4a9f5494c2e9a6dcc535fc` mean/candidate.ck 4 +`62df244e74d694698d8ed6b8da68fecf1355c123ba9d491d24c1133fe59bb600` inputs/mixed.om 5 +`145975be6286cc5911a5ae968914d29615b929774f932558a76d780c1dafb098` inputs/old.om 6 +`80b06e11429c546df52efa6fbd353eea13031b53b024ae82594212eae64d71bb` parent.ck 7 +`73a29baf97619a746a21232c403bf08af71a76e48b3b2cde6d64dab766083882` merges4096.bin 8 +`54d253a666ab6aa116b43df50b9031b6f17ca32996d5d29c51c96b1102fc055d` held.om train/omega-llm/tools/contrast/run-01/contrast.sha256 new file mode 100644 @@ -0,0 +1 @@ 1 +`b5102075b3f4c9e07c4eba7310da5684b4f080bdb274cc38a6684c04b80c3dfa` contrast.om train/omega-llm/tools/contrast/run-01/earlier.json new file mode 100644 @@ -0,0 +1,1780 @@ 1 +[ 2 + { 3 + "prompt": "note return the sum of the inputs\nfn calc a ulong b ulong to ulong\n", 4 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 14\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 8\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 13\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 266\nret 83\nend\nret 77\nend\n", 5 + "reference": "ret add a b\nend\n", 6 + "vectors": [ 7 + [ 8 + 0, 9 + 0, 10 + 0 11 + ], 12 + [ 13 + 1, 14 + 0, 15 + 1 16 + ], 17 + [ 18 + 0, 19 + 1, 20 + 1 21 + ], 22 + [ 23 + 7, 24 + 7, 25 + 14 26 + ], 27 + [ 28 + 5, 29 + 3, 30 + 8 31 + ], 32 + [ 33 + 2, 34 + 11, 35 + 13 36 + ], 37 + [ 38 + 257, 39 + 9, 40 + 266 41 + ] 42 + ], 43 + "group": "retention" 44 + }, 45 + { 46 + "prompt": "note return the product of the inputs\nfn calc a ulong b ulong to ulong\n", 47 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 49\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 15\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 22\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 2313\nret 83\nend\nret 77\nend\n", 48 + "reference": "ret mul a b\nend\n", 49 + "vectors": [ 50 + [ 51 + 0, 52 + 0, 53 + 0 54 + ], 55 + [ 56 + 1, 57 + 0, 58 + 0 59 + ], 60 + [ 61 + 0, 62 + 1, 63 + 0 64 + ], 65 + [ 66 + 7, 67 + 7, 68 + 49 69 + ], 70 + [ 71 + 5, 72 + 3, 73 + 15 74 + ], 75 + [ 76 + 2, 77 + 11, 78 + 22 79 + ], 80 + [ 81 + 257, 82 + 9, 83 + 2313 84 + ] 85 + ], 86 + "group": "retention" 87 + }, 88 + { 89 + "prompt": "note return the smaller input\nfn calc a ulong b ulong to ulong\n", 90 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 3\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 2\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 9\nret 83\nend\nret 77\nend\n", 91 + "reference": "if lt a b\nret a\nend\nret b\nend\n", 92 + "vectors": [ 93 + [ 94 + 0, 95 + 0, 96 + 0 97 + ], 98 + [ 99 + 1, 100 + 0, 101 + 0 102 + ], 103 + [ 104 + 0, 105 + 1, 106 + 0 107 + ], 108 + [ 109 + 7, 110 + 7, 111 + 7 112 + ], 113 + [ 114 + 5, 115 + 3, 116 + 3 117 + ], 118 + [ 119 + 2, 120 + 11, 121 + 2 122 + ], 123 + [ 124 + 257, 125 + 9, 126 + 9 127 + ] 128 + ], 129 + "group": "retention" 130 + }, 131 + { 132 + "prompt": "note return the larger input\nfn calc a ulong b ulong to ulong\n", 133 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 5\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 257\nret 83\nend\nret 77\nend\n", 134 + "reference": "if gt a b\nret a\nend\nret b\nend\n", 135 + "vectors": [ 136 + [ 137 + 0, 138 + 0, 139 + 0 140 + ], 141 + [ 142 + 1, 143 + 0, 144 + 1 145 + ], 146 + [ 147 + 0, 148 + 1, 149 + 1 150 + ], 151 + [ 152 + 7, 153 + 7, 154 + 7 155 + ], 156 + [ 157 + 5, 158 + 3, 159 + 5 160 + ], 161 + [ 162 + 2, 163 + 11, 164 + 11 165 + ], 166 + [ 167 + 257, 168 + 9, 169 + 257 170 + ] 171 + ], 172 + "group": "retention" 173 + }, 174 + { 175 + "prompt": "note return the bitwise union\nfn calc a ulong b ulong to ulong\n", 176 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 7\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 265\nret 83\nend\nret 77\nend\n", 177 + "reference": "ret or a b\nend\n", 178 + "vectors": [ 179 + [ 180 + 0, 181 + 0, 182 + 0 183 + ], 184 + [ 185 + 1, 186 + 0, 187 + 1 188 + ], 189 + [ 190 + 0, 191 + 1, 192 + 1 193 + ], 194 + [ 195 + 7, 196 + 7, 197 + 7 198 + ], 199 + [ 200 + 5, 201 + 3, 202 + 7 203 + ], 204 + [ 205 + 2, 206 + 11, 207 + 11 208 + ], 209 + [ 210 + 257, 211 + 9, 212 + 265 213 + ] 214 + ], 215 + "group": "retention" 216 + }, 217 + { 218 + "prompt": "note return the bitwise intersection\nfn calc a ulong b ulong to ulong\n", 219 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 1\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 2\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 1\nret 83\nend\nret 77\nend\n", 220 + "reference": "ret and a b\nend\n", 221 + "vectors": [ 222 + [ 223 + 0, 224 + 0, 225 + 0 226 + ], 227 + [ 228 + 1, 229 + 0, 230 + 0 231 + ], 232 + [ 233 + 0, 234 + 1, 235 + 0 236 + ], 237 + [ 238 + 7, 239 + 7, 240 + 7 241 + ], 242 + [ 243 + 5, 244 + 3, 245 + 1 246 + ], 247 + [ 248 + 2, 249 + 11, 250 + 2 251 + ], 252 + [ 253 + 257, 254 + 9, 255 + 1 256 + ] 257 + ], 258 + "group": "retention" 259 + }, 260 + { 261 + "prompt": "note return the first input\nfn calc a ulong b ulong to ulong\n", 262 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 5\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 2\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 257\nret 83\nend\nret 77\nend\n", 263 + "reference": "ret a\nend\n", 264 + "vectors": [ 265 + [ 266 + 0, 267 + 0, 268 + 0 269 + ], 270 + [ 271 + 1, 272 + 0, 273 + 1 274 + ], 275 + [ 276 + 0, 277 + 1, 278 + 0 279 + ], 280 + [ 281 + 7, 282 + 7, 283 + 7 284 + ], 285 + [ 286 + 5, 287 + 3, 288 + 5 289 + ], 290 + [ 291 + 2, 292 + 11, 293 + 2 294 + ], 295 + [ 296 + 257, 297 + 9, 298 + 257 299 + ] 300 + ], 301 + "group": "retention" 302 + }, 303 + { 304 + "prompt": "note return the second input\nfn calc a ulong b ulong to ulong\n", 305 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 3\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 9\nret 83\nend\nret 77\nend\n", 306 + "reference": "ret b\nend\n", 307 + "vectors": [ 308 + [ 309 + 0, 310 + 0, 311 + 0 312 + ], 313 + [ 314 + 1, 315 + 0, 316 + 0 317 + ], 318 + [ 319 + 0, 320 + 1, 321 + 1 322 + ], 323 + [ 324 + 7, 325 + 7, 326 + 7 327 + ], 328 + [ 329 + 5, 330 + 3, 331 + 3 332 + ], 333 + [ 334 + 2, 335 + 11, 336 + 11 337 + ], 338 + [ 339 + 257, 340 + 9, 341 + 9 342 + ] 343 + ], 344 + "group": "retention" 345 + }, 346 + { 347 + "prompt": "note sum a and b together\nfn calc a ulong b ulong to ulong\n", 348 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 14\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 8\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 13\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 266\nret 83\nend\nret 77\nend\n", 349 + "reference": "ret add a b\nend\n", 350 + "vectors": [ 351 + [ 352 + 0, 353 + 0, 354 + 0 355 + ], 356 + [ 357 + 1, 358 + 0, 359 + 1 360 + ], 361 + [ 362 + 0, 363 + 1, 364 + 1 365 + ], 366 + [ 367 + 7, 368 + 7, 369 + 14 370 + ], 371 + [ 372 + 5, 373 + 3, 374 + 8 375 + ], 376 + [ 377 + 2, 378 + 11, 379 + 13 380 + ], 381 + [ 382 + 257, 383 + 9, 384 + 266 385 + ] 386 + ], 387 + "group": "retention" 388 + }, 389 + { 390 + "prompt": "note what is the result of adding the inputs\nfn calc a ulong b ulong to ulong\n", 391 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 14\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 8\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 13\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 266\nret 83\nend\nret 77\nend\n", 392 + "reference": "ret add a b\nend\n", 393 + "vectors": [ 394 + [ 395 + 0, 396 + 0, 397 + 0 398 + ], 399 + [ 400 + 1, 401 + 0, 402 + 1 403 + ], 404 + [ 405 + 0, 406 + 1, 407 + 1 408 + ], 409 + [ 410 + 7, 411 + 7, 412 + 14 413 + ], 414 + [ 415 + 5, 416 + 3, 417 + 8 418 + ], 419 + [ 420 + 2, 421 + 11, 422 + 13 423 + ], 424 + [ 425 + 257, 426 + 9, 427 + 266 428 + ] 429 + ], 430 + "group": "retention" 431 + }, 432 + { 433 + "prompt": "note multiply a by b\nfn calc a ulong b ulong to ulong\n", 434 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 49\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 15\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 22\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 2313\nret 83\nend\nret 77\nend\n", 435 + "reference": "ret mul a b\nend\n", 436 + "vectors": [ 437 + [ 438 + 0, 439 + 0, 440 + 0 441 + ], 442 + [ 443 + 1, 444 + 0, 445 + 0 446 + ], 447 + [ 448 + 0, 449 + 1, 450 + 0 451 + ], 452 + [ 453 + 7, 454 + 7, 455 + 49 456 + ], 457 + [ 458 + 5, 459 + 3, 460 + 15 461 + ], 462 + [ 463 + 2, 464 + 11, 465 + 22 466 + ], 467 + [ 468 + 257, 469 + 9, 470 + 2313 471 + ] 472 + ], 473 + "group": "retention" 474 + }, 475 + { 476 + "prompt": "note return the product of both arguments\nfn calc a ulong b ulong to ulong\n", 477 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 49\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 15\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 22\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 2313\nret 83\nend\nret 77\nend\n", 478 + "reference": "ret mul a b\nend\n", 479 + "vectors": [ 480 + [ 481 + 0, 482 + 0, 483 + 0 484 + ], 485 + [ 486 + 1, 487 + 0, 488 + 0 489 + ], 490 + [ 491 + 0, 492 + 1, 493 + 0 494 + ], 495 + [ 496 + 7, 497 + 7, 498 + 49 499 + ], 500 + [ 501 + 5, 502 + 3, 503 + 15 504 + ], 505 + [ 506 + 2, 507 + 11, 508 + 22 509 + ], 510 + [ 511 + 257, 512 + 9, 513 + 2313 514 + ] 515 + ], 516 + "group": "retention" 517 + }, 518 + { 519 + "prompt": "note take the lower of the values\nfn calc a ulong b ulong to ulong\n", 520 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 3\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 2\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 9\nret 83\nend\nret 77\nend\n", 521 + "reference": "if lt a b\nret a\nend\nret b\nend\n", 522 + "vectors": [ 523 + [ 524 + 0, 525 + 0, 526 + 0 527 + ], 528 + [ 529 + 1, 530 + 0, 531 + 0 532 + ], 533 + [ 534 + 0, 535 + 1, 536 + 0 537 + ], 538 + [ 539 + 7, 540 + 7, 541 + 7 542 + ], 543 + [ 544 + 5, 545 + 3, 546 + 3 547 + ], 548 + [ 549 + 2, 550 + 11, 551 + 2 552 + ], 553 + [ 554 + 257, 555 + 9, 556 + 9 557 + ] 558 + ], 559 + "group": "retention" 560 + }, 561 + { 562 + "prompt": "note which input has the smaller value\nfn calc a ulong b ulong to ulong\n", 563 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 3\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 2\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 9\nret 83\nend\nret 77\nend\n", 564 + "reference": "if lt a b\nret a\nend\nret b\nend\n", 565 + "vectors": [ 566 + [ 567 + 0, 568 + 0, 569 + 0 570 + ], 571 + [ 572 + 1, 573 + 0, 574 + 0 575 + ], 576 + [ 577 + 0, 578 + 1, 579 + 0 580 + ], 581 + [ 582 + 7, 583 + 7, 584 + 7 585 + ], 586 + [ 587 + 5, 588 + 3, 589 + 3 590 + ], 591 + [ 592 + 2, 593 + 11, 594 + 2 595 + ], 596 + [ 597 + 257, 598 + 9, 599 + 9 600 + ] 601 + ], 602 + "group": "retention" 603 + }, 604 + { 605 + "prompt": "note take the higher of the values\nfn calc a ulong b ulong to ulong\n", 606 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 5\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 257\nret 83\nend\nret 77\nend\n", 607 + "reference": "if gt a b\nret a\nend\nret b\nend\n", 608 + "vectors": [ 609 + [ 610 + 0, 611 + 0, 612 + 0 613 + ], 614 + [ 615 + 1, 616 + 0, 617 + 1 618 + ], 619 + [ 620 + 0, 621 + 1, 622 + 1 623 + ], 624 + [ 625 + 7, 626 + 7, 627 + 7 628 + ], 629 + [ 630 + 5, 631 + 3, 632 + 5 633 + ], 634 + [ 635 + 2, 636 + 11, 637 + 11 638 + ], 639 + [ 640 + 257, 641 + 9, 642 + 257 643 + ] 644 + ], 645 + "group": "retention" 646 + }, 647 + { 648 + "prompt": "note which input has the larger value\nfn calc a ulong b ulong to ulong\n", 649 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 5\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 257\nret 83\nend\nret 77\nend\n", 650 + "reference": "if gt a b\nret a\nend\nret b\nend\n", 651 + "vectors": [ 652 + [ 653 + 0, 654 + 0, 655 + 0 656 + ], 657 + [ 658 + 1, 659 + 0, 660 + 1 661 + ], 662 + [ 663 + 0, 664 + 1, 665 + 1 666 + ], 667 + [ 668 + 7, 669 + 7, 670 + 7 671 + ], 672 + [ 673 + 5, 674 + 3, 675 + 5 676 + ], 677 + [ 678 + 2, 679 + 11, 680 + 11 681 + ], 682 + [ 683 + 257, 684 + 9, 685 + 257 686 + ] 687 + ], 688 + "group": "retention" 689 + }, 690 + { 691 + "prompt": "note use OR on the two operands\nfn calc a ulong b ulong to ulong\n", 692 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 7\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 265\nret 83\nend\nret 77\nend\n", 693 + "reference": "ret or a b\nend\n", 694 + "vectors": [ 695 + [ 696 + 0, 697 + 0, 698 + 0 699 + ], 700 + [ 701 + 1, 702 + 0, 703 + 1 704 + ], 705 + [ 706 + 0, 707 + 1, 708 + 1 709 + ], 710 + [ 711 + 7, 712 + 7, 713 + 7 714 + ], 715 + [ 716 + 5, 717 + 3, 718 + 7 719 + ], 720 + [ 721 + 2, 722 + 11, 723 + 11 724 + ], 725 + [ 726 + 257, 727 + 9, 728 + 265 729 + ] 730 + ], 731 + "group": "retention" 732 + }, 733 + { 734 + "prompt": "note include a bit when either value has it\nfn calc a ulong b ulong to ulong\n", 735 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 7\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 265\nret 83\nend\nret 77\nend\n", 736 + "reference": "ret or a b\nend\n", 737 + "vectors": [ 738 + [ 739 + 0, 740 + 0, 741 + 0 742 + ], 743 + [ 744 + 1, 745 + 0, 746 + 1 747 + ], 748 + [ 749 + 0, 750 + 1, 751 + 1 752 + ], 753 + [ 754 + 7, 755 + 7, 756 + 7 757 + ], 758 + [ 759 + 5, 760 + 3, 761 + 7 762 + ], 763 + [ 764 + 2, 765 + 11, 766 + 11 767 + ], 768 + [ 769 + 257, 770 + 9, 771 + 265 772 + ] 773 + ], 774 + "group": "retention" 775 + }, 776 + { 777 + "prompt": "note use AND on the two operands\nfn calc a ulong b ulong to ulong\n", 778 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 1\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 2\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 1\nret 83\nend\nret 77\nend\n", 779 + "reference": "ret and a b\nend\n", 780 + "vectors": [ 781 + [ 782 + 0, 783 + 0, 784 + 0 785 + ], 786 + [ 787 + 1, 788 + 0, 789 + 0 790 + ], 791 + [ 792 + 0, 793 + 1, 794 + 0 795 + ], 796 + [ 797 + 7, 798 + 7, 799 + 7 800 + ], 801 + [ 802 + 5, 803 + 3, 804 + 1 805 + ], 806 + [ 807 + 2, 808 + 11, 809 + 2 810 + ], 811 + [ 812 + 257, 813 + 9, 814 + 1 815 + ] 816 + ], 817 + "group": "retention" 818 + }, 819 + { 820 + "prompt": "note include a bit when both values have it\nfn calc a ulong b ulong to ulong\n", 821 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 1\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 2\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 1\nret 83\nend\nret 77\nend\n", 822 + "reference": "ret and a b\nend\n", 823 + "vectors": [ 824 + [ 825 + 0, 826 + 0, 827 + 0 828 + ], 829 + [ 830 + 1, 831 + 0, 832 + 0 833 + ], 834 + [ 835 + 0, 836 + 1, 837 + 0 838 + ], 839 + [ 840 + 7, 841 + 7, 842 + 7 843 + ], 844 + [ 845 + 5, 846 + 3, 847 + 1 848 + ], 849 + [ 850 + 2, 851 + 11, 852 + 2 853 + ], 854 + [ 855 + 257, 856 + 9, 857 + 1 858 + ] 859 + ], 860 + "group": "retention" 861 + }, 862 + { 863 + "prompt": "note choose argument a\nfn calc a ulong b ulong to ulong\n", 864 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 5\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 2\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 257\nret 83\nend\nret 77\nend\n", 865 + "reference": "ret a\nend\n", 866 + "vectors": [ 867 + [ 868 + 0, 869 + 0, 870 + 0 871 + ], 872 + [ 873 + 1, 874 + 0, 875 + 1 876 + ], 877 + [ 878 + 0, 879 + 1, 880 + 0 881 + ], 882 + [ 883 + 7, 884 + 7, 885 + 7 886 + ], 887 + [ 888 + 5, 889 + 3, 890 + 5 891 + ], 892 + [ 893 + 2, 894 + 11, 895 + 2 896 + ], 897 + [ 898 + 257, 899 + 9, 900 + 257 901 + ] 902 + ], 903 + "group": "retention" 904 + }, 905 + { 906 + "prompt": "note return the value on the left\nfn calc a ulong b ulong to ulong\n", 907 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 5\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 2\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 257\nret 83\nend\nret 77\nend\n", 908 + "reference": "ret a\nend\n", 909 + "vectors": [ 910 + [ 911 + 0, 912 + 0, 913 + 0 914 + ], 915 + [ 916 + 1, 917 + 0, 918 + 1 919 + ], 920 + [ 921 + 0, 922 + 1, 923 + 0 924 + ], 925 + [ 926 + 7, 927 + 7, 928 + 7 929 + ], 930 + [ 931 + 5, 932 + 3, 933 + 5 934 + ], 935 + [ 936 + 2, 937 + 11, 938 + 2 939 + ], 940 + [ 941 + 257, 942 + 9, 943 + 257 944 + ] 945 + ], 946 + "group": "retention" 947 + }, 948 + { 949 + "prompt": "note choose argument b\nfn calc a ulong b ulong to ulong\n", 950 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 3\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 9\nret 83\nend\nret 77\nend\n", 951 + "reference": "ret b\nend\n", 952 + "vectors": [ 953 + [ 954 + 0, 955 + 0, 956 + 0 957 + ], 958 + [ 959 + 1, 960 + 0, 961 + 0 962 + ], 963 + [ 964 + 0, 965 + 1, 966 + 1 967 + ], 968 + [ 969 + 7, 970 + 7, 971 + 7 972 + ], 973 + [ 974 + 5, 975 + 3, 976 + 3 977 + ], 978 + [ 979 + 2, 980 + 11, 981 + 11 982 + ], 983 + [ 984 + 257, 985 + 9, 986 + 9 987 + ] 988 + ], 989 + "group": "retention" 990 + }, 991 + { 992 + "prompt": "note return the value on the right\nfn calc a ulong b ulong to ulong\n", 993 + "main": "fn main to int\nif ne calc ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc ulong 5 ulong 3 ulong 3\nret 83\nend\nif ne calc ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne calc ulong 257 ulong 9 ulong 9\nret 83\nend\nret 77\nend\n", 994 + "reference": "ret b\nend\n", 995 + "vectors": [ 996 + [ 997 + 0, 998 + 0, 999 + 0 1000 + ], 1001 + [ 1002 + 1, 1003 + 0, 1004 + 0 1005 + ], 1006 + [ 1007 + 0, 1008 + 1, 1009 + 1 1010 + ], 1011 + [ 1012 + 7, 1013 + 7, 1014 + 7 1015 + ], 1016 + [ 1017 + 5, 1018 + 3, 1019 + 3 1020 + ], 1021 + [ 1022 + 2, 1023 + 11, 1024 + 11 1025 + ], 1026 + [ 1027 + 257, 1028 + 9, 1029 + 9 1030 + ] 1031 + ], 1032 + "group": "retention" 1033 + }, 1034 + { 1035 + "prompt": "note calculate the sum\nfn calc_value m ulong n ulong to ulong\n", 1036 + "reference": "ret add m n\nend\n", 1037 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 14\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 8\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 13\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 266\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 767\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 49\nret 83\nend\nret 77\nend\n", 1038 + "group": "new-signature" 1039 + }, 1040 + { 1041 + "prompt": "note calculate the sum then add 9\nfn calc_value m ulong n ulong to ulong\n", 1042 + "reference": "ret add add m n 9\nend\n", 1043 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 9\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 10\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 10\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 23\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 17\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 22\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 275\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 776\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 58\nret 83\nend\nret 77\nend\n", 1044 + "group": "new-composition-prompts" 1045 + }, 1046 + { 1047 + "prompt": "note calculate the product\nfn calc_value m ulong n ulong to ulong\n", 1048 + "reference": "ret mul m n\nend\n", 1049 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 49\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 15\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 22\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 2313\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 130816\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 528\nret 83\nend\nret 77\nend\n", 1050 + "group": "new-signature" 1051 + }, 1052 + { 1053 + "prompt": "note calculate the product then add 9\nfn calc_value m ulong n ulong to ulong\n", 1054 + "reference": "ret add mul m n 9\nend\n", 1055 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 9\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 9\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 9\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 58\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 24\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 31\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 2322\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 130825\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 537\nret 83\nend\nret 77\nend\n", 1056 + "group": "new-composition-prompts" 1057 + }, 1058 + { 1059 + "prompt": "note calculate the bitwise intersection\nfn calc_value m ulong n ulong to ulong\n", 1060 + "reference": "ret and m n\nend\n", 1061 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 1\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 2\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 1\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 256\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 0\nret 83\nend\nret 77\nend\n", 1062 + "group": "new-signature" 1063 + }, 1064 + { 1065 + "prompt": "note calculate the bitwise intersection then add 9\nfn calc_value m ulong n ulong to ulong\n", 1066 + "reference": "ret add and m n 9\nend\n", 1067 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 9\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 9\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 9\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 16\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 10\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 10\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 265\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 9\nret 83\nend\nret 77\nend\n", 1068 + "group": "new-composition-prompts" 1069 + }, 1070 + { 1071 + "prompt": "note calculate the bitwise union\nfn calc_value m ulong n ulong to ulong\n", 1072 + "reference": "ret or m n\nend\n", 1073 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 7\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 265\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 511\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 49\nret 83\nend\nret 77\nend\n", 1074 + "group": "new-signature" 1075 + }, 1076 + { 1077 + "prompt": "note calculate the bitwise union then add 9\nfn calc_value m ulong n ulong to ulong\n", 1078 + "reference": "ret add or m n 9\nend\n", 1079 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 9\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 10\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 10\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 16\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 16\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 20\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 274\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 520\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 58\nret 83\nend\nret 77\nend\n", 1080 + "group": "new-composition-prompts" 1081 + }, 1082 + { 1083 + "prompt": "note calculate the exclusive OR\nfn calc_value m ulong n ulong to ulong\n", 1084 + "reference": "ret xor m n\nend\n", 1085 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 0\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 6\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 9\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 264\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 255\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 49\nret 83\nend\nret 77\nend\n", 1086 + "group": "new-signature" 1087 + }, 1088 + { 1089 + "prompt": "note calculate the exclusive OR then add 9\nfn calc_value m ulong n ulong to ulong\n", 1090 + "reference": "ret add xor m n 9\nend\n", 1091 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 9\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 10\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 10\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 9\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 15\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 18\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 273\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 264\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 58\nret 83\nend\nret 77\nend\n", 1092 + "group": "new-composition-prompts" 1093 + }, 1094 + { 1095 + "prompt": "note calculate the minimum\nfn calc_value m ulong n ulong to ulong\n", 1096 + "reference": "v = n\nif lt m n\nv = m\nend\nret v\nend\n", 1097 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 3\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 2\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 9\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 256\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 16\nret 83\nend\nret 77\nend\n", 1098 + "group": "new-signature" 1099 + }, 1100 + { 1101 + "prompt": "note calculate the minimum then add 9\nfn calc_value m ulong n ulong to ulong\n", 1102 + "reference": "v = n\nif lt m n\nv = m\nend\nret add v 9\nend\n", 1103 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 9\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 9\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 9\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 16\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 12\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 18\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 265\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 25\nret 83\nend\nret 77\nend\n", 1104 + "group": "new-composition-prompts" 1105 + }, 1106 + { 1107 + "prompt": "note calculate the maximum\nfn calc_value m ulong n ulong to ulong\n", 1108 + "reference": "v = n\nif gt m n\nv = m\nend\nret v\nend\n", 1109 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 5\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 257\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 511\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 33\nret 83\nend\nret 77\nend\n", 1110 + "group": "new-signature" 1111 + }, 1112 + { 1113 + "prompt": "note calculate the maximum then add 9\nfn calc_value m ulong n ulong to ulong\n", 1114 + "reference": "v = n\nif gt m n\nv = m\nend\nret add v 9\nend\n", 1115 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 9\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 10\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 10\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 16\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 14\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 20\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 266\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 520\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 42\nret 83\nend\nret 77\nend\n", 1116 + "group": "new-composition-prompts" 1117 + }, 1118 + { 1119 + "prompt": "note calculate the first argument\nfn calc_value m ulong n ulong to ulong\n", 1120 + "reference": "ret m\nend\n", 1121 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 0\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 5\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 2\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 257\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 511\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 16\nret 83\nend\nret 77\nend\n", 1122 + "group": "new-signature" 1123 + }, 1124 + { 1125 + "prompt": "note calculate the first argument then add 9\nfn calc_value m ulong n ulong to ulong\n", 1126 + "reference": "ret add m 9\nend\n", 1127 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 9\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 9\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 10\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 16\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 14\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 266\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 520\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 25\nret 83\nend\nret 77\nend\n", 1128 + "group": "new-composition-prompts" 1129 + }, 1130 + { 1131 + "prompt": "note calculate the second argument\nfn calc_value m ulong n ulong to ulong\n", 1132 + "reference": "ret n\nend\n", 1133 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 3\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 9\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 256\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 33\nret 83\nend\nret 77\nend\n", 1134 + "group": "new-signature" 1135 + }, 1136 + { 1137 + "prompt": "note calculate the second argument then add 9\nfn calc_value m ulong n ulong to ulong\n", 1138 + "reference": "ret add n 9\nend\n", 1139 + "main": "fn main to int\nif ne calc_value ulong 0 ulong 0 ulong 9\nret 83\nend\nif ne calc_value ulong 0 ulong 1 ulong 10\nret 83\nend\nif ne calc_value ulong 1 ulong 0 ulong 9\nret 83\nend\nif ne calc_value ulong 7 ulong 7 ulong 16\nret 83\nend\nif ne calc_value ulong 5 ulong 3 ulong 12\nret 83\nend\nif ne calc_value ulong 2 ulong 11 ulong 20\nret 83\nend\nif ne calc_value ulong 257 ulong 9 ulong 18\nret 83\nend\nif ne calc_value ulong 511 ulong 256 ulong 265\nret 83\nend\nif ne calc_value ulong 16 ulong 33 ulong 42\nret 83\nend\nret 77\nend\n", 1140 + "group": "new-composition-prompts" 1141 + }, 1142 + { 1143 + "prompt": "note return the maximum then mask with 3\nfn resolve_value m ulong n ulong to ulong\n", 1144 + "reference": "v = n\nif gt m n\nv = m\nend\nret and v 3\nend\n", 1145 + "main": "fn main to int\nif ne resolve_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne resolve_value ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne resolve_value ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne resolve_value ulong 7 ulong 7 ulong 3\nret 83\nend\nif ne resolve_value ulong 5 ulong 3 ulong 1\nret 83\nend\nif ne resolve_value ulong 2 ulong 11 ulong 3\nret 83\nend\nif ne resolve_value ulong 257 ulong 9 ulong 1\nret 83\nend\nif ne resolve_value ulong 511 ulong 256 ulong 3\nret 83\nend\nif ne resolve_value ulong 16 ulong 33 ulong 1\nret 83\nend\nret 77\nend\n", 1146 + "group": "untrained-combinations" 1147 + }, 1148 + { 1149 + "prompt": "note return the maximum then mask with 15\nfn resolve_value m ulong n ulong to ulong\n", 1150 + "reference": "v = n\nif gt m n\nv = m\nend\nret and v 15\nend\n", 1151 + "main": "fn main to int\nif ne resolve_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne resolve_value ulong 0 ulong 1 ulong 1\nret 83\nend\nif ne resolve_value ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne resolve_value ulong 7 ulong 7 ulong 7\nret 83\nend\nif ne resolve_value ulong 5 ulong 3 ulong 5\nret 83\nend\nif ne resolve_value ulong 2 ulong 11 ulong 11\nret 83\nend\nif ne resolve_value ulong 257 ulong 9 ulong 1\nret 83\nend\nif ne resolve_value ulong 511 ulong 256 ulong 15\nret 83\nend\nif ne resolve_value ulong 16 ulong 33 ulong 1\nret 83\nend\nret 77\nend\n", 1152 + "group": "untrained-combinations" 1153 + }, 1154 + { 1155 + "prompt": "note return the minimum then XOR with 3\nfn resolve_value m ulong n ulong to ulong\n", 1156 + "reference": "v = n\nif lt m n\nv = m\nend\nret xor v 3\nend\n", 1157 + "main": "fn main to int\nif ne resolve_value ulong 0 ulong 0 ulong 3\nret 83\nend\nif ne resolve_value ulong 0 ulong 1 ulong 3\nret 83\nend\nif ne resolve_value ulong 1 ulong 0 ulong 3\nret 83\nend\nif ne resolve_value ulong 7 ulong 7 ulong 4\nret 83\nend\nif ne resolve_value ulong 5 ulong 3 ulong 0\nret 83\nend\nif ne resolve_value ulong 2 ulong 11 ulong 1\nret 83\nend\nif ne resolve_value ulong 257 ulong 9 ulong 10\nret 83\nend\nif ne resolve_value ulong 511 ulong 256 ulong 259\nret 83\nend\nif ne resolve_value ulong 16 ulong 33 ulong 19\nret 83\nend\nret 77\nend\n", 1158 + "group": "untrained-combinations" 1159 + }, 1160 + { 1161 + "prompt": "note return the minimum then XOR with 15\nfn resolve_value m ulong n ulong to ulong\n", 1162 + "reference": "v = n\nif lt m n\nv = m\nend\nret xor v 15\nend\n", 1163 + "main": "fn main to int\nif ne resolve_value ulong 0 ulong 0 ulong 15\nret 83\nend\nif ne resolve_value ulong 0 ulong 1 ulong 15\nret 83\nend\nif ne resolve_value ulong 1 ulong 0 ulong 15\nret 83\nend\nif ne resolve_value ulong 7 ulong 7 ulong 8\nret 83\nend\nif ne resolve_value ulong 5 ulong 3 ulong 12\nret 83\nend\nif ne resolve_value ulong 2 ulong 11 ulong 13\nret 83\nend\nif ne resolve_value ulong 257 ulong 9 ulong 6\nret 83\nend\nif ne resolve_value ulong 511 ulong 256 ulong 271\nret 83\nend\nif ne resolve_value ulong 16 ulong 33 ulong 31\nret 83\nend\nret 77\nend\n", 1164 + "group": "untrained-combinations" 1165 + }, 1166 + { 1167 + "prompt": "note return the product then XOR with 3\nfn resolve_value m ulong n ulong to ulong\n", 1168 + "reference": "ret xor mul m n 3\nend\n", 1169 + "main": "fn main to int\nif ne resolve_value ulong 0 ulong 0 ulong 3\nret 83\nend\nif ne resolve_value ulong 0 ulong 1 ulong 3\nret 83\nend\nif ne resolve_value ulong 1 ulong 0 ulong 3\nret 83\nend\nif ne resolve_value ulong 7 ulong 7 ulong 50\nret 83\nend\nif ne resolve_value ulong 5 ulong 3 ulong 12\nret 83\nend\nif ne resolve_value ulong 2 ulong 11 ulong 21\nret 83\nend\nif ne resolve_value ulong 257 ulong 9 ulong 2314\nret 83\nend\nif ne resolve_value ulong 511 ulong 256 ulong 130819\nret 83\nend\nif ne resolve_value ulong 16 ulong 33 ulong 531\nret 83\nend\nret 77\nend\n", 1170 + "group": "untrained-combinations" 1171 + }, 1172 + { 1173 + "prompt": "note return the product then XOR with 15\nfn resolve_value m ulong n ulong to ulong\n", 1174 + "reference": "ret xor mul m n 15\nend\n", 1175 + "main": "fn main to int\nif ne resolve_value ulong 0 ulong 0 ulong 15\nret 83\nend\nif ne resolve_value ulong 0 ulong 1 ulong 15\nret 83\nend\nif ne resolve_value ulong 1 ulong 0 ulong 15\nret 83\nend\nif ne resolve_value ulong 7 ulong 7 ulong 62\nret 83\nend\nif ne resolve_value ulong 5 ulong 3 ulong 0\nret 83\nend\nif ne resolve_value ulong 2 ulong 11 ulong 25\nret 83\nend\nif ne resolve_value ulong 257 ulong 9 ulong 2310\nret 83\nend\nif ne resolve_value ulong 511 ulong 256 ulong 130831\nret 83\nend\nif ne resolve_value ulong 16 ulong 33 ulong 543\nret 83\nend\nret 77\nend\n", 1176 + "group": "untrained-combinations" 1177 + }, 1178 + { 1179 + "prompt": "note return the exclusive OR then multiply by 3\nfn resolve_value m ulong n ulong to ulong\n", 1180 + "reference": "ret mul xor m n 3\nend\n", 1181 + "main": "fn main to int\nif ne resolve_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne resolve_value ulong 0 ulong 1 ulong 3\nret 83\nend\nif ne resolve_value ulong 1 ulong 0 ulong 3\nret 83\nend\nif ne resolve_value ulong 7 ulong 7 ulong 0\nret 83\nend\nif ne resolve_value ulong 5 ulong 3 ulong 18\nret 83\nend\nif ne resolve_value ulong 2 ulong 11 ulong 27\nret 83\nend\nif ne resolve_value ulong 257 ulong 9 ulong 792\nret 83\nend\nif ne resolve_value ulong 511 ulong 256 ulong 765\nret 83\nend\nif ne resolve_value ulong 16 ulong 33 ulong 147\nret 83\nend\nret 77\nend\n", 1182 + "group": "untrained-combinations" 1183 + }, 1184 + { 1185 + "prompt": "note return the exclusive OR then multiply by 15\nfn resolve_value m ulong n ulong to ulong\n", 1186 + "reference": "ret mul xor m n 15\nend\n", 1187 + "main": "fn main to int\nif ne resolve_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne resolve_value ulong 0 ulong 1 ulong 15\nret 83\nend\nif ne resolve_value ulong 1 ulong 0 ulong 15\nret 83\nend\nif ne resolve_value ulong 7 ulong 7 ulong 0\nret 83\nend\nif ne resolve_value ulong 5 ulong 3 ulong 90\nret 83\nend\nif ne resolve_value ulong 2 ulong 11 ulong 135\nret 83\nend\nif ne resolve_value ulong 257 ulong 9 ulong 3960\nret 83\nend\nif ne resolve_value ulong 511 ulong 256 ulong 3825\nret 83\nend\nif ne resolve_value ulong 16 ulong 33 ulong 735\nret 83\nend\nret 77\nend\n", 1188 + "group": "untrained-combinations" 1189 + }, 1190 + { 1191 + "prompt": "note return twice a plus b\nfn fresh_twice_plus a ulong b ulong to ulong\n", 1192 + "reference": "ret add add a a b\nend\n", 1193 + "tests": [ 1194 + [ 1195 + 0, 1196 + 0, 1197 + 0 1198 + ], 1199 + [ 1200 + 1, 1201 + 0, 1202 + 2 1203 + ], 1204 + [ 1205 + 0, 1206 + 9, 1207 + 9 1208 + ], 1209 + [ 1210 + 7, 1211 + 7, 1212 + 21 1213 + ], 1214 + [ 1215 + 8, 1216 + 3, 1217 + 19 1218 + ], 1219 + [ 1220 + 15, 1221 + 17, 1222 + 47 1223 + ], 1224 + [ 1225 + 256, 1226 + 511, 1227 + 1023 1228 + ], 1229 + [ 1230 + 257, 1231 + 2, 1232 + 516 1233 + ] 1234 + ], 1235 + "main": "fn main to int\nif ne fresh_twice_plus ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne fresh_twice_plus ulong 1 ulong 0 ulong 2\nret 83\nend\nif ne fresh_twice_plus ulong 0 ulong 9 ulong 9\nret 83\nend\nif ne fresh_twice_plus ulong 7 ulong 7 ulong 21\nret 83\nend\nif ne fresh_twice_plus ulong 8 ulong 3 ulong 19\nret 83\nend\nif ne fresh_twice_plus ulong 15 ulong 17 ulong 47\nret 83\nend\nif ne fresh_twice_plus ulong 256 ulong 511 ulong 1023\nret 83\nend\nif ne fresh_twice_plus ulong 257 ulong 2 ulong 516\nret 83\nend\nret 77\nend\n", 1236 + "controls": [ 1237 + { 1238 + "exit": 77, 1239 + "stderr": "" 1240 + }, 1241 + { 1242 + "exit": 83, 1243 + "stderr": "" 1244 + } 1245 + ], 1246 + "group": "earlier-composite-functions" 1247 + }, 1248 + { 1249 + "prompt": "note return the common set bits of a and b plus one\nfn fresh_shared_plus a ulong b ulong to ulong\n", 1250 + "reference": "ret add and a b 1\nend\n", 1251 + "tests": [ 1252 + [ 1253 + 0, 1254 + 0, 1255 + 1 1256 + ], 1257 + [ 1258 + 1, 1259 + 0, 1260 + 1 1261 + ], 1262 + [ 1263 + 0, 1264 + 9, 1265 + 1 1266 + ], 1267 + [ 1268 + 7, 1269 + 7, 1270 + 8 1271 + ], 1272 + [ 1273 + 8, 1274 + 3, 1275 + 1 1276 + ], 1277 + [ 1278 + 15, 1279 + 17, 1280 + 2 1281 + ], 1282 + [ 1283 + 256, 1284 + 511, 1285 + 257 1286 + ], 1287 + [ 1288 + 257, 1289 + 2, 1290 + 1 1291 + ] 1292 + ], 1293 + "main": "fn main to int\nif ne fresh_shared_plus ulong 0 ulong 0 ulong 1\nret 83\nend\nif ne fresh_shared_plus ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne fresh_shared_plus ulong 0 ulong 9 ulong 1\nret 83\nend\nif ne fresh_shared_plus ulong 7 ulong 7 ulong 8\nret 83\nend\nif ne fresh_shared_plus ulong 8 ulong 3 ulong 1\nret 83\nend\nif ne fresh_shared_plus ulong 15 ulong 17 ulong 2\nret 83\nend\nif ne fresh_shared_plus ulong 256 ulong 511 ulong 257\nret 83\nend\nif ne fresh_shared_plus ulong 257 ulong 2 ulong 1\nret 83\nend\nret 77\nend\n", 1294 + "controls": [ 1295 + { 1296 + "exit": 77, 1297 + "stderr": "" 1298 + }, 1299 + { 1300 + "exit": 83, 1301 + "stderr": "" 1302 + } 1303 + ], 1304 + "group": "earlier-composite-functions" 1305 + }, 1306 + { 1307 + "prompt": "note return the low four bits of the sum\nfn fresh_low_sum a ulong b ulong to ulong\n", 1308 + "reference": "ret and add a b 15\nend\n", 1309 + "tests": [ 1310 + [ 1311 + 0, 1312 + 0, 1313 + 0 1314 + ], 1315 + [ 1316 + 1, 1317 + 0, 1318 + 1 1319 + ], 1320 + [ 1321 + 0, 1322 + 9, 1323 + 9 1324 + ], 1325 + [ 1326 + 7, 1327 + 7, 1328 + 14 1329 + ], 1330 + [ 1331 + 8, 1332 + 3, 1333 + 11 1334 + ], 1335 + [ 1336 + 15, 1337 + 17, 1338 + 0 1339 + ], 1340 + [ 1341 + 256, 1342 + 511, 1343 + 15 1344 + ], 1345 + [ 1346 + 257, 1347 + 2, 1348 + 3 1349 + ] 1350 + ], 1351 + "main": "fn main to int\nif ne fresh_low_sum ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne fresh_low_sum ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne fresh_low_sum ulong 0 ulong 9 ulong 9\nret 83\nend\nif ne fresh_low_sum ulong 7 ulong 7 ulong 14\nret 83\nend\nif ne fresh_low_sum ulong 8 ulong 3 ulong 11\nret 83\nend\nif ne fresh_low_sum ulong 15 ulong 17 ulong 0\nret 83\nend\nif ne fresh_low_sum ulong 256 ulong 511 ulong 15\nret 83\nend\nif ne fresh_low_sum ulong 257 ulong 2 ulong 3\nret 83\nend\nret 77\nend\n", 1352 + "controls": [ 1353 + { 1354 + "exit": 77, 1355 + "stderr": "" 1356 + }, 1357 + { 1358 + "exit": 83, 1359 + "stderr": "" 1360 + } 1361 + ], 1362 + "group": "earlier-composite-functions" 1363 + }, 1364 + { 1365 + "prompt": "note return one plus the unsigned distance between a and b\nfn fresh_distance_plus a ulong b ulong to ulong\n", 1366 + "reference": "if lt a b\nret add sub b a 1\nend\nret add sub a b 1\nend\n", 1367 + "tests": [ 1368 + [ 1369 + 0, 1370 + 0, 1371 + 1 1372 + ], 1373 + [ 1374 + 1, 1375 + 0, 1376 + 2 1377 + ], 1378 + [ 1379 + 0, 1380 + 9, 1381 + 10 1382 + ], 1383 + [ 1384 + 7, 1385 + 7, 1386 + 1 1387 + ], 1388 + [ 1389 + 8, 1390 + 3, 1391 + 6 1392 + ], 1393 + [ 1394 + 15, 1395 + 17, 1396 + 3 1397 + ], 1398 + [ 1399 + 256, 1400 + 511, 1401 + 256 1402 + ], 1403 + [ 1404 + 257, 1405 + 2, 1406 + 256 1407 + ] 1408 + ], 1409 + "main": "fn main to int\nif ne fresh_distance_plus ulong 0 ulong 0 ulong 1\nret 83\nend\nif ne fresh_distance_plus ulong 1 ulong 0 ulong 2\nret 83\nend\nif ne fresh_distance_plus ulong 0 ulong 9 ulong 10\nret 83\nend\nif ne fresh_distance_plus ulong 7 ulong 7 ulong 1\nret 83\nend\nif ne fresh_distance_plus ulong 8 ulong 3 ulong 6\nret 83\nend\nif ne fresh_distance_plus ulong 15 ulong 17 ulong 3\nret 83\nend\nif ne fresh_distance_plus ulong 256 ulong 511 ulong 256\nret 83\nend\nif ne fresh_distance_plus ulong 257 ulong 2 ulong 256\nret 83\nend\nret 77\nend\n", 1410 + "controls": [ 1411 + { 1412 + "exit": 77, 1413 + "stderr": "" 1414 + }, 1415 + { 1416 + "exit": 83, 1417 + "stderr": "" 1418 + } 1419 + ], 1420 + "group": "earlier-composite-functions" 1421 + }, 1422 + { 1423 + "prompt": "note return three times the sum of the inputs\nfn fresh_scale_sum a ulong b ulong to ulong\n", 1424 + "reference": "ret mul add a b 3\nend\n", 1425 + "tests": [ 1426 + [ 1427 + 0, 1428 + 0, 1429 + 0 1430 + ], 1431 + [ 1432 + 1, 1433 + 0, 1434 + 3 1435 + ], 1436 + [ 1437 + 0, 1438 + 9, 1439 + 27 1440 + ], 1441 + [ 1442 + 7, 1443 + 7, 1444 + 42 1445 + ], 1446 + [ 1447 + 8, 1448 + 3, 1449 + 33 1450 + ], 1451 + [ 1452 + 15, 1453 + 17, 1454 + 96 1455 + ], 1456 + [ 1457 + 256, 1458 + 511, 1459 + 2301 1460 + ], 1461 + [ 1462 + 257, 1463 + 2, 1464 + 777 1465 + ] 1466 + ], 1467 + "main": "fn main to int\nif ne fresh_scale_sum ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne fresh_scale_sum ulong 1 ulong 0 ulong 3\nret 83\nend\nif ne fresh_scale_sum ulong 0 ulong 9 ulong 27\nret 83\nend\nif ne fresh_scale_sum ulong 7 ulong 7 ulong 42\nret 83\nend\nif ne fresh_scale_sum ulong 8 ulong 3 ulong 33\nret 83\nend\nif ne fresh_scale_sum ulong 15 ulong 17 ulong 96\nret 83\nend\nif ne fresh_scale_sum ulong 256 ulong 511 ulong 2301\nret 83\nend\nif ne fresh_scale_sum ulong 257 ulong 2 ulong 777\nret 83\nend\nret 77\nend\n", 1468 + "controls": [ 1469 + { 1470 + "exit": 77, 1471 + "stderr": "" 1472 + }, 1473 + { 1474 + "exit": 83, 1475 + "stderr": "" 1476 + } 1477 + ], 1478 + "group": "earlier-composite-functions" 1479 + }, 1480 + { 1481 + "prompt": "note return twice the larger input\nfn fresh_greater_dbl a ulong b ulong to ulong\n", 1482 + "reference": "if lt a b\nret add b b\nend\nret add a a\nend\n", 1483 + "tests": [ 1484 + [ 1485 + 0, 1486 + 0, 1487 + 0 1488 + ], 1489 + [ 1490 + 1, 1491 + 0, 1492 + 2 1493 + ], 1494 + [ 1495 + 0, 1496 + 9, 1497 + 18 1498 + ], 1499 + [ 1500 + 7, 1501 + 7, 1502 + 14 1503 + ], 1504 + [ 1505 + 8, 1506 + 3, 1507 + 16 1508 + ], 1509 + [ 1510 + 15, 1511 + 17, 1512 + 34 1513 + ], 1514 + [ 1515 + 256, 1516 + 511, 1517 + 1022 1518 + ], 1519 + [ 1520 + 257, 1521 + 2, 1522 + 514 1523 + ] 1524 + ], 1525 + "main": "fn main to int\nif ne fresh_greater_dbl ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne fresh_greater_dbl ulong 1 ulong 0 ulong 2\nret 83\nend\nif ne fresh_greater_dbl ulong 0 ulong 9 ulong 18\nret 83\nend\nif ne fresh_greater_dbl ulong 7 ulong 7 ulong 14\nret 83\nend\nif ne fresh_greater_dbl ulong 8 ulong 3 ulong 16\nret 83\nend\nif ne fresh_greater_dbl ulong 15 ulong 17 ulong 34\nret 83\nend\nif ne fresh_greater_dbl ulong 256 ulong 511 ulong 1022\nret 83\nend\nif ne fresh_greater_dbl ulong 257 ulong 2 ulong 514\nret 83\nend\nret 77\nend\n", 1526 + "controls": [ 1527 + { 1528 + "exit": 77, 1529 + "stderr": "" 1530 + }, 1531 + { 1532 + "exit": 83, 1533 + "stderr": "" 1534 + } 1535 + ], 1536 + "group": "earlier-composite-functions" 1537 + }, 1538 + { 1539 + "prompt": "note return a xor the low byte of b\nfn fresh_mix_low a ulong b ulong to ulong\n", 1540 + "reference": "ret xor a and b 255\nend\n", 1541 + "tests": [ 1542 + [ 1543 + 0, 1544 + 0, 1545 + 0 1546 + ], 1547 + [ 1548 + 1, 1549 + 0, 1550 + 1 1551 + ], 1552 + [ 1553 + 0, 1554 + 9, 1555 + 9 1556 + ], 1557 + [ 1558 + 7, 1559 + 7, 1560 + 0 1561 + ], 1562 + [ 1563 + 8, 1564 + 3, 1565 + 11 1566 + ], 1567 + [ 1568 + 15, 1569 + 17, 1570 + 30 1571 + ], 1572 + [ 1573 + 256, 1574 + 511, 1575 + 511 1576 + ], 1577 + [ 1578 + 257, 1579 + 2, 1580 + 259 1581 + ] 1582 + ], 1583 + "main": "fn main to int\nif ne fresh_mix_low ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne fresh_mix_low ulong 1 ulong 0 ulong 1\nret 83\nend\nif ne fresh_mix_low ulong 0 ulong 9 ulong 9\nret 83\nend\nif ne fresh_mix_low ulong 7 ulong 7 ulong 0\nret 83\nend\nif ne fresh_mix_low ulong 8 ulong 3 ulong 11\nret 83\nend\nif ne fresh_mix_low ulong 15 ulong 17 ulong 30\nret 83\nend\nif ne fresh_mix_low ulong 256 ulong 511 ulong 511\nret 83\nend\nif ne fresh_mix_low ulong 257 ulong 2 ulong 259\nret 83\nend\nret 77\nend\n", 1584 + "controls": [ 1585 + { 1586 + "exit": 77, 1587 + "stderr": "" 1588 + }, 1589 + { 1590 + "exit": 83, 1591 + "stderr": "" 1592 + } 1593 + ], 1594 + "group": "earlier-composite-functions" 1595 + }, 1596 + { 1597 + "prompt": "note return the low byte of the product\nfn fresh_low_product a ulong b ulong to ulong\n", 1598 + "reference": "ret and mul a b 255\nend\n", 1599 + "tests": [ 1600 + [ 1601 + 0, 1602 + 0, 1603 + 0 1604 + ], 1605 + [ 1606 + 1, 1607 + 0, 1608 + 0 1609 + ], 1610 + [ 1611 + 0, 1612 + 9, 1613 + 0 1614 + ], 1615 + [ 1616 + 7, 1617 + 7, 1618 + 49 1619 + ], 1620 + [ 1621 + 8, 1622 + 3, 1623 + 24 1624 + ], 1625 + [ 1626 + 15, 1627 + 17, 1628 + 255 1629 + ], 1630 + [ 1631 + 256, 1632 + 511, 1633 + 0 1634 + ], 1635 + [ 1636 + 257, 1637 + 2, 1638 + 2 1639 + ] 1640 + ], 1641 + "main": "fn main to int\nif ne fresh_low_product ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne fresh_low_product ulong 1 ulong 0 ulong 0\nret 83\nend\nif ne fresh_low_product ulong 0 ulong 9 ulong 0\nret 83\nend\nif ne fresh_low_product ulong 7 ulong 7 ulong 49\nret 83\nend\nif ne fresh_low_product ulong 8 ulong 3 ulong 24\nret 83\nend\nif ne fresh_low_product ulong 15 ulong 17 ulong 255\nret 83\nend\nif ne fresh_low_product ulong 256 ulong 511 ulong 0\nret 83\nend\nif ne fresh_low_product ulong 257 ulong 2 ulong 2\nret 83\nend\nret 77\nend\n", 1642 + "controls": [ 1643 + { 1644 + "exit": 77, 1645 + "stderr": "" 1646 + }, 1647 + { 1648 + "exit": 83, 1649 + "stderr": "" 1650 + } 1651 + ], 1652 + "group": "earlier-composite-functions" 1653 + }, 1654 + { 1655 + "prompt": "note return the sum of the first n items\nfn process_items a view ulong 8 n ulong to ulong\n", 1656 + "reference": "total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n", 1657 + "main": "fn main to int\narr = new ulong 8 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 0 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 1 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 4 8\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 8 28\nret 83\nend\nret 77\nend\n", 1658 + "group": "array-sum" 1659 + }, 1660 + { 1661 + "prompt": "note return the sum of the first n items\nfn process_items data view ulong 12 n ulong to ulong\n", 1662 + "reference": "total = ulong 0\nfor i ulong n\ntotal = add total get data i\nend\nret total\nend\n", 1663 + "main": "fn main to int\narr = new ulong 12 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 0 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 1 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 6 27\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 12 48\nret 83\nend\nret 77\nend\n", 1664 + "group": "array-sum" 1665 + }, 1666 + { 1667 + "prompt": "note return the sum of the first n items\nfn process_items buf view ulong 24 count ulong to ulong\n", 1668 + "reference": "total = ulong 0\nfor j ulong count\ntotal = add total get buf j\nend\nret total\nend\n", 1669 + "main": "fn main to int\narr = new ulong 24 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 0 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 1 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 12 48\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 24 92\nret 83\nend\nret 77\nend\n", 1670 + "group": "array-sum" 1671 + }, 1672 + { 1673 + "prompt": "note return the bitwise XOR over the first n items\nfn process_items a view ulong 8 n ulong to ulong\n", 1674 + "reference": "total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n", 1675 + "main": "fn main to int\narr = new ulong 8 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 0 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 1 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 4 6\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 8 12\nret 83\nend\nret 77\nend\n", 1676 + "group": "array-xor" 1677 + }, 1678 + { 1679 + "prompt": "note return the bitwise XOR over the first n items\nfn process_items data view ulong 12 n ulong to ulong\n", 1680 + "reference": "total = ulong 0\nfor i ulong n\ntotal = xor total get data i\nend\nret total\nend\n", 1681 + "main": "fn main to int\narr = new ulong 12 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 0 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 1 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 6 13\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 12 6\nret 83\nend\nret 77\nend\n", 1682 + "group": "array-xor" 1683 + }, 1684 + { 1685 + "prompt": "note return the bitwise XOR over the first n items\nfn process_items buf view ulong 24 count ulong to ulong\n", 1686 + "reference": "total = ulong 0\nfor j ulong count\ntotal = xor total get buf j\nend\nret total\nend\n", 1687 + "main": "fn main to int\narr = new ulong 24 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 0 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 1 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 12 6\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 24 10\nret 83\nend\nret 77\nend\n", 1688 + "group": "array-xor" 1689 + }, 1690 + { 1691 + "prompt": "note return the union of bits in the first n items\nfn process_items a view ulong 8 n ulong to ulong\n", 1692 + "reference": "total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n", 1693 + "main": "fn main to int\narr = new ulong 8 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 0 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 1 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 4 7\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 8 15\nret 83\nend\nret 77\nend\n", 1694 + "group": "array-or" 1695 + }, 1696 + { 1697 + "prompt": "note return the union of bits in the first n items\nfn process_items data view ulong 12 n ulong to ulong\n", 1698 + "reference": "total = ulong 0\nfor i ulong n\ntotal = or total get data i\nend\nret total\nend\n", 1699 + "main": "fn main to int\narr = new ulong 12 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 0 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 1 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 6 15\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 12 15\nret 83\nend\nret 77\nend\n", 1700 + "group": "array-or" 1701 + }, 1702 + { 1703 + "prompt": "note return the union of bits in the first n items\nfn process_items buf view ulong 24 count ulong to ulong\n", 1704 + "reference": "total = ulong 0\nfor j ulong count\ntotal = or total get buf j\nend\nret total\nend\n", 1705 + "main": "fn main to int\narr = new ulong 24 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 0 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 1 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 12 15\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 24 15\nret 83\nend\nret 77\nend\n", 1706 + "group": "array-or" 1707 + }, 1708 + { 1709 + "prompt": "note how many of the first n items are zero\nfn process_items a view ulong 8 n ulong to ulong\n", 1710 + "reference": "total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n", 1711 + "main": "fn main to int\narr = new ulong 8 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 0 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 1 1\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 4 2\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nif ne process_items arr ulong 8 3\nret 83\nend\nret 77\nend\n", 1712 + "group": "array-zero" 1713 + }, 1714 + { 1715 + "prompt": "note how many of the first n items are zero\nfn process_items data view ulong 12 n ulong to ulong\n", 1716 + "reference": "total = ulong 0\nfor i ulong n\nif eq get data i 0\ntotal = add total 1\nend\nend\nret total\nend\n", 1717 + "main": "fn main to int\narr = new ulong 12 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 0 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 1 1\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 6 2\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nif ne process_items arr ulong 12 4\nret 83\nend\nret 77\nend\n", 1718 + "group": "array-zero" 1719 + }, 1720 + { 1721 + "prompt": "note how many of the first n items are zero\nfn process_items buf view ulong 24 count ulong to ulong\n", 1722 + "reference": "total = ulong 0\nfor j ulong count\nif eq get buf j 0\ntotal = add total 1\nend\nend\nret total\nend\n", 1723 + "main": "fn main to int\narr = new ulong 24 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 0 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 1 1\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 12 4\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nif ne process_items arr ulong 24 7\nret 83\nend\nret 77\nend\n", 1724 + "group": "array-zero" 1725 + }, 1726 + { 1727 + "prompt": "note add one in place to the first n items\nfn process_items a edit ulong 8 n ulong to void\n", 1728 + "reference": "for i ulong n\nput a i add get a i 1\nend\nend\n", 1729 + "main": "fn main to int\narr = new ulong 8 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nprocess_items arr ulong 0\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nprocess_items arr ulong 1\nif ne get arr 0 1\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nprocess_items arr ulong 4\nif ne get arr 0 1\nret 83\nend\nif ne get arr 1 4\nret 83\nend\nif ne get arr 2 6\nret 83\nend\nif ne get arr 3 1\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nprocess_items arr ulong 8\nif ne get arr 0 1\nret 83\nend\nif ne get arr 1 4\nret 83\nend\nif ne get arr 2 6\nret 83\nend\nif ne get arr 3 1\nret 83\nend\nif ne get arr 4 13\nret 83\nend\nif ne get arr 5 8\nret 83\nend\nif ne get arr 6 2\nret 83\nend\nif ne get arr 7 1\nret 83\nend\nret 77\nend\n", 1730 + "group": "array-increment" 1731 + }, 1732 + { 1733 + "prompt": "note add one in place to the first n items\nfn process_items data edit ulong 12 n ulong to void\n", 1734 + "reference": "for i ulong n\nput data i add get data i 1\nend\nend\n", 1735 + "main": "fn main to int\narr = new ulong 12 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nprocess_items arr ulong 0\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 3\nret 83\nend\nif ne get arr 9 5\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 12\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nprocess_items arr ulong 1\nif ne get arr 0 1\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 3\nret 83\nend\nif ne get arr 9 5\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 12\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nprocess_items arr ulong 6\nif ne get arr 0 1\nret 83\nend\nif ne get arr 1 4\nret 83\nend\nif ne get arr 2 6\nret 83\nend\nif ne get arr 3 1\nret 83\nend\nif ne get arr 4 13\nret 83\nend\nif ne get arr 5 8\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 3\nret 83\nend\nif ne get arr 9 5\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 12\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nprocess_items arr ulong 12\nif ne get arr 0 1\nret 83\nend\nif ne get arr 1 4\nret 83\nend\nif ne get arr 2 6\nret 83\nend\nif ne get arr 3 1\nret 83\nend\nif ne get arr 4 13\nret 83\nend\nif ne get arr 5 8\nret 83\nend\nif ne get arr 6 2\nret 83\nend\nif ne get arr 7 1\nret 83\nend\nif ne get arr 8 4\nret 83\nend\nif ne get arr 9 6\nret 83\nend\nif ne get arr 10 1\nret 83\nend\nif ne get arr 11 13\nret 83\nend\nret 77\nend\n", 1736 + "group": "array-increment" 1737 + }, 1738 + { 1739 + "prompt": "note add one in place to the first n items\nfn process_items buf edit ulong 24 count ulong to void\n", 1740 + "reference": "for j ulong count\nput buf j add get buf j 1\nend\nend\n", 1741 + "main": "fn main to int\narr = new ulong 24 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nprocess_items arr ulong 0\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 3\nret 83\nend\nif ne get arr 9 5\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 12\nret 83\nend\nif ne get arr 12 7\nret 83\nend\nif ne get arr 13 1\nret 83\nend\nif ne get arr 14 0\nret 83\nend\nif ne get arr 15 3\nret 83\nend\nif ne get arr 16 5\nret 83\nend\nif ne get arr 17 0\nret 83\nend\nif ne get arr 18 12\nret 83\nend\nif ne get arr 19 7\nret 83\nend\nif ne get arr 20 1\nret 83\nend\nif ne get arr 21 0\nret 83\nend\nif ne get arr 22 3\nret 83\nend\nif ne get arr 23 5\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nprocess_items arr ulong 1\nif ne get arr 0 1\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 3\nret 83\nend\nif ne get arr 9 5\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 12\nret 83\nend\nif ne get arr 12 7\nret 83\nend\nif ne get arr 13 1\nret 83\nend\nif ne get arr 14 0\nret 83\nend\nif ne get arr 15 3\nret 83\nend\nif ne get arr 16 5\nret 83\nend\nif ne get arr 17 0\nret 83\nend\nif ne get arr 18 12\nret 83\nend\nif ne get arr 19 7\nret 83\nend\nif ne get arr 20 1\nret 83\nend\nif ne get arr 21 0\nret 83\nend\nif ne get arr 22 3\nret 83\nend\nif ne get arr 23 5\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nprocess_items arr ulong 12\nif ne get arr 0 1\nret 83\nend\nif ne get arr 1 4\nret 83\nend\nif ne get arr 2 6\nret 83\nend\nif ne get arr 3 1\nret 83\nend\nif ne get arr 4 13\nret 83\nend\nif ne get arr 5 8\nret 83\nend\nif ne get arr 6 2\nret 83\nend\nif ne get arr 7 1\nret 83\nend\nif ne get arr 8 4\nret 83\nend\nif ne get arr 9 6\nret 83\nend\nif ne get arr 10 1\nret 83\nend\nif ne get arr 11 13\nret 83\nend\nif ne get arr 12 7\nret 83\nend\nif ne get arr 13 1\nret 83\nend\nif ne get arr 14 0\nret 83\nend\nif ne get arr 15 3\nret 83\nend\nif ne get arr 16 5\nret 83\nend\nif ne get arr 17 0\nret 83\nend\nif ne get arr 18 12\nret 83\nend\nif ne get arr 19 7\nret 83\nend\nif ne get arr 20 1\nret 83\nend\nif ne get arr 21 0\nret 83\nend\nif ne get arr 22 3\nret 83\nend\nif ne get arr 23 5\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nprocess_items arr ulong 24\nif ne get arr 0 1\nret 83\nend\nif ne get arr 1 4\nret 83\nend\nif ne get arr 2 6\nret 83\nend\nif ne get arr 3 1\nret 83\nend\nif ne get arr 4 13\nret 83\nend\nif ne get arr 5 8\nret 83\nend\nif ne get arr 6 2\nret 83\nend\nif ne get arr 7 1\nret 83\nend\nif ne get arr 8 4\nret 83\nend\nif ne get arr 9 6\nret 83\nend\nif ne get arr 10 1\nret 83\nend\nif ne get arr 11 13\nret 83\nend\nif ne get arr 12 8\nret 83\nend\nif ne get arr 13 2\nret 83\nend\nif ne get arr 14 1\nret 83\nend\nif ne get arr 15 4\nret 83\nend\nif ne get arr 16 6\nret 83\nend\nif ne get arr 17 1\nret 83\nend\nif ne get arr 18 13\nret 83\nend\nif ne get arr 19 8\nret 83\nend\nif ne get arr 20 2\nret 83\nend\nif ne get arr 21 1\nret 83\nend\nif ne get arr 22 4\nret 83\nend\nif ne get arr 23 6\nret 83\nend\nret 77\nend\n", 1742 + "group": "array-increment" 1743 + }, 1744 + { 1745 + "prompt": "note replace each of the first n items with twice its value\nfn process_items a edit ulong 8 n ulong to void\n", 1746 + "reference": "for i ulong n\nput a i mul get a i 2\nend\nend\n", 1747 + "main": "fn main to int\narr = new ulong 8 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nprocess_items arr ulong 0\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nprocess_items arr ulong 1\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nprocess_items arr ulong 4\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 6\nret 83\nend\nif ne get arr 2 10\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nprocess_items arr ulong 8\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 6\nret 83\nend\nif ne get arr 2 10\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 24\nret 83\nend\nif ne get arr 5 14\nret 83\nend\nif ne get arr 6 2\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nret 77\nend\n", 1748 + "group": "array-double" 1749 + }, 1750 + { 1751 + "prompt": "note replace each of the first n items with twice its value\nfn process_items data edit ulong 12 n ulong to void\n", 1752 + "reference": "for i ulong n\nput data i mul get data i 2\nend\nend\n", 1753 + "main": "fn main to int\narr = new ulong 12 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nprocess_items arr ulong 0\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 3\nret 83\nend\nif ne get arr 9 5\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 12\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nprocess_items arr ulong 1\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 3\nret 83\nend\nif ne get arr 9 5\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 12\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nprocess_items arr ulong 6\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 6\nret 83\nend\nif ne get arr 2 10\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 24\nret 83\nend\nif ne get arr 5 14\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 3\nret 83\nend\nif ne get arr 9 5\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 12\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nprocess_items arr ulong 12\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 6\nret 83\nend\nif ne get arr 2 10\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 24\nret 83\nend\nif ne get arr 5 14\nret 83\nend\nif ne get arr 6 2\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 6\nret 83\nend\nif ne get arr 9 10\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 24\nret 83\nend\nret 77\nend\n", 1754 + "group": "array-double" 1755 + }, 1756 + { 1757 + "prompt": "note replace each of the first n items with twice its value\nfn process_items buf edit ulong 24 count ulong to void\n", 1758 + "reference": "for j ulong count\nput buf j mul get buf j 2\nend\nend\n", 1759 + "main": "fn main to int\narr = new ulong 24 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nprocess_items arr ulong 0\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 3\nret 83\nend\nif ne get arr 9 5\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 12\nret 83\nend\nif ne get arr 12 7\nret 83\nend\nif ne get arr 13 1\nret 83\nend\nif ne get arr 14 0\nret 83\nend\nif ne get arr 15 3\nret 83\nend\nif ne get arr 16 5\nret 83\nend\nif ne get arr 17 0\nret 83\nend\nif ne get arr 18 12\nret 83\nend\nif ne get arr 19 7\nret 83\nend\nif ne get arr 20 1\nret 83\nend\nif ne get arr 21 0\nret 83\nend\nif ne get arr 22 3\nret 83\nend\nif ne get arr 23 5\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nprocess_items arr ulong 1\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 3\nret 83\nend\nif ne get arr 9 5\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 12\nret 83\nend\nif ne get arr 12 7\nret 83\nend\nif ne get arr 13 1\nret 83\nend\nif ne get arr 14 0\nret 83\nend\nif ne get arr 15 3\nret 83\nend\nif ne get arr 16 5\nret 83\nend\nif ne get arr 17 0\nret 83\nend\nif ne get arr 18 12\nret 83\nend\nif ne get arr 19 7\nret 83\nend\nif ne get arr 20 1\nret 83\nend\nif ne get arr 21 0\nret 83\nend\nif ne get arr 22 3\nret 83\nend\nif ne get arr 23 5\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nprocess_items arr ulong 12\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 6\nret 83\nend\nif ne get arr 2 10\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 24\nret 83\nend\nif ne get arr 5 14\nret 83\nend\nif ne get arr 6 2\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 6\nret 83\nend\nif ne get arr 9 10\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 24\nret 83\nend\nif ne get arr 12 7\nret 83\nend\nif ne get arr 13 1\nret 83\nend\nif ne get arr 14 0\nret 83\nend\nif ne get arr 15 3\nret 83\nend\nif ne get arr 16 5\nret 83\nend\nif ne get arr 17 0\nret 83\nend\nif ne get arr 18 12\nret 83\nend\nif ne get arr 19 7\nret 83\nend\nif ne get arr 20 1\nret 83\nend\nif ne get arr 21 0\nret 83\nend\nif ne get arr 22 3\nret 83\nend\nif ne get arr 23 5\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nprocess_items arr ulong 24\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 6\nret 83\nend\nif ne get arr 2 10\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 24\nret 83\nend\nif ne get arr 5 14\nret 83\nend\nif ne get arr 6 2\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 6\nret 83\nend\nif ne get arr 9 10\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 24\nret 83\nend\nif ne get arr 12 14\nret 83\nend\nif ne get arr 13 2\nret 83\nend\nif ne get arr 14 0\nret 83\nend\nif ne get arr 15 6\nret 83\nend\nif ne get arr 16 10\nret 83\nend\nif ne get arr 17 0\nret 83\nend\nif ne get arr 18 24\nret 83\nend\nif ne get arr 19 14\nret 83\nend\nif ne get arr 20 2\nret 83\nend\nif ne get arr 21 0\nret 83\nend\nif ne get arr 22 6\nret 83\nend\nif ne get arr 23 10\nret 83\nend\nret 77\nend\n", 1760 + "group": "array-double" 1761 + }, 1762 + { 1763 + "prompt": "note overwrite the first n items with zeros\nfn process_items a edit ulong 8 n ulong to void\n", 1764 + "reference": "for i ulong n\nput a i 0\nend\nend\n", 1765 + "main": "fn main to int\narr = new ulong 8 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nprocess_items arr ulong 0\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nprocess_items arr ulong 1\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nprocess_items arr ulong 4\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 0\nret 83\nend\nif ne get arr 2 0\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nprocess_items arr ulong 8\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 0\nret 83\nend\nif ne get arr 2 0\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 0\nret 83\nend\nif ne get arr 5 0\nret 83\nend\nif ne get arr 6 0\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nret 77\nend\n", 1766 + "group": "array-clear" 1767 + }, 1768 + { 1769 + "prompt": "note overwrite the first n items with zeros\nfn process_items data edit ulong 12 n ulong to void\n", 1770 + "reference": "for i ulong n\nput data i 0\nend\nend\n", 1771 + "main": "fn main to int\narr = new ulong 12 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nprocess_items arr ulong 0\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 3\nret 83\nend\nif ne get arr 9 5\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 12\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nprocess_items arr ulong 1\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 3\nret 83\nend\nif ne get arr 9 5\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 12\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nprocess_items arr ulong 6\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 0\nret 83\nend\nif ne get arr 2 0\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 0\nret 83\nend\nif ne get arr 5 0\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 3\nret 83\nend\nif ne get arr 9 5\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 12\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nprocess_items arr ulong 12\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 0\nret 83\nend\nif ne get arr 2 0\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 0\nret 83\nend\nif ne get arr 5 0\nret 83\nend\nif ne get arr 6 0\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 0\nret 83\nend\nif ne get arr 9 0\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 0\nret 83\nend\nret 77\nend\n", 1772 + "group": "array-clear" 1773 + }, 1774 + { 1775 + "prompt": "note overwrite the first n items with zeros\nfn process_items buf edit ulong 24 count ulong to void\n", 1776 + "reference": "for j ulong count\nput buf j 0\nend\nend\n", 1777 + "main": "fn main to int\narr = new ulong 24 0\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nprocess_items arr ulong 0\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 3\nret 83\nend\nif ne get arr 9 5\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 12\nret 83\nend\nif ne get arr 12 7\nret 83\nend\nif ne get arr 13 1\nret 83\nend\nif ne get arr 14 0\nret 83\nend\nif ne get arr 15 3\nret 83\nend\nif ne get arr 16 5\nret 83\nend\nif ne get arr 17 0\nret 83\nend\nif ne get arr 18 12\nret 83\nend\nif ne get arr 19 7\nret 83\nend\nif ne get arr 20 1\nret 83\nend\nif ne get arr 21 0\nret 83\nend\nif ne get arr 22 3\nret 83\nend\nif ne get arr 23 5\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nprocess_items arr ulong 1\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 3\nret 83\nend\nif ne get arr 2 5\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 12\nret 83\nend\nif ne get arr 5 7\nret 83\nend\nif ne get arr 6 1\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 3\nret 83\nend\nif ne get arr 9 5\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 12\nret 83\nend\nif ne get arr 12 7\nret 83\nend\nif ne get arr 13 1\nret 83\nend\nif ne get arr 14 0\nret 83\nend\nif ne get arr 15 3\nret 83\nend\nif ne get arr 16 5\nret 83\nend\nif ne get arr 17 0\nret 83\nend\nif ne get arr 18 12\nret 83\nend\nif ne get arr 19 7\nret 83\nend\nif ne get arr 20 1\nret 83\nend\nif ne get arr 21 0\nret 83\nend\nif ne get arr 22 3\nret 83\nend\nif ne get arr 23 5\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nprocess_items arr ulong 12\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 0\nret 83\nend\nif ne get arr 2 0\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 0\nret 83\nend\nif ne get arr 5 0\nret 83\nend\nif ne get arr 6 0\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 0\nret 83\nend\nif ne get arr 9 0\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 0\nret 83\nend\nif ne get arr 12 7\nret 83\nend\nif ne get arr 13 1\nret 83\nend\nif ne get arr 14 0\nret 83\nend\nif ne get arr 15 3\nret 83\nend\nif ne get arr 16 5\nret 83\nend\nif ne get arr 17 0\nret 83\nend\nif ne get arr 18 12\nret 83\nend\nif ne get arr 19 7\nret 83\nend\nif ne get arr 20 1\nret 83\nend\nif ne get arr 21 0\nret 83\nend\nif ne get arr 22 3\nret 83\nend\nif ne get arr 23 5\nret 83\nend\nput arr 0 0\nput arr 1 3\nput arr 2 5\nput arr 3 0\nput arr 4 12\nput arr 5 7\nput arr 6 1\nput arr 7 0\nput arr 8 3\nput arr 9 5\nput arr 10 0\nput arr 11 12\nput arr 12 7\nput arr 13 1\nput arr 14 0\nput arr 15 3\nput arr 16 5\nput arr 17 0\nput arr 18 12\nput arr 19 7\nput arr 20 1\nput arr 21 0\nput arr 22 3\nput arr 23 5\nprocess_items arr ulong 24\nif ne get arr 0 0\nret 83\nend\nif ne get arr 1 0\nret 83\nend\nif ne get arr 2 0\nret 83\nend\nif ne get arr 3 0\nret 83\nend\nif ne get arr 4 0\nret 83\nend\nif ne get arr 5 0\nret 83\nend\nif ne get arr 6 0\nret 83\nend\nif ne get arr 7 0\nret 83\nend\nif ne get arr 8 0\nret 83\nend\nif ne get arr 9 0\nret 83\nend\nif ne get arr 10 0\nret 83\nend\nif ne get arr 11 0\nret 83\nend\nif ne get arr 12 0\nret 83\nend\nif ne get arr 13 0\nret 83\nend\nif ne get arr 14 0\nret 83\nend\nif ne get arr 15 0\nret 83\nend\nif ne get arr 16 0\nret 83\nend\nif ne get arr 17 0\nret 83\nend\nif ne get arr 18 0\nret 83\nend\nif ne get arr 19 0\nret 83\nend\nif ne get arr 20 0\nret 83\nend\nif ne get arr 21 0\nret 83\nend\nif ne get arr 22 0\nret 83\nend\nif ne get arr 23 0\nret 83\nend\nret 77\nend\n", 1778 + "group": "array-clear" 1779 + } 1780 +] \ No newline at end of file train/omega-llm/tools/contrast/run-01/example.json new file mode 100644 @@ -0,0 +1,170 @@ 1 +[ 2 + { 3 + "group": "familiar", 4 + "operation": 0, 5 + "prompt": "note return the difference between the larger and smaller arguments\nfn fold_value x ulong y ulong to ulong\n", 6 + "reference": "if lt x y\nret sub y x\nend\nret sub x y\nend\n", 7 + "main": "fn main to int\nif ne fold_value ulong 12 ulong 7 ulong 5\nret 83\nend\nret 77\nend\n" 8 + }, 9 + { 10 + "group": "familiar", 11 + "operation": 0, 12 + "prompt": "note compute the unsigned distance separating these inputs\nfn evaluate_pair left ulong right ulong to ulong\n", 13 + "reference": "if lt left right\nret sub right left\nend\nret sub left right\nend\n", 14 + "main": "fn main to int\nif ne evaluate_pair ulong 12 ulong 7 ulong 5\nret 83\nend\nret 77\nend\n" 15 + }, 16 + { 17 + "group": "familiar", 18 + "operation": 1, 19 + "prompt": "note add the pair and return their total\nfn fold_value x ulong y ulong to ulong\n", 20 + "reference": "ret add x y\nend\n", 21 + "main": "fn main to int\nif ne fold_value ulong 12 ulong 7 ulong 19\nret 83\nend\nret 77\nend\n" 22 + }, 23 + { 24 + "group": "familiar", 25 + "operation": 1, 26 + "prompt": "note return the two arguments added together\nfn evaluate_pair left ulong right ulong to ulong\n", 27 + "reference": "ret add left right\nend\n", 28 + "main": "fn main to int\nif ne evaluate_pair ulong 12 ulong 7 ulong 19\nret 83\nend\nret 77\nend\n" 29 + }, 30 + { 31 + "group": "familiar", 32 + "operation": 2, 33 + "prompt": "note select the lower of the arguments\nfn fold_value x ulong y ulong to ulong\n", 34 + "reference": "if lt x y\nret x\nend\nret y\nend\n", 35 + "main": "fn main to int\nif ne fold_value ulong 12 ulong 7 ulong 7\nret 83\nend\nret 77\nend\n" 36 + }, 37 + { 38 + "group": "familiar", 39 + "operation": 2, 40 + "prompt": "note return whichever input is smaller\nfn evaluate_pair left ulong right ulong to ulong\n", 41 + "reference": "if lt left right\nret left\nend\nret right\nend\n", 42 + "main": "fn main to int\nif ne evaluate_pair ulong 12 ulong 7 ulong 7\nret 83\nend\nret 77\nend\n" 43 + }, 44 + { 45 + "group": "familiar", 46 + "operation": 3, 47 + "prompt": "note select the higher of the arguments\nfn fold_value x ulong y ulong to ulong\n", 48 + "reference": "if gt x y\nret x\nend\nret y\nend\n", 49 + "main": "fn main to int\nif ne fold_value ulong 12 ulong 7 ulong 12\nret 83\nend\nret 77\nend\n" 50 + }, 51 + { 52 + "group": "familiar", 53 + "operation": 3, 54 + "prompt": "note return whichever input is larger\nfn evaluate_pair left ulong right ulong to ulong\n", 55 + "reference": "if gt left right\nret left\nend\nret right\nend\n", 56 + "main": "fn main to int\nif ne evaluate_pair ulong 12 ulong 7 ulong 12\nret 83\nend\nret 77\nend\n" 57 + }, 58 + { 59 + "group": "familiar", 60 + "operation": 4, 61 + "prompt": "note combine the requested prefix using bitwise XOR\nfn fold_value items view ulong 12 count ulong to ulong\n", 62 + "reference": "s = ulong 0\nfor i ulong count\ns = xor s get items i\nend\nret s\nend\n", 63 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 3\nput buf 1 5\nput buf 2 0\nput buf 3 5\nif ne fold_value buf ulong 4 ulong 3\nret 83\nend\nret 77\nend\n" 64 + }, 65 + { 66 + "group": "familiar", 67 + "operation": 4, 68 + "prompt": "note return the cumulative exclusive OR through the given count\nfn evaluate_pair data view ulong 12 n ulong to ulong\n", 69 + "reference": "s = ulong 0\nfor i ulong n\ns = xor s get data i\nend\nret s\nend\n", 70 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 3\nput buf 1 5\nput buf 2 0\nput buf 3 5\nif ne evaluate_pair buf ulong 4 ulong 3\nret 83\nend\nret 77\nend\n" 71 + }, 72 + { 73 + "group": "familiar", 74 + "operation": 5, 75 + "prompt": "note add up the entries before the given bound\nfn fold_value items view ulong 12 count ulong to ulong\n", 76 + "reference": "s = ulong 0\nfor i ulong count\ns = add s get items i\nend\nret s\nend\n", 77 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 3\nput buf 1 5\nput buf 2 0\nput buf 3 5\nif ne fold_value buf ulong 4 ulong 13\nret 83\nend\nret 77\nend\n" 78 + }, 79 + { 80 + "group": "familiar", 81 + "operation": 5, 82 + "prompt": "note return the running total through the requested count\nfn evaluate_pair data view ulong 12 n ulong to ulong\n", 83 + "reference": "s = ulong 0\nfor i ulong n\ns = add s get data i\nend\nret s\nend\n", 84 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 3\nput buf 1 5\nput buf 2 0\nput buf 3 5\nif ne evaluate_pair buf ulong 4 ulong 13\nret 83\nend\nret 77\nend\n" 85 + }, 86 + { 87 + "group": "familiar", 88 + "operation": 6, 89 + "prompt": "note return the highest entry in the given prefix, or zero if empty\nfn fold_value items view ulong 12 count ulong to ulong\n", 90 + "reference": "s = ulong 0\nfor i ulong count\nif gt get items i s\ns = get items i\nend\nend\nret s\nend\n", 91 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 3\nput buf 1 5\nput buf 2 0\nput buf 3 5\nif ne fold_value buf ulong 4 ulong 5\nret 83\nend\nret 77\nend\n" 92 + }, 93 + { 94 + "group": "familiar", 95 + "operation": 6, 96 + "prompt": "note report the largest value before the bound, defaulting to zero\nfn evaluate_pair data view ulong 12 n ulong to ulong\n", 97 + "reference": "s = ulong 0\nfor i ulong n\nif gt get data i s\ns = get data i\nend\nend\nret s\nend\n", 98 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 3\nput buf 1 5\nput buf 2 0\nput buf 3 5\nif ne evaluate_pair buf ulong 4 ulong 5\nret 83\nend\nret 77\nend\n" 99 + }, 100 + { 101 + "group": "familiar", 102 + "operation": 7, 103 + "prompt": "note count zero-valued entries before the limit\nfn fold_value items view ulong 12 count ulong to ulong\n", 104 + "reference": "s = ulong 0\nfor i ulong count\nif eq get items i 0\ns = add s 1\nend\nend\nret s\nend\n", 105 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 3\nput buf 1 5\nput buf 2 0\nput buf 3 5\nif ne fold_value buf ulong 4 ulong 1\nret 83\nend\nret 77\nend\n" 106 + }, 107 + { 108 + "group": "familiar", 109 + "operation": 7, 110 + "prompt": "note return how many entries equal zero in the requested prefix\nfn evaluate_pair data view ulong 12 n ulong to ulong\n", 111 + "reference": "s = ulong 0\nfor i ulong n\nif eq get data i 0\ns = add s 1\nend\nend\nret s\nend\n", 112 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 3\nput buf 1 5\nput buf 2 0\nput buf 3 5\nif ne evaluate_pair buf ulong 4 ulong 1\nret 83\nend\nret 77\nend\n" 113 + }, 114 + { 115 + "group": "composition", 116 + "operation": 8, 117 + "prompt": "note return three plus the absolute distance between the inputs\nfn fold_value x ulong y ulong to ulong\n", 118 + "reference": "if lt x y\nret add 3 sub y x\nend\nret add 3 sub x y\nend\n", 119 + "main": "fn main to int\nif ne fold_value ulong 12 ulong 7 ulong 8\nret 83\nend\nret 77\nend\n" 120 + }, 121 + { 122 + "group": "composition", 123 + "operation": 8, 124 + "prompt": "note compute the unsigned gap and add three\nfn evaluate_pair left ulong right ulong to ulong\n", 125 + "reference": "if lt left right\nret add 3 sub right left\nend\nret add 3 sub left right\nend\n", 126 + "main": "fn main to int\nif ne evaluate_pair ulong 12 ulong 7 ulong 8\nret 83\nend\nret 77\nend\n" 127 + }, 128 + { 129 + "group": "composition", 130 + "operation": 9, 131 + "prompt": "note return twice the smaller argument\nfn fold_value x ulong y ulong to ulong\n", 132 + "reference": "if lt x y\nret mul 2 x\nend\nret mul 2 y\nend\n", 133 + "main": "fn main to int\nif ne fold_value ulong 12 ulong 7 ulong 14\nret 83\nend\nret 77\nend\n" 134 + }, 135 + { 136 + "group": "composition", 137 + "operation": 9, 138 + "prompt": "note find the lower of the inputs and double it\nfn evaluate_pair left ulong right ulong to ulong\n", 139 + "reference": "if lt left right\nret mul 2 left\nend\nret mul 2 right\nend\n", 140 + "main": "fn main to int\nif ne evaluate_pair ulong 12 ulong 7 ulong 14\nret 83\nend\nret 77\nend\n" 141 + }, 142 + { 143 + "group": "composition", 144 + "operation": 10, 145 + "prompt": "note sum the requested prefix and add three\nfn fold_value items view ulong 12 count ulong to ulong\n", 146 + "reference": "s = ulong 0\nfor i ulong count\ns = add s get items i\nend\nret add s 3\nend\n", 147 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 3\nput buf 1 5\nput buf 2 0\nput buf 3 5\nif ne fold_value buf ulong 4 ulong 16\nret 83\nend\nret 77\nend\n" 148 + }, 149 + { 150 + "group": "composition", 151 + "operation": 10, 152 + "prompt": "note return three more than the total before the bound\nfn evaluate_pair data view ulong 12 n ulong to ulong\n", 153 + "reference": "s = ulong 0\nfor i ulong n\ns = add s get data i\nend\nret add s 3\nend\n", 154 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 3\nput buf 1 5\nput buf 2 0\nput buf 3 5\nif ne evaluate_pair buf ulong 4 ulong 16\nret 83\nend\nret 77\nend\n" 155 + }, 156 + { 157 + "group": "composition", 158 + "operation": 11, 159 + "prompt": "note double the number of zeros in the requested prefix\nfn fold_value items view ulong 12 count ulong to ulong\n", 160 + "reference": "s = ulong 0\nfor i ulong count\nif eq get items i 0\ns = add s 1\nend\nend\nret mul s 2\nend\n", 161 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 3\nput buf 1 5\nput buf 2 0\nput buf 3 5\nif ne fold_value buf ulong 4 ulong 2\nret 83\nend\nret 77\nend\n" 162 + }, 163 + { 164 + "group": "composition", 165 + "operation": 11, 166 + "prompt": "note return twice the count of zero values before the bound\nfn evaluate_pair data view ulong 12 n ulong to ulong\n", 167 + "reference": "s = ulong 0\nfor i ulong n\nif eq get data i 0\ns = add s 1\nend\nend\nret mul s 2\nend\n", 168 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 3\nput buf 1 5\nput buf 2 0\nput buf 3 5\nif ne evaluate_pair buf ulong 4 ulong 2\nret 83\nend\nret 77\nend\n" 169 + } 170 +] train/omega-llm/tools/contrast/run-01/fresh.json new file mode 100644 @@ -0,0 +1,170 @@ 1 +[ 2 + { 3 + "group": "familiar", 4 + "operation": 0, 5 + "prompt": "note return the difference between the larger and smaller arguments\nfn fold_value x ulong y ulong to ulong\n", 6 + "reference": "if lt x y\nret sub y x\nend\nret sub x y\nend\n", 7 + "main": "fn main to int\nif ne fold_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne fold_value ulong 1 ulong 7 ulong 6\nret 83\nend\nif ne fold_value ulong 19 ulong 3 ulong 16\nret 83\nend\nif ne fold_value ulong 5 ulong 5 ulong 0\nret 83\nend\nif ne fold_value ulong 0 ulong 258 ulong 258\nret 83\nend\nif ne fold_value ulong 66 ulong 256 ulong 190\nret 83\nend\nif ne fold_value ulong 17 ulong 32 ulong 15\nret 83\nend\nif ne fold_value ulong 1001 ulong 999 ulong 2\nret 83\nend\nret 77\nend\n" 8 + }, 9 + { 10 + "group": "familiar", 11 + "operation": 0, 12 + "prompt": "note compute the unsigned distance separating these inputs\nfn evaluate_pair left ulong right ulong to ulong\n", 13 + "reference": "if lt left right\nret sub right left\nend\nret sub left right\nend\n", 14 + "main": "fn main to int\nif ne evaluate_pair ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne evaluate_pair ulong 1 ulong 7 ulong 6\nret 83\nend\nif ne evaluate_pair ulong 19 ulong 3 ulong 16\nret 83\nend\nif ne evaluate_pair ulong 5 ulong 5 ulong 0\nret 83\nend\nif ne evaluate_pair ulong 0 ulong 258 ulong 258\nret 83\nend\nif ne evaluate_pair ulong 66 ulong 256 ulong 190\nret 83\nend\nif ne evaluate_pair ulong 17 ulong 32 ulong 15\nret 83\nend\nif ne evaluate_pair ulong 1001 ulong 999 ulong 2\nret 83\nend\nret 77\nend\n" 15 + }, 16 + { 17 + "group": "familiar", 18 + "operation": 1, 19 + "prompt": "note add the pair and return their total\nfn fold_value x ulong y ulong to ulong\n", 20 + "reference": "ret add x y\nend\n", 21 + "main": "fn main to int\nif ne fold_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne fold_value ulong 1 ulong 7 ulong 8\nret 83\nend\nif ne fold_value ulong 19 ulong 3 ulong 22\nret 83\nend\nif ne fold_value ulong 5 ulong 5 ulong 10\nret 83\nend\nif ne fold_value ulong 0 ulong 258 ulong 258\nret 83\nend\nif ne fold_value ulong 66 ulong 256 ulong 322\nret 83\nend\nif ne fold_value ulong 17 ulong 32 ulong 49\nret 83\nend\nif ne fold_value ulong 1001 ulong 999 ulong 2000\nret 83\nend\nret 77\nend\n" 22 + }, 23 + { 24 + "group": "familiar", 25 + "operation": 1, 26 + "prompt": "note return the two arguments added together\nfn evaluate_pair left ulong right ulong to ulong\n", 27 + "reference": "ret add left right\nend\n", 28 + "main": "fn main to int\nif ne evaluate_pair ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne evaluate_pair ulong 1 ulong 7 ulong 8\nret 83\nend\nif ne evaluate_pair ulong 19 ulong 3 ulong 22\nret 83\nend\nif ne evaluate_pair ulong 5 ulong 5 ulong 10\nret 83\nend\nif ne evaluate_pair ulong 0 ulong 258 ulong 258\nret 83\nend\nif ne evaluate_pair ulong 66 ulong 256 ulong 322\nret 83\nend\nif ne evaluate_pair ulong 17 ulong 32 ulong 49\nret 83\nend\nif ne evaluate_pair ulong 1001 ulong 999 ulong 2000\nret 83\nend\nret 77\nend\n" 29 + }, 30 + { 31 + "group": "familiar", 32 + "operation": 2, 33 + "prompt": "note select the lower of the arguments\nfn fold_value x ulong y ulong to ulong\n", 34 + "reference": "if lt x y\nret x\nend\nret y\nend\n", 35 + "main": "fn main to int\nif ne fold_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne fold_value ulong 1 ulong 7 ulong 1\nret 83\nend\nif ne fold_value ulong 19 ulong 3 ulong 3\nret 83\nend\nif ne fold_value ulong 5 ulong 5 ulong 5\nret 83\nend\nif ne fold_value ulong 0 ulong 258 ulong 0\nret 83\nend\nif ne fold_value ulong 66 ulong 256 ulong 66\nret 83\nend\nif ne fold_value ulong 17 ulong 32 ulong 17\nret 83\nend\nif ne fold_value ulong 1001 ulong 999 ulong 999\nret 83\nend\nret 77\nend\n" 36 + }, 37 + { 38 + "group": "familiar", 39 + "operation": 2, 40 + "prompt": "note return whichever input is smaller\nfn evaluate_pair left ulong right ulong to ulong\n", 41 + "reference": "if lt left right\nret left\nend\nret right\nend\n", 42 + "main": "fn main to int\nif ne evaluate_pair ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne evaluate_pair ulong 1 ulong 7 ulong 1\nret 83\nend\nif ne evaluate_pair ulong 19 ulong 3 ulong 3\nret 83\nend\nif ne evaluate_pair ulong 5 ulong 5 ulong 5\nret 83\nend\nif ne evaluate_pair ulong 0 ulong 258 ulong 0\nret 83\nend\nif ne evaluate_pair ulong 66 ulong 256 ulong 66\nret 83\nend\nif ne evaluate_pair ulong 17 ulong 32 ulong 17\nret 83\nend\nif ne evaluate_pair ulong 1001 ulong 999 ulong 999\nret 83\nend\nret 77\nend\n" 43 + }, 44 + { 45 + "group": "familiar", 46 + "operation": 3, 47 + "prompt": "note select the higher of the arguments\nfn fold_value x ulong y ulong to ulong\n", 48 + "reference": "if gt x y\nret x\nend\nret y\nend\n", 49 + "main": "fn main to int\nif ne fold_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne fold_value ulong 1 ulong 7 ulong 7\nret 83\nend\nif ne fold_value ulong 19 ulong 3 ulong 19\nret 83\nend\nif ne fold_value ulong 5 ulong 5 ulong 5\nret 83\nend\nif ne fold_value ulong 0 ulong 258 ulong 258\nret 83\nend\nif ne fold_value ulong 66 ulong 256 ulong 256\nret 83\nend\nif ne fold_value ulong 17 ulong 32 ulong 32\nret 83\nend\nif ne fold_value ulong 1001 ulong 999 ulong 1001\nret 83\nend\nret 77\nend\n" 50 + }, 51 + { 52 + "group": "familiar", 53 + "operation": 3, 54 + "prompt": "note return whichever input is larger\nfn evaluate_pair left ulong right ulong to ulong\n", 55 + "reference": "if gt left right\nret left\nend\nret right\nend\n", 56 + "main": "fn main to int\nif ne evaluate_pair ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne evaluate_pair ulong 1 ulong 7 ulong 7\nret 83\nend\nif ne evaluate_pair ulong 19 ulong 3 ulong 19\nret 83\nend\nif ne evaluate_pair ulong 5 ulong 5 ulong 5\nret 83\nend\nif ne evaluate_pair ulong 0 ulong 258 ulong 258\nret 83\nend\nif ne evaluate_pair ulong 66 ulong 256 ulong 256\nret 83\nend\nif ne evaluate_pair ulong 17 ulong 32 ulong 32\nret 83\nend\nif ne evaluate_pair ulong 1001 ulong 999 ulong 1001\nret 83\nend\nret 77\nend\n" 57 + }, 58 + { 59 + "group": "familiar", 60 + "operation": 4, 61 + "prompt": "note combine the requested prefix using bitwise XOR\nfn fold_value items view ulong 12 count ulong to ulong\n", 62 + "reference": "s = ulong 0\nfor i ulong count\ns = xor s get items i\nend\nret s\nend\n", 63 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 0\nput buf 1 9\nput buf 2 13\nput buf 3 0\nput buf 4 4\nput buf 5 30\nput buf 6 22\nput buf 7 9\nput buf 8 0\nput buf 9 17\nput buf 10 2\nput buf 11 1\nif ne fold_value buf ulong 0 ulong 0\nret 83\nend\nif ne fold_value buf ulong 1 ulong 0\nret 83\nend\nif ne fold_value buf ulong 2 ulong 9\nret 83\nend\nif ne fold_value buf ulong 5 ulong 0\nret 83\nend\nif ne fold_value buf ulong 9 ulong 1\nret 83\nend\nif ne fold_value buf ulong 12 ulong 19\nret 83\nend\nput buf 0 6\nput buf 1 0\nput buf 2 11\nput buf 3 3\nput buf 4 0\nput buf 5 7\nput buf 6 7\nput buf 7 6\nput buf 8 42\nput buf 9 7\nput buf 10 8\nput buf 11 0\nif ne fold_value buf ulong 0 ulong 0\nret 83\nend\nif ne fold_value buf ulong 1 ulong 6\nret 83\nend\nif ne fold_value buf ulong 2 ulong 6\nret 83\nend\nif ne fold_value buf ulong 5 ulong 14\nret 83\nend\nif ne fold_value buf ulong 9 ulong 34\nret 83\nend\nif ne fold_value buf ulong 12 ulong 45\nret 83\nend\nret 77\nend\n" 64 + }, 65 + { 66 + "group": "familiar", 67 + "operation": 4, 68 + "prompt": "note return the cumulative exclusive OR through the given count\nfn evaluate_pair data view ulong 12 n ulong to ulong\n", 69 + "reference": "s = ulong 0\nfor i ulong n\ns = xor s get data i\nend\nret s\nend\n", 70 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 0\nput buf 1 9\nput buf 2 13\nput buf 3 0\nput buf 4 4\nput buf 5 30\nput buf 6 22\nput buf 7 9\nput buf 8 0\nput buf 9 17\nput buf 10 2\nput buf 11 1\nif ne evaluate_pair buf ulong 0 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 1 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 2 ulong 9\nret 83\nend\nif ne evaluate_pair buf ulong 5 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 9 ulong 1\nret 83\nend\nif ne evaluate_pair buf ulong 12 ulong 19\nret 83\nend\nput buf 0 6\nput buf 1 0\nput buf 2 11\nput buf 3 3\nput buf 4 0\nput buf 5 7\nput buf 6 7\nput buf 7 6\nput buf 8 42\nput buf 9 7\nput buf 10 8\nput buf 11 0\nif ne evaluate_pair buf ulong 0 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 1 ulong 6\nret 83\nend\nif ne evaluate_pair buf ulong 2 ulong 6\nret 83\nend\nif ne evaluate_pair buf ulong 5 ulong 14\nret 83\nend\nif ne evaluate_pair buf ulong 9 ulong 34\nret 83\nend\nif ne evaluate_pair buf ulong 12 ulong 45\nret 83\nend\nret 77\nend\n" 71 + }, 72 + { 73 + "group": "familiar", 74 + "operation": 5, 75 + "prompt": "note add up the entries before the given bound\nfn fold_value items view ulong 12 count ulong to ulong\n", 76 + "reference": "s = ulong 0\nfor i ulong count\ns = add s get items i\nend\nret s\nend\n", 77 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 0\nput buf 1 9\nput buf 2 13\nput buf 3 0\nput buf 4 4\nput buf 5 30\nput buf 6 22\nput buf 7 9\nput buf 8 0\nput buf 9 17\nput buf 10 2\nput buf 11 1\nif ne fold_value buf ulong 0 ulong 0\nret 83\nend\nif ne fold_value buf ulong 1 ulong 0\nret 83\nend\nif ne fold_value buf ulong 2 ulong 9\nret 83\nend\nif ne fold_value buf ulong 5 ulong 26\nret 83\nend\nif ne fold_value buf ulong 9 ulong 87\nret 83\nend\nif ne fold_value buf ulong 12 ulong 107\nret 83\nend\nput buf 0 6\nput buf 1 0\nput buf 2 11\nput buf 3 3\nput buf 4 0\nput buf 5 7\nput buf 6 7\nput buf 7 6\nput buf 8 42\nput buf 9 7\nput buf 10 8\nput buf 11 0\nif ne fold_value buf ulong 0 ulong 0\nret 83\nend\nif ne fold_value buf ulong 1 ulong 6\nret 83\nend\nif ne fold_value buf ulong 2 ulong 6\nret 83\nend\nif ne fold_value buf ulong 5 ulong 20\nret 83\nend\nif ne fold_value buf ulong 9 ulong 82\nret 83\nend\nif ne fold_value buf ulong 12 ulong 97\nret 83\nend\nret 77\nend\n" 78 + }, 79 + { 80 + "group": "familiar", 81 + "operation": 5, 82 + "prompt": "note return the running total through the requested count\nfn evaluate_pair data view ulong 12 n ulong to ulong\n", 83 + "reference": "s = ulong 0\nfor i ulong n\ns = add s get data i\nend\nret s\nend\n", 84 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 0\nput buf 1 9\nput buf 2 13\nput buf 3 0\nput buf 4 4\nput buf 5 30\nput buf 6 22\nput buf 7 9\nput buf 8 0\nput buf 9 17\nput buf 10 2\nput buf 11 1\nif ne evaluate_pair buf ulong 0 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 1 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 2 ulong 9\nret 83\nend\nif ne evaluate_pair buf ulong 5 ulong 26\nret 83\nend\nif ne evaluate_pair buf ulong 9 ulong 87\nret 83\nend\nif ne evaluate_pair buf ulong 12 ulong 107\nret 83\nend\nput buf 0 6\nput buf 1 0\nput buf 2 11\nput buf 3 3\nput buf 4 0\nput buf 5 7\nput buf 6 7\nput buf 7 6\nput buf 8 42\nput buf 9 7\nput buf 10 8\nput buf 11 0\nif ne evaluate_pair buf ulong 0 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 1 ulong 6\nret 83\nend\nif ne evaluate_pair buf ulong 2 ulong 6\nret 83\nend\nif ne evaluate_pair buf ulong 5 ulong 20\nret 83\nend\nif ne evaluate_pair buf ulong 9 ulong 82\nret 83\nend\nif ne evaluate_pair buf ulong 12 ulong 97\nret 83\nend\nret 77\nend\n" 85 + }, 86 + { 87 + "group": "familiar", 88 + "operation": 6, 89 + "prompt": "note return the highest entry in the given prefix, or zero if empty\nfn fold_value items view ulong 12 count ulong to ulong\n", 90 + "reference": "s = ulong 0\nfor i ulong count\nif gt get items i s\ns = get items i\nend\nend\nret s\nend\n", 91 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 0\nput buf 1 9\nput buf 2 13\nput buf 3 0\nput buf 4 4\nput buf 5 30\nput buf 6 22\nput buf 7 9\nput buf 8 0\nput buf 9 17\nput buf 10 2\nput buf 11 1\nif ne fold_value buf ulong 0 ulong 0\nret 83\nend\nif ne fold_value buf ulong 1 ulong 0\nret 83\nend\nif ne fold_value buf ulong 2 ulong 9\nret 83\nend\nif ne fold_value buf ulong 5 ulong 13\nret 83\nend\nif ne fold_value buf ulong 9 ulong 30\nret 83\nend\nif ne fold_value buf ulong 12 ulong 30\nret 83\nend\nput buf 0 6\nput buf 1 0\nput buf 2 11\nput buf 3 3\nput buf 4 0\nput buf 5 7\nput buf 6 7\nput buf 7 6\nput buf 8 42\nput buf 9 7\nput buf 10 8\nput buf 11 0\nif ne fold_value buf ulong 0 ulong 0\nret 83\nend\nif ne fold_value buf ulong 1 ulong 6\nret 83\nend\nif ne fold_value buf ulong 2 ulong 6\nret 83\nend\nif ne fold_value buf ulong 5 ulong 11\nret 83\nend\nif ne fold_value buf ulong 9 ulong 42\nret 83\nend\nif ne fold_value buf ulong 12 ulong 42\nret 83\nend\nret 77\nend\n" 92 + }, 93 + { 94 + "group": "familiar", 95 + "operation": 6, 96 + "prompt": "note report the largest value before the bound, defaulting to zero\nfn evaluate_pair data view ulong 12 n ulong to ulong\n", 97 + "reference": "s = ulong 0\nfor i ulong n\nif gt get data i s\ns = get data i\nend\nend\nret s\nend\n", 98 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 0\nput buf 1 9\nput buf 2 13\nput buf 3 0\nput buf 4 4\nput buf 5 30\nput buf 6 22\nput buf 7 9\nput buf 8 0\nput buf 9 17\nput buf 10 2\nput buf 11 1\nif ne evaluate_pair buf ulong 0 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 1 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 2 ulong 9\nret 83\nend\nif ne evaluate_pair buf ulong 5 ulong 13\nret 83\nend\nif ne evaluate_pair buf ulong 9 ulong 30\nret 83\nend\nif ne evaluate_pair buf ulong 12 ulong 30\nret 83\nend\nput buf 0 6\nput buf 1 0\nput buf 2 11\nput buf 3 3\nput buf 4 0\nput buf 5 7\nput buf 6 7\nput buf 7 6\nput buf 8 42\nput buf 9 7\nput buf 10 8\nput buf 11 0\nif ne evaluate_pair buf ulong 0 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 1 ulong 6\nret 83\nend\nif ne evaluate_pair buf ulong 2 ulong 6\nret 83\nend\nif ne evaluate_pair buf ulong 5 ulong 11\nret 83\nend\nif ne evaluate_pair buf ulong 9 ulong 42\nret 83\nend\nif ne evaluate_pair buf ulong 12 ulong 42\nret 83\nend\nret 77\nend\n" 99 + }, 100 + { 101 + "group": "familiar", 102 + "operation": 7, 103 + "prompt": "note count zero-valued entries before the limit\nfn fold_value items view ulong 12 count ulong to ulong\n", 104 + "reference": "s = ulong 0\nfor i ulong count\nif eq get items i 0\ns = add s 1\nend\nend\nret s\nend\n", 105 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 0\nput buf 1 9\nput buf 2 13\nput buf 3 0\nput buf 4 4\nput buf 5 30\nput buf 6 22\nput buf 7 9\nput buf 8 0\nput buf 9 17\nput buf 10 2\nput buf 11 1\nif ne fold_value buf ulong 0 ulong 0\nret 83\nend\nif ne fold_value buf ulong 1 ulong 1\nret 83\nend\nif ne fold_value buf ulong 2 ulong 1\nret 83\nend\nif ne fold_value buf ulong 5 ulong 2\nret 83\nend\nif ne fold_value buf ulong 9 ulong 3\nret 83\nend\nif ne fold_value buf ulong 12 ulong 3\nret 83\nend\nput buf 0 6\nput buf 1 0\nput buf 2 11\nput buf 3 3\nput buf 4 0\nput buf 5 7\nput buf 6 7\nput buf 7 6\nput buf 8 42\nput buf 9 7\nput buf 10 8\nput buf 11 0\nif ne fold_value buf ulong 0 ulong 0\nret 83\nend\nif ne fold_value buf ulong 1 ulong 0\nret 83\nend\nif ne fold_value buf ulong 2 ulong 1\nret 83\nend\nif ne fold_value buf ulong 5 ulong 2\nret 83\nend\nif ne fold_value buf ulong 9 ulong 2\nret 83\nend\nif ne fold_value buf ulong 12 ulong 3\nret 83\nend\nret 77\nend\n" 106 + }, 107 + { 108 + "group": "familiar", 109 + "operation": 7, 110 + "prompt": "note return how many entries equal zero in the requested prefix\nfn evaluate_pair data view ulong 12 n ulong to ulong\n", 111 + "reference": "s = ulong 0\nfor i ulong n\nif eq get data i 0\ns = add s 1\nend\nend\nret s\nend\n", 112 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 0\nput buf 1 9\nput buf 2 13\nput buf 3 0\nput buf 4 4\nput buf 5 30\nput buf 6 22\nput buf 7 9\nput buf 8 0\nput buf 9 17\nput buf 10 2\nput buf 11 1\nif ne evaluate_pair buf ulong 0 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 1 ulong 1\nret 83\nend\nif ne evaluate_pair buf ulong 2 ulong 1\nret 83\nend\nif ne evaluate_pair buf ulong 5 ulong 2\nret 83\nend\nif ne evaluate_pair buf ulong 9 ulong 3\nret 83\nend\nif ne evaluate_pair buf ulong 12 ulong 3\nret 83\nend\nput buf 0 6\nput buf 1 0\nput buf 2 11\nput buf 3 3\nput buf 4 0\nput buf 5 7\nput buf 6 7\nput buf 7 6\nput buf 8 42\nput buf 9 7\nput buf 10 8\nput buf 11 0\nif ne evaluate_pair buf ulong 0 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 1 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 2 ulong 1\nret 83\nend\nif ne evaluate_pair buf ulong 5 ulong 2\nret 83\nend\nif ne evaluate_pair buf ulong 9 ulong 2\nret 83\nend\nif ne evaluate_pair buf ulong 12 ulong 3\nret 83\nend\nret 77\nend\n" 113 + }, 114 + { 115 + "group": "composition", 116 + "operation": 8, 117 + "prompt": "note return three plus the absolute distance between the inputs\nfn fold_value x ulong y ulong to ulong\n", 118 + "reference": "if lt x y\nret add 3 sub y x\nend\nret add 3 sub x y\nend\n", 119 + "main": "fn main to int\nif ne fold_value ulong 0 ulong 0 ulong 3\nret 83\nend\nif ne fold_value ulong 1 ulong 7 ulong 9\nret 83\nend\nif ne fold_value ulong 19 ulong 3 ulong 19\nret 83\nend\nif ne fold_value ulong 5 ulong 5 ulong 3\nret 83\nend\nif ne fold_value ulong 0 ulong 258 ulong 261\nret 83\nend\nif ne fold_value ulong 66 ulong 256 ulong 193\nret 83\nend\nif ne fold_value ulong 17 ulong 32 ulong 18\nret 83\nend\nif ne fold_value ulong 1001 ulong 999 ulong 5\nret 83\nend\nret 77\nend\n" 120 + }, 121 + { 122 + "group": "composition", 123 + "operation": 8, 124 + "prompt": "note compute the unsigned gap and add three\nfn evaluate_pair left ulong right ulong to ulong\n", 125 + "reference": "if lt left right\nret add 3 sub right left\nend\nret add 3 sub left right\nend\n", 126 + "main": "fn main to int\nif ne evaluate_pair ulong 0 ulong 0 ulong 3\nret 83\nend\nif ne evaluate_pair ulong 1 ulong 7 ulong 9\nret 83\nend\nif ne evaluate_pair ulong 19 ulong 3 ulong 19\nret 83\nend\nif ne evaluate_pair ulong 5 ulong 5 ulong 3\nret 83\nend\nif ne evaluate_pair ulong 0 ulong 258 ulong 261\nret 83\nend\nif ne evaluate_pair ulong 66 ulong 256 ulong 193\nret 83\nend\nif ne evaluate_pair ulong 17 ulong 32 ulong 18\nret 83\nend\nif ne evaluate_pair ulong 1001 ulong 999 ulong 5\nret 83\nend\nret 77\nend\n" 127 + }, 128 + { 129 + "group": "composition", 130 + "operation": 9, 131 + "prompt": "note return twice the smaller argument\nfn fold_value x ulong y ulong to ulong\n", 132 + "reference": "if lt x y\nret mul 2 x\nend\nret mul 2 y\nend\n", 133 + "main": "fn main to int\nif ne fold_value ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne fold_value ulong 1 ulong 7 ulong 2\nret 83\nend\nif ne fold_value ulong 19 ulong 3 ulong 6\nret 83\nend\nif ne fold_value ulong 5 ulong 5 ulong 10\nret 83\nend\nif ne fold_value ulong 0 ulong 258 ulong 0\nret 83\nend\nif ne fold_value ulong 66 ulong 256 ulong 132\nret 83\nend\nif ne fold_value ulong 17 ulong 32 ulong 34\nret 83\nend\nif ne fold_value ulong 1001 ulong 999 ulong 1998\nret 83\nend\nret 77\nend\n" 134 + }, 135 + { 136 + "group": "composition", 137 + "operation": 9, 138 + "prompt": "note find the lower of the inputs and double it\nfn evaluate_pair left ulong right ulong to ulong\n", 139 + "reference": "if lt left right\nret mul 2 left\nend\nret mul 2 right\nend\n", 140 + "main": "fn main to int\nif ne evaluate_pair ulong 0 ulong 0 ulong 0\nret 83\nend\nif ne evaluate_pair ulong 1 ulong 7 ulong 2\nret 83\nend\nif ne evaluate_pair ulong 19 ulong 3 ulong 6\nret 83\nend\nif ne evaluate_pair ulong 5 ulong 5 ulong 10\nret 83\nend\nif ne evaluate_pair ulong 0 ulong 258 ulong 0\nret 83\nend\nif ne evaluate_pair ulong 66 ulong 256 ulong 132\nret 83\nend\nif ne evaluate_pair ulong 17 ulong 32 ulong 34\nret 83\nend\nif ne evaluate_pair ulong 1001 ulong 999 ulong 1998\nret 83\nend\nret 77\nend\n" 141 + }, 142 + { 143 + "group": "composition", 144 + "operation": 10, 145 + "prompt": "note sum the requested prefix and add three\nfn fold_value items view ulong 12 count ulong to ulong\n", 146 + "reference": "s = ulong 0\nfor i ulong count\ns = add s get items i\nend\nret add s 3\nend\n", 147 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 0\nput buf 1 9\nput buf 2 13\nput buf 3 0\nput buf 4 4\nput buf 5 30\nput buf 6 22\nput buf 7 9\nput buf 8 0\nput buf 9 17\nput buf 10 2\nput buf 11 1\nif ne fold_value buf ulong 0 ulong 3\nret 83\nend\nif ne fold_value buf ulong 1 ulong 3\nret 83\nend\nif ne fold_value buf ulong 2 ulong 12\nret 83\nend\nif ne fold_value buf ulong 5 ulong 29\nret 83\nend\nif ne fold_value buf ulong 9 ulong 90\nret 83\nend\nif ne fold_value buf ulong 12 ulong 110\nret 83\nend\nput buf 0 6\nput buf 1 0\nput buf 2 11\nput buf 3 3\nput buf 4 0\nput buf 5 7\nput buf 6 7\nput buf 7 6\nput buf 8 42\nput buf 9 7\nput buf 10 8\nput buf 11 0\nif ne fold_value buf ulong 0 ulong 3\nret 83\nend\nif ne fold_value buf ulong 1 ulong 9\nret 83\nend\nif ne fold_value buf ulong 2 ulong 9\nret 83\nend\nif ne fold_value buf ulong 5 ulong 23\nret 83\nend\nif ne fold_value buf ulong 9 ulong 85\nret 83\nend\nif ne fold_value buf ulong 12 ulong 100\nret 83\nend\nret 77\nend\n" 148 + }, 149 + { 150 + "group": "composition", 151 + "operation": 10, 152 + "prompt": "note return three more than the total before the bound\nfn evaluate_pair data view ulong 12 n ulong to ulong\n", 153 + "reference": "s = ulong 0\nfor i ulong n\ns = add s get data i\nend\nret add s 3\nend\n", 154 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 0\nput buf 1 9\nput buf 2 13\nput buf 3 0\nput buf 4 4\nput buf 5 30\nput buf 6 22\nput buf 7 9\nput buf 8 0\nput buf 9 17\nput buf 10 2\nput buf 11 1\nif ne evaluate_pair buf ulong 0 ulong 3\nret 83\nend\nif ne evaluate_pair buf ulong 1 ulong 3\nret 83\nend\nif ne evaluate_pair buf ulong 2 ulong 12\nret 83\nend\nif ne evaluate_pair buf ulong 5 ulong 29\nret 83\nend\nif ne evaluate_pair buf ulong 9 ulong 90\nret 83\nend\nif ne evaluate_pair buf ulong 12 ulong 110\nret 83\nend\nput buf 0 6\nput buf 1 0\nput buf 2 11\nput buf 3 3\nput buf 4 0\nput buf 5 7\nput buf 6 7\nput buf 7 6\nput buf 8 42\nput buf 9 7\nput buf 10 8\nput buf 11 0\nif ne evaluate_pair buf ulong 0 ulong 3\nret 83\nend\nif ne evaluate_pair buf ulong 1 ulong 9\nret 83\nend\nif ne evaluate_pair buf ulong 2 ulong 9\nret 83\nend\nif ne evaluate_pair buf ulong 5 ulong 23\nret 83\nend\nif ne evaluate_pair buf ulong 9 ulong 85\nret 83\nend\nif ne evaluate_pair buf ulong 12 ulong 100\nret 83\nend\nret 77\nend\n" 155 + }, 156 + { 157 + "group": "composition", 158 + "operation": 11, 159 + "prompt": "note double the number of zeros in the requested prefix\nfn fold_value items view ulong 12 count ulong to ulong\n", 160 + "reference": "s = ulong 0\nfor i ulong count\nif eq get items i 0\ns = add s 1\nend\nend\nret mul s 2\nend\n", 161 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 0\nput buf 1 9\nput buf 2 13\nput buf 3 0\nput buf 4 4\nput buf 5 30\nput buf 6 22\nput buf 7 9\nput buf 8 0\nput buf 9 17\nput buf 10 2\nput buf 11 1\nif ne fold_value buf ulong 0 ulong 0\nret 83\nend\nif ne fold_value buf ulong 1 ulong 2\nret 83\nend\nif ne fold_value buf ulong 2 ulong 2\nret 83\nend\nif ne fold_value buf ulong 5 ulong 4\nret 83\nend\nif ne fold_value buf ulong 9 ulong 6\nret 83\nend\nif ne fold_value buf ulong 12 ulong 6\nret 83\nend\nput buf 0 6\nput buf 1 0\nput buf 2 11\nput buf 3 3\nput buf 4 0\nput buf 5 7\nput buf 6 7\nput buf 7 6\nput buf 8 42\nput buf 9 7\nput buf 10 8\nput buf 11 0\nif ne fold_value buf ulong 0 ulong 0\nret 83\nend\nif ne fold_value buf ulong 1 ulong 0\nret 83\nend\nif ne fold_value buf ulong 2 ulong 2\nret 83\nend\nif ne fold_value buf ulong 5 ulong 4\nret 83\nend\nif ne fold_value buf ulong 9 ulong 4\nret 83\nend\nif ne fold_value buf ulong 12 ulong 6\nret 83\nend\nret 77\nend\n" 162 + }, 163 + { 164 + "group": "composition", 165 + "operation": 11, 166 + "prompt": "note return twice the count of zero values before the bound\nfn evaluate_pair data view ulong 12 n ulong to ulong\n", 167 + "reference": "s = ulong 0\nfor i ulong n\nif eq get data i 0\ns = add s 1\nend\nend\nret mul s 2\nend\n", 168 + "main": "fn main to int\nbuf = new ulong 12 0\nput buf 0 0\nput buf 1 9\nput buf 2 13\nput buf 3 0\nput buf 4 4\nput buf 5 30\nput buf 6 22\nput buf 7 9\nput buf 8 0\nput buf 9 17\nput buf 10 2\nput buf 11 1\nif ne evaluate_pair buf ulong 0 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 1 ulong 2\nret 83\nend\nif ne evaluate_pair buf ulong 2 ulong 2\nret 83\nend\nif ne evaluate_pair buf ulong 5 ulong 4\nret 83\nend\nif ne evaluate_pair buf ulong 9 ulong 6\nret 83\nend\nif ne evaluate_pair buf ulong 12 ulong 6\nret 83\nend\nput buf 0 6\nput buf 1 0\nput buf 2 11\nput buf 3 3\nput buf 4 0\nput buf 5 7\nput buf 6 7\nput buf 7 6\nput buf 8 42\nput buf 9 7\nput buf 10 8\nput buf 11 0\nif ne evaluate_pair buf ulong 0 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 1 ulong 0\nret 83\nend\nif ne evaluate_pair buf ulong 2 ulong 2\nret 83\nend\nif ne evaluate_pair buf ulong 5 ulong 4\nret 83\nend\nif ne evaluate_pair buf ulong 9 ulong 4\nret 83\nend\nif ne evaluate_pair buf ulong 12 ulong 6\nret 83\nend\nret 77\nend\n" 169 + } 170 +] train/omega-llm/tools/contrast/run-01/generations.json new file mode 100644 @@ -0,0 +1 @@ 1 +{"parent":{"fresh":[{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":2},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":2},{"body":"ret add x y\nend\n","grade":2},{"body":"ret or left right\nend\n","grade":1},{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":1},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":1},{"body":"total = ulong 0\nfor j ulong count\ntotal = add total get buf j\nend\nret total\nend\n","grade":0},{"body":"if gt left right\nv = left\nend\nret v\nend\n","grade":0},{"body":"total = ulong 0\nfor j ulong count\ntotal = xor total get items i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong count\ntotal = add total get items i\nend\nret total\nend\n","grade":2},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get data i\nend\nret total\nend\n","grade":2},{"body":"total = ulong 0\nfor j ulong count\nif eq get items i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor j ulong count\nif eq get items i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0},{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":1},{"body":"ret add left right\nend\n","grade":1},{"body":"v = y\nif lt x y\nv = x\nend\nret v\nend\n","grade":1},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":1},{"body":"total = ulong 0\nfor k ulong count\ntotal = add total get items k\nend\nret total\nend\n","grade":1},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"s = ulong 0\nfor i ulong count\nif eq get items i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":1},{"body":"total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0}],"earlier":[{"body":"ret add a b\nend\n","grade":2},{"body":"ret mul a b\nend\n","grade":2},{"body":"if lt a b\nret a\nend\nret b\nend\n","grade":2},{"body":"if gt a b\nret a\nend\nret b\nend\n","grade":2},{"body":"ret or a b\nend\n","grade":2},{"body":"ret and a b\nend\n","grade":2},{"body":"ret a\nend\n","grade":2},{"body":"ret b\nend\n","grade":2},{"body":"ret add a b\nend\n","grade":2},{"body":"ret add a b\nend\n","grade":2},{"body":"if gt a b\nret a\nend\nret b\nend\n","grade":1},{"body":"ret mul a b\nend\n","grade":2},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"v = b\nif lt a b\nv = a\nend\nret v\nend\n","grade":2},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"v = b\nif gt a b\nv = a\nend\nret v\nend\n","grade":2},{"body":"ret or a b\nend\n","grade":2},{"body":"if gt a b\nret a\nend\nret b\nend\n","grade":1},{"body":"ret and a b\nend\n","grade":2},{"body":"ret add a b\nend\n","grade":1},{"body":"ret a\nend\n","grade":2},{"body":"v = b\nif gt a b\nv = a\nend\nret v\nend\n","grade":1},{"body":"ret b\nend\n","grade":2},{"body":"v = b\nif gt a b\nv = a\nend\nret v\nend\n","grade":1},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"if gt get a i s\ns = get a i\nend\nend\nret s\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"v = v2\nif lt u v2\nv = u\nend\nret v\nend\n","grade":0},{"body":"v = v x ulong 0\nfor i ulong n\nif eq get a i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":0},{"body":"v = y\nif gt x y\nv = x\nend\nret v\nend\n","grade":0},{"body":"v = y\nif gt x y\nv = x\nend\nret add v 7\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"v = y\nif gt get items x y\nv = get items i\nend\nret and v 3\nend\n","grade":0},{"body":"v = y\nif gt x y\nv = x\nend\nret and v 15\nend\n","grade":0},{"body":"v = b\nif lt x y\nv = x\nend\nret xor v 3\nend\n","grade":0},{"body":"v = b\nif lt a b\nv = a\nend\nret xor v 15\nend\n","grade":0},{"body":"ret xor xor x y 3\nend\n","grade":0},{"body":"ret xor xor x y 15\nend\n","grade":0},{"body":"ret mul xor x y 3\nend\n","grade":0},{"body":"ret mul or 15\nend\n","grade":0},{"body":"total = b\nfn calc a ulong b ulong to ulong\ntotal = b\nfn calc a ulong b ulong to ulong\ntotal = ulong 0\nfor ","grade":0},{"body":"if gt a b\nv = a\nend\nret mul v 3\nend\n","grade":0},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"if gt a b\nv = a\nend\nret s\nend\n","grade":0},{"body":"if gt a b\nv = a\nend\nret v\nend\n","grade":0},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"ret mul a b\nend\n","grade":1},{"body":"s = ulong 0\nfor i ulong n\nif gt get a i s\ns = get a i\nend\nend\nret s\nend\n","grade":1},{"body":"s = ulong 0\nfor i ulong n\nif gt get data i s\ns = get data i\nend\nend\nret s\nend\n","grade":1},{"body":"total = ulong 0\nfor j ulong count\ntotal = add total get buf j\nend\nret total\nend\n","grade":2},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\ns = xor s get data i\nend\nret s\nend\n","grade":2},{"body":"total = ulong 0\nfor j ulong count\ntotal = xor total get buf j\nend\nret total\nend\n","grade":2},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\nif gt get data i s\ns = get data i\nend\nend\nret s\nend\n","grade":1},{"body":"s = ulong 0\nfor j ulong count\ntotal = or total get buf j\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\nif eq get data i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":2},{"body":"total = ulong 0\nfor j ulong count\nif eq get buf j 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":2},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":2},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":0},{"body":"for j ulong count\nput buf j add get buf j 1\nend\nend\n","grade":2},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":1},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":0},{"body":"for j ulong count\nput buf j 0\nend\nend\n","grade":1},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":1},{"body":"for i ulong n\nput a i 0\nend\nend\n","grade":0},{"body":"for j ulong count\nput buf j 0\nend\nend\n","grade":2}]},"control":{"fresh":[{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":2},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":2},{"body":"ret add x y\nend\n","grade":2},{"body":"ret or left right\nend\n","grade":1},{"body":"total = ulong 0\nfor j ulong count\ntotal = xor total get buf j\nend\nret total\nend\n","grade":0},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":1},{"body":"total = ulong 0\nfor j ulong count\ntotal = add total get buf j\nend\nret total\nend\n","grade":0},{"body":"if gt left right\nv = left\nend\nret v\nend\n","grade":0},{"body":"s = ulong 0\nfor i ulong count\ns = xor s get items i\nend\nret s\nend\n","grade":2},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor k ulong count\ntotal = add total get items k\nend\nret total\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\ns = add s get data i\nend\nret s\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong count\nif gt get items i s\ns = get items i\nend\nend\nret s\nend\n","grade":2},{"body":"total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor k ulong count\nif eq get items i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0},{"body":"ret add left right\nend\n","grade":1},{"body":"v = y\nif lt x y\nv = x\nend\nret v\nend\n","grade":1},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":1},{"body":"total = ulong 0\nfor k ulong count\ntotal = add total get items k\nend\nret total\nend\n","grade":1},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"s = ulong 0\nfor i ulong count\nif eq get items i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":1},{"body":"total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0}],"earlier":[{"body":"ret add a b\nend\n","grade":2},{"body":"ret mul a b\nend\n","grade":2},{"body":"if lt a b\nret a\nend\nret b\nend\n","grade":2},{"body":"if gt a b\nret a\nend\nret b\nend\n","grade":2},{"body":"ret or a b\nend\n","grade":2},{"body":"ret and a b\nend\n","grade":2},{"body":"ret a\nend\n","grade":2},{"body":"ret b\nend\n","grade":2},{"body":"ret add a b\nend\n","grade":2},{"body":"ret add a b\nend\n","grade":2},{"body":"ret mul a b\nend\n","grade":2},{"body":"ret mul a b\nend\n","grade":2},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"v = b\nif lt a b\nv = a\nend\nret v\nend\n","grade":2},{"body":"if lt a b\nret a\nend\nret b\nend\n","grade":1},{"body":"v = b\nif gt a b\nv = a\nend\nret v\nend\n","grade":2},{"body":"ret or a b\nend\n","grade":2},{"body":"if gt a b\nret a\nend\nret b\nend\n","grade":1},{"body":"ret and a b\nend\n","grade":2},{"body":"ret add a b\nend\n","grade":1},{"body":"ret a\nend\n","grade":2},{"body":"v = b\nif lt a b\nv = a\nend\nret v\nend\n","grade":1},{"body":"ret b\nend\n","grade":2},{"body":"v = b\nif gt a b\nv = a\nend\nret v\nend\n","grade":1},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"v = b\nif lt a b\nv = a\nend\nret v\nend\n","grade":0},{"body":"v = v x ulong 0\nfor i ulong n\nif eq get a i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":0},{"body":"v = v2\nif gt u v2\nv = u\nend\nret v\nend\n","grade":0},{"body":"v = v2\nif gt u v2\nv = u\nend\nret add v 2\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"v = y\nif gt get x y\nv = x\nend\nret and v 3\nend\n","grade":0},{"body":"v = v2\nif gt u v2\nv = u\nend\nret and v 15\nend\n","grade":0},{"body":"v = y\nif lt x y\nv = x\nend\nret xor v 3\nend\n","grade":0},{"body":"v = b\nif lt a b\nv = a\nend\nret xor v 15\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"ret mul xor x y 3\nend\n","grade":0},{"body":"ret mul or 15\nend\n","grade":0},{"body":"total = ulong 0\nfor j ulong count\ntotal = add total get buf j\nend\nret total\nend\n","grade":0},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"if gt a b\nv = a\nend\nret v\nend\n","grade":0},{"body":"if gt a b\nv = a\nend\nret v\nend\n","grade":0},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"ret mul a b\nend\n","grade":1},{"body":"s = ulong 0\nfor i ulong n\nif gt get a i s\ns = get a i\nend\nend\nret s\nend\n","grade":1},{"body":"s = ulong 0\nfor i ulong n\nif gt get data i s\ns = get data i\nend\nend\nret s\nend\n","grade":1},{"body":"total = ulong 0\nfor j ulong count\ntotal = add total get buf j\nend\nret total\nend\n","grade":2},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\ns = xor s get data i\nend\nret s\nend\n","grade":2},{"body":"total = ulong 0\nfor j ulong count\nif eq get buf j 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":1},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\nif gt get data i s\ns = get data i\nend\nend\nret s\nend\n","grade":1},{"body":"total = ulong 0\nfor j ulong count\ntotal = or total get buf j\nend\nret total\nend\n","grade":2},{"body":"total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\nif eq get data i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":2},{"body":"total = ulong 0\nfor j ulong count\nif eq get buf j 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":2},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":2},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":0},{"body":"for j ulong count\nput buf j add get buf j 1\nend\nend\n","grade":2},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":1},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":0},{"body":"for j ulong count\nput buf j mul get buf j 2\nend\nend\n","grade":2},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":1},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":0},{"body":"for j ulong count\nput buf j 0\nend\nend\n","grade":2}]},"treatment":{"fresh":[{"body":"if lt x y\nret x\nend\nret y\nend\n","grade":1},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":2},{"body":"ret add y x y\nend\n","grade":0},{"body":"ret add left right\nend\n","grade":2},{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":1},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":1},{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":1},{"body":"if gt left right\nv = left\nend\nret v\nend\n","grade":0},{"body":"s = ulong 0\nfor i ulong count\ns = xor s get items i\nend\nret s\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\nif gt get a i s\ns = get a i\nend\nend\nret s\nend\n","grade":0},{"body":"total = ulong 0\nfor k ulong length\ntotal = add total get items k\nend\nret total\nend\n","grade":0},{"body":"s = ulong 0\nfor i ulong n\ns = add s get data i\nend\nret s\nend\n","grade":2},{"body":"if lt x y\nret sub y 1\nend\nret sub x y\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor k ulong count\nif eq get items i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0},{"body":"s = ulong 0\nfor i ulong n\nif eq get data i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":2},{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":1},{"body":"ret add left right\nend\n","grade":1},{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":1},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":1},{"body":"total = ulong 0\nfor k ulong count\ntotal = add total get items k\nend\nret total\nend\n","grade":1},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"s = ulong 0\nfor i ulong count\nif eq get items i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":1},{"body":"s = ulong 0\nfor i ulong n\nif eq get data i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":1}],"earlier":[{"body":"ret add a b\nend\n","grade":2},{"body":"ret mul a b\nend\n","grade":2},{"body":"if lt a b\nret a\nend\nret b\nend\n","grade":2},{"body":"if gt a b\nret a\nend\nret b\nend\n","grade":2},{"body":"ret or a b\nend\n","grade":2},{"body":"ret and a b\nend\n","grade":2},{"body":"ret a\nend\n","grade":2},{"body":"ret b\nend\n","grade":2},{"body":"ret add a b\nend\n","grade":2},{"body":"ret add a b\nend\n","grade":2},{"body":"ret mul a b\nend\n","grade":2},{"body":"ret mul a b\nend\n","grade":2},{"body":"if lt a b\nret a\nend\nret b\nend\n","grade":2},{"body":"if lt a b\nret a\nend\nret b\nend\n","grade":2},{"body":"if lt a b\nret a\nend\nret b\nend\n","grade":1},{"body":"if gt a b\nret a\nend\nret b\nend\n","grade":2},{"body":"if gt a b\nret a\nend\nret b\nend\n","grade":1},{"body":"ret add a b\nend\n","grade":1},{"body":"if lt a b\nret a\nend\nret b\nend\n","grade":1},{"body":"ret add a b\nend\n","grade":1},{"body":"ret a\nend\n","grade":2},{"body":"ret a\nend\n","grade":2},{"body":"ret b\nend\n","grade":2},{"body":"v = b\nif gt a b\nv = a\nend\nret v\nend\n","grade":1},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"ret add add left right 7\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get buf j\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"if lt x y\nret and x y\nend\nret y\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"ret add or u v2 7\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":0},{"body":"ret add xor u v2 5\nend\n","grade":0},{"body":"v = y\nif lt x y\nv = x\nend\nret v\nend\n","grade":0},{"body":"v = y\nif lt x y\nv = x\nend\nret add v 7\nend\n","grade":0},{"body":"v = y\nif gt x y\nv = x\nend\nret v\nend\n","grade":0},{"body":"v = y\nif gt x y\nv = x\nend\nret add v 7\nend\n","grade":0},{"body":"ret u\nend\n","grade":0},{"body":"ret add x 15\nend\n","grade":0},{"body":"if gt u v\nret u\nend\nret v\nend\n","grade":0},{"body":"ret add mul = y\nend\n","grade":0},{"body":"v = y\nif gt get a i s\ns = get a i\nend\nend\nret s\nend\n","grade":0},{"body":"v = y\nif gt x y\nv = x\nend\nret and v 15\nend\n","grade":0},{"body":"v = y\nif lt x y\nv = x\nend\nret xor v 3\nend\n","grade":0},{"body":"v = y\nif lt x y\nv = x\nend\nret xor v 15\nend\n","grade":0},{"body":"ret xor xor x y 3\nend\n","grade":0},{"body":"ret xor xor x y 15\nend\n","grade":0},{"body":"ret mul xor x y 3\nend\n","grade":0},{"body":"ret mul x 15\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"if gt a b\nret a\nend\nret b\nend\n","grade":1},{"body":"if gt a b\nv = a\nend\nret v\nend\n","grade":0},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"ret mul a b\nend\n","grade":1},{"body":"s = ulong 0\nfor i ulong n\ns = add s get a i\nend\nret s\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\ns = add s get data i\nend\nret s\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong count\ns = add s get buf j i\nend\nret s\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\ns = xor s get data i\nend\nret s\nend\n","grade":2},{"body":"total = ulong 0\nfor j ulong count\ntotal = xor total get buf j\nend\nret total\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\nif gt get a i s\ns = get a i\nend\nend\nret s\nend\n","grade":1},{"body":"s = ulong 0\nfor i ulong n\nif gt get data i s\ns = get data i\nend\nend\nret s\nend\n","grade":1},{"body":"s = ulong 0\nfor i ulong count\ns = add s get buf j i\nend\nret s\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\nif eq get data i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":2},{"body":"total = ulong 0\nfor j ulong count\nif eq get buf j 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":2},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":2},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":0},{"body":"for j ulong count\nput buf j add get buf j 1\nend\nend\n","grade":2},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":1},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":0},{"body":"for j ulong count\nput buf j add get buf j 1\nend\nend\n","grade":1},{"body":"for i ulong n\nput a i 0\nend\nend\n","grade":2},{"body":"for i ulong n\nput a i 0\nend\nend\n","grade":0},{"body":"for j ulong count\nput buf j 0\nend\nend\n","grade":2}]},"mean":{"fresh":[{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":2},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":2},{"body":"ret add y x y\nend\n","grade":0},{"body":"ret or left right\nend\n","grade":1},{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":1},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":1},{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":1},{"body":"if gt left right\nv = left\nend\nret v\nend\n","grade":0},{"body":"s = ulong 0\nfor i ulong count\ns = xor s get items i\nend\nret s\nend\n","grade":2},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor k ulong count\ntotal = add total get items k\nend\nret total\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\ns = add s get data i\nend\nret s\nend\n","grade":2},{"body":"total = ulong 0\nfor j ulong count\nif eq get items i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor k ulong count\nif eq get items k 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":2},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":0},{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":1},{"body":"ret add left right\nend\n","grade":1},{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":1},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":1},{"body":"total = ulong 0\nfor k ulong count\ntotal = add total get items k\nend\nret total\nend\n","grade":1},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"s = ulong 0\nfor i ulong count\nif eq get items i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":1},{"body":"total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0}],"earlier":[{"body":"ret add a b\nend\n","grade":2},{"body":"ret mul a b\nend\n","grade":2},{"body":"if lt a b\nret a\nend\nret b\nend\n","grade":2},{"body":"if gt a b\nret a\nend\nret b\nend\n","grade":2},{"body":"ret or a b\nend\n","grade":2},{"body":"ret and a b\nend\n","grade":2},{"body":"ret a\nend\n","grade":2},{"body":"ret b\nend\n","grade":2},{"body":"ret add a b\nend\n","grade":2},{"body":"ret add a b\nend\n","grade":2},{"body":"if gt a b\nret a\nend\nret b\nend\n","grade":1},{"body":"ret mul a b\nend\n","grade":2},{"body":"if lt a b\nret a\nend\nret b\nend\n","grade":2},{"body":"if lt a b\nret a\nend\nret b\nend\n","grade":2},{"body":"if lt a b\nret a\nend\nret b\nend\n","grade":1},{"body":"if gt a b\nret a\nend\nret b\nend\n","grade":2},{"body":"ret or a b\nend\n","grade":2},{"body":"ret add a b\nend\n","grade":1},{"body":"ret and a b\nend\n","grade":2},{"body":"ret add a b\nend\n","grade":1},{"body":"ret a\nend\n","grade":2},{"body":"ret a\nend\n","grade":2},{"body":"ret b\nend\n","grade":2},{"body":"v = b\nif gt a b\nv = a\nend\nret v\nend\n","grade":1},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"if gt x y\nret add get a b\nend\nret add a b\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"v = v2\nif lt u v2\nv = u\nend\nret v\nend\n","grade":0},{"body":"v = v2\nif lt u v2\nv = u\nend\nret add v 7\nend\n","grade":0},{"body":"v = y\nif gt x y\nv = x\nend\nret v\nend\n","grade":0},{"body":"v = v2\nif gt u v2\nv = u\nend\nret add v 7\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = add total get a i\nend\nret total\nend\n","grade":0},{"body":"v = y\nif gt get items i s\ns = get items i\nend\nend\nret s\nend\n","grade":0},{"body":"v = v2\nif gt u v2\nv = u\nend\nret and v 15\nend\n","grade":0},{"body":"v = y\nif lt x y\nv = x\nend\nret xor v 3\nend\n","grade":0},{"body":"v = y\nif lt x y\nv = x\nend\nret xor v 15\nend\n","grade":0},{"body":"ret xor xor x y 3\nend\n","grade":0},{"body":"ret xor xor x y 15\nend\n","grade":0},{"body":"ret mul xor x y 3\nend\n","grade":0},{"body":"ret mul or 15\nend\n","grade":0},{"body":"total = ulong 0\nfor j ulong count\ntotal = add total get buf j\nend\nret total\nend\n","grade":0},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"if gt a b\nret a\nend\nret b\nend\n","grade":1},{"body":"if gt a b\nv = a\nend\nret v\nend\n","grade":0},{"body":"if lt a b\nret sub b a\nend\nret sub a b\nend\n","grade":1},{"body":"ret mul a b\nend\n","grade":1},{"body":"s = ulong 0\nfor i ulong n\ns = add s get a i\nend\nret s\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\ns = add s get data i\nend\nret s\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong count\nif gt get buf j 0\ns = get buf j i\nend\nend\nret s\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\ns = xor s get data i\nend\nret s\nend\n","grade":2},{"body":"total = ulong 0\nfor j ulong count\ntotal = xor total get buf j\nend\nret total\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\nif gt get a i s\ns = get a i\nend\nend\nret s\nend\n","grade":1},{"body":"s = ulong 0\nfor i ulong n\ns = add s get data i\nend\nret s\nend\n","grade":1},{"body":"s = ulong 0\nfor i ulong count\ns = add s get buf j i\nend\nret s\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\nif eq get data i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":2},{"body":"total = ulong 0\nfor j ulong count\nif eq get buf j 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":2},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":2},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":0},{"body":"for j ulong count\nput buf j add get buf j 1\nend\nend\n","grade":2},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":1},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":0},{"body":"for j ulong count\nput buf j add get buf j 1\nend\nend\n","grade":1},{"body":"for i ulong n\nput a i 0\nend\nend\n","grade":2},{"body":"for i ulong n\nput a i add get a i 1\nend\nend\n","grade":0},{"body":"for j ulong count\nput buf j 0\nend\nend\n","grade":2}]},"starting":{"fresh":[{"body":"v = y\nif lt x y\nv = x\nend\nret v\nend\n","grade":1},{"body":"ret right\nend\n","grade":1},{"body":"ret add y 2\nend\n","grade":1},{"body":"ret right\nend\n","grade":1},{"body":"ret add x y\nend\n","grade":1},{"body":"if lt left right\nv = left\nend\nret v\nend\n","grade":0},{"body":"ret add y 1\nend\n","grade":1},{"body":"v = right\nif gt left right\nv = left\nend\nret v\nend\n","grade":2},{"body":"total = ulong 0\nfor j ulong count\ntotal = xor total get buf j\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor k ulong count\ntotal = add total get items k\nend\nret total\nend\n","grade":2},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor k ulong length\ntotal = xor total get items k\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor k ulong count\nif eq get items k 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":2},{"body":"total = ulong 0\nfor i ulong n\nif eq get a i 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0},{"body":"ret add x y\nend\n","grade":1},{"body":"ret add xor left right 3\nend\n","grade":1},{"body":"v = y\nif lt x y\nv = x\nend\nret v\nend\n","grade":1},{"body":"ret left\nend\n","grade":1},{"body":"total = ulong 0\nfor k ulong count\ntotal = add total get items k\nend\nret total\nend\n","grade":1},{"body":"total = ulong 0\nfor i ulong n\ntotal = or total get a i\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor k ulong count\nif eq get buf j 0\ntotal = add total 1\nend\nend\nret total\nend\n","grade":0},{"body":"total = ulong 0\nfor i ulong n\ntotal = xor total get a i\nend\nret total\nend\n","grade":0}]},"focused":{"fresh":[{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":2},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":2},{"body":"ret add x y\nend\n","grade":2},{"body":"ret add left right\nend\n","grade":2},{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":1},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":1},{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":1},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":1},{"body":"s = ulong 0\nfor i ulong count\ns = xor s get items i\nend\nret s\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\ns = xor s get a i\nend\nret s\nend\n","grade":0},{"body":"s = ulong 0\nfor i ulong count\ns = add s get items i\nend\nret s\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\ns = add s get a i\nend\nret s\nend\n","grade":0},{"body":"s = ulong 0\nfor i ulong count\nif gt get items i s\ns = get items i\nend\nend\nret s\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\nif eq get a i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":0},{"body":"s = ulong 0\nfor i ulong count\nif eq get items i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":2},{"body":"s = ulong 0\nfor i ulong n\nif eq get a i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":0},{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":1},{"body":"ret add left right\nend\n","grade":1},{"body":"if lt x y\nret sub y x\nend\nret sub x y\nend\n","grade":1},{"body":"if lt left right\nret sub right left\nend\nret sub left right\nend\n","grade":1},{"body":"s = ulong 0\nfor i ulong count\ns = add s get items i\nend\nret s\nend\n","grade":1},{"body":"s = ulong 0\nfor i ulong n\ns = add s get a i\nend\nret s\nend\n","grade":0},{"body":"s = ulong 0\nfor i ulong count\nif eq get items i 0\ns = add s 1\nend\nend\nret s\nend\n","grade":1},{"body":"s = ulong 0\nfor i ulong n\ns = add s get a i\nend\nret s\nend\n","grade":0}]}} train/omega-llm/tools/contrast/run-01/scores.tsv new file mode 100644 @@ -0,0 +1,33 @@ 1 +model panel count compiled correct 2 +starting familiar 16 9 3 3 +starting composition 8 5 0 4 +starting fresh 24 14 3 5 +focused familiar 16 12 8 6 +focused composition 8 6 0 7 +focused fresh 24 18 8 8 +prior-chain familiar 16 12 5 9 +prior-chain composition 8 6 0 10 +prior-chain fresh 24 18 5 11 +parent familiar 16 8 5 12 +parent composition 8 6 0 13 +parent fresh 24 14 5 14 +parent earlier 79 45 28 15 +control familiar 16 9 7 16 +control composition 8 5 0 17 +control fresh 24 14 7 18 +control earlier 79 47 30 19 +treatment familiar 16 9 5 20 +treatment composition 8 7 0 21 +treatment fresh 24 16 5 22 +treatment earlier 79 45 30 23 +mean familiar 16 10 6 24 +mean composition 8 6 0 25 +mean fresh 24 16 6 26 +mean earlier 79 46 31 27 +selected-compile familiar 16 12 8 28 +selected-compile composition 8 7 0 29 +selected-compile fresh 24 19 8 30 +selected-example familiar 16 9 9 31 +selected-example composition 8 0 0 32 +selected-example fresh 24 9 9 33 +selected-compile earlier 79 48 29 train/omega-llm/tools/contrast/run-01/selected-compile.choices new file mode 100644 @@ -0,0 +1,24 @@ 1 +0 1 2 +1 1 3 +2 1 4 +3 1 5 +4 1 6 +5 1 7 +6 3 8 +7 0 9 +8 2 10 +9 0 11 +10 1 12 +11 1 13 +12 2 14 +13 0 15 +14 0 16 +15 3 17 +16 1 18 +17 1 19 +18 1 20 +19 1 21 +20 1 22 +21 0 23 +22 1 24 +23 3 train/omega-llm/tools/contrast/run-01/selected-compile.grades new file mode 100644 @@ -0,0 +1,24 @@ 1 +0 2 2 +1 2 3 +2 2 4 +3 1 5 +4 1 6 +5 1 7 +6 1 8 +7 0 9 +8 2 10 +9 0 11 +10 2 12 +11 2 13 +12 2 14 +13 0 15 +14 0 16 +15 2 17 +16 1 18 +17 1 19 +18 1 20 +19 1 21 +20 1 22 +21 0 23 +22 1 24 +23 1 train/omega-llm/tools/contrast/run-01/selected-example.choices new file mode 100644 @@ -0,0 +1,24 @@ 1 +0 1 2 +1 1 3 +2 1 4 +3 3 5 +4 0 6 +5 0 7 +6 0 8 +7 0 9 +8 2 10 +9 0 11 +10 1 12 +11 1 13 +12 2 14 +13 0 15 +14 0 16 +15 3 17 +16 0 18 +17 0 19 +18 0 20 +19 0 21 +20 0 22 +21 0 23 +22 0 24 +23 0 train/omega-llm/tools/contrast/run-01/selected-example.grades new file mode 100644 @@ -0,0 +1,24 @@ 1 +0 2 2 +1 2 3 +2 2 4 +3 2 5 +4 0 6 +5 0 7 +6 0 8 +7 0 9 +8 2 10 +9 0 11 +10 2 12 +11 2 13 +12 2 14 +13 0 15 +14 0 16 +15 2 17 +16 0 18 +17 0 19 +18 0 20 +19 0 21 +20 0 22 +21 0 23 +22 0 24 +23 0 train/omega-llm/tools/contrast/select.om new file mode 100644 @@ -0,0 +1,87 @@ 1 +note select EXAMPLE_PANEL OMC FIRST_DIR SECOND_DIR THIRD_DIR [compile]. Each directory contains answer-N. 2 +note Use a fresh working directory. Selected function bodies are written as answer-N for independent grading. 3 +text slash "/" 4 +text compilearg "compile" 5 +fn copyanswer a ulong j ulong to void 6 +wdpclr 7 +wdpa a 8 +wdpt slash 9 +wdpt outname 10 +wdpd j 11 +fi = wdopen 0 0 12 +if lt fi 0 13 +exit 74 14 +end 15 +pathfor j 16 +fo = wdopen 577 384 17 +if lt fo 0 18 +exit 74 19 +end 20 +wdcopyfd fi fo 21 +ca = fclose fi 22 +cb = fclose fo 23 +end 24 +fn choose src view uchar 262144 tape view uint 262144 obj ulong j ulong to ulong 25 +for k ulong 3 26 +copyanswer add k 3 j 27 +grade = testrow src tape obj j 28 +if or eq grade 2 and eq argcnt 7 eq grade 1 29 +ret add k 1 30 +end 31 +end 32 +pathfor j 33 +empty = wdopen 577 384 34 +if lt empty 0 35 +exit 74 36 +end 37 +cl = fclose empty 38 +ret 0 39 +end 40 +fn main to int 41 +if and ne argcnt 6 ne argcnt 7 42 +ret 2 43 +end 44 +if eq argcnt 7 45 +if not argis 6 compilearg 46 +ret 2 47 +end 48 +end 49 +src = new uchar 262144 0 50 +tape = new uint 262144 0 51 +wdpclr 52 +wdpa 1 53 +fd = wdopen 0 0 54 +if lt fd 0 55 +ret 70 56 +end 57 +n = read fd src 0 len src 58 +cl = fclose fd 59 +if or lt n 1 eq n long len src 60 +ret 72 61 +end 62 +if lt js_init tape 262144 128 0 63 +ret 72 64 +end 65 +if lt js_parse src tape ulong n 0 66 +ret 72 67 +end 68 +if ne js_type tape 0 jsarr 69 +ret 72 70 +end 71 +obj = js_first tape 0 72 +j = ulong 0 73 +while ne obj jsnone bound `4294967295` 74 +chosen = choose src tape obj j 75 +wdod j 76 +wdot sep 77 +wdod chosen 78 +wdot lf 79 +wdoflush 1 80 +j = add j 1 81 +obj = js_enext tape obj 82 +end 83 +if eq j 0 84 +ret 72 85 +end 86 +ret 0 87 +end train/omega-llm/tools/contrast/with-example.om new file mode 100644 @@ -0,0 +1,65 @@ 1 +note with-example PROMPT OMC SAMPLER MERGES EXAMPLE_MAIN CK [CK ...] 2 +note EXAMPLE_MAIN defines a seeded main that returns 77 for success. Use a fresh working directory. 3 +text genfile "sample.raw" 4 +text okmsg "accepted checkpoint " 5 +text none "no generated answer passed the example\n" 6 +fn draw p view uchar * j ulong a edit uchar * to ulong 7 +fd = fdesc genfile 577 8 +wdkclr 9 +wdka 3 10 +wdkt samplecmd 11 +wdka add 6 j 12 +wdkt seedval 13 +wdkt limitval 14 +wdkt tempval 15 +wdkt p 16 +wdka 4 17 +rc = wdwait wdspawn -1 fd -1 18 +cl = fclose fd 19 +if ne rc 0 20 +exit 73 21 +end 22 +ret pickread fdesc genfile 0 a 23 +end 24 +fn accepted p view uchar 4096 a view uchar * n ulong c view uchar 65536 to bool 25 +for i ulong n 26 +if terminates part a 0 n i 27 +if eq compile p part a 0 add i 1 c 0 28 +r = strict 29 +if or eq r 125 eq r 126 30 +exit 70 31 +end 32 +if eq r 77 33 +wdwrall 1 a add i 1 34 +wdwrall 1 lf 1 35 +ret true 36 +end 37 +break 38 +end 39 +end 40 +end 41 +ret false 42 +end 43 +fn main to int 44 +if lt argcnt 7 45 +ret 2 46 +end 47 +p = new uchar 4096 0 48 +a = new uchar 8192 0 49 +c = new uchar 65536 0 50 +pn = pickload 1 p 51 +put lengths 0 pn 52 +put lengths 2 pickload 5 c 53 +for j ulong sub ulong argcnt 6 54 +n = draw part p 0 pn j a 55 +if accepted p a n c 56 +wdot okmsg 57 +wdod add j 1 58 +wdot lf 59 +wdoflush 2 60 +ret 0 61 +end 62 +end 63 +wdwrall 2 none len none 64 +ret 3 65 +end train/omega-llm/tools/wdrive/wtrain.om new file mode 100644 @@ -0,0 +1,206 @@ 1 +note SPDX-License-Identifier: AGPL-3.0-only 2 +note Compose after wbuild.om with its main renamed to wbmain. 3 +text ftusage "usage: wtrain cpu|gb10 OLLM BASE MERGES TRAIN_TEXT HELD_TEXT NEW_DIR STEPS LRMICRO WINDOWS\n" 4 +text ftgpu "gb10" 5 +text ftcpu "cpu" 6 +text ftlock "AIEN_GB10_LOCK_HELD" 7 +text ftwindow "SPARK_WINDOW" 8 +text ftneed "gb10 training requires an exclusive spark-window run\n" 9 +text ftoutfail "cannot create fresh run directory\n" 10 +text ftbad "invalid checkpoint or numeric argument\n" 11 +text fttrain "/train.tok" 12 +text ftheld "/held.tok" 13 +text ftck "/candidate.ck" 14 +text ftlog "/run.log" 15 +text ftencode "bpeenc" 16 +text fttune "tune" 17 +text fttr "train" 18 +text ftgtr "gtrainf" 19 +text ftev "eval" 20 +text ftgev "geval" 21 +text ftbase "baseline\n" 22 +text ftafter "candidate\n" 23 +text ftcomplete "TRAINING_COMPLETE\n" 24 + 25 +fn ftfail msg view uchar * code int to void 26 +wdwrall 2 msg len msg 27 +exit code 28 +end 29 +fn ftmatch i ulong word view uchar * to bool 30 +n = wdarg i 31 +if ne n len word 32 +ret false 33 +end 34 +for j ulong n 35 +if ne get wdab j get word j 36 +ret false 37 +end 38 +end 39 +ret true 40 +end 41 +fn ftpositive i ulong to void 42 +n = wdarg i 43 +v = ulong 0 44 +for j ulong n 45 +c = ulong get wdab j 46 +if or lt c 48 gt c 57 47 +ftfail ftbad 2 48 +end 49 +d = sub c 48 50 +if gt v div sub `18446744073709551615` d 10 51 +ftfail ftbad 2 52 +end 53 +v = add mul v 10 d 54 +end 55 +if eq v 0 56 +ftfail ftbad 2 57 +end 58 +end 59 +fn ftpath suffix view uchar * to void 60 +wdpclr 61 +wdpa 7 62 +wdpt suffix 63 +end 64 +fn ftpush suffix view uchar * to void 65 +ftpath suffix 66 +wdkp 67 +end 68 +fn ftstart cmd view uchar * to void 69 +wdkclr 70 +wdka 2 71 +wdkt cmd 72 +end 73 +fn ftrun fd int to void 74 +rc = wdwait wdspawn -1 fd fd 75 +if ne rc 0 76 +exit int rc 77 +end 78 +end 79 +fn ftvocab to ulong 80 +wdpclr 81 +wdpa 3 82 +fd = wdopen 0 0 83 +if lt fd 0 84 +ftfail ftbad 3 85 +end 86 +h = new uchar 16 0 87 +n = read fd h 0 16 88 +z = fclose fd 89 +if ne n 16 90 +ftfail ftbad 3 91 +end 92 +v = ulong 0 93 +for i ulong 8 94 +v = or v shl ulong get h add 8 i mul 8 i 95 +end 96 +ret v 97 +end 98 +fn ftdata src ulong suffix view uchar * vocab ulong logfd int to void 99 +if eq vocab 256 100 +wdpclr 101 +wdpa src 102 +fi = wdopen 0 0 103 +ftpath suffix 104 +fo = wdopen 193 384 105 +if or lt fi 0 lt fo 0 106 +exit 70 107 +end 108 +wdcopyfd fi fo 109 +c1 = fclose fi 110 +c2 = fclose fo 111 +if or ne c1 0 ne c2 0 112 +exit 70 113 +end 114 +else 115 +ftstart ftencode 116 +wdka 4 117 +wdpclr 118 +wdpd vocab 119 +wdkp 120 +wdka src 121 +ftpush suffix 122 +ftrun logfd 123 +end 124 +end 125 +fn ftmeasure gpu bool trained bool vocab ulong fd int to void 126 +if gpu 127 +ftstart ftgev 128 +else 129 +ftstart ftev 130 +end 131 +if trained 132 +wdwrall fd ftafter len ftafter 133 +ftpush ftck 134 +else 135 +wdwrall fd ftbase len ftbase 136 +wdka 3 137 +end 138 +ftpush ftheld 139 +wdka 10 140 +if gt vocab 256 141 +wdka 4 142 +end 143 +ftrun fd 144 +end 145 +fn main to int 146 +if ne argcnt 11 147 +ftfail ftusage 2 148 +end 149 +gpu = ftmatch 1 ftgpu 150 +if and not gpu not ftmatch 1 ftcpu 151 +ftfail ftusage 2 152 +end 153 +if gpu 154 +if not wdenv ftlock 155 +ftfail ftneed 3 156 +end 157 +if or ne get wdvn 0 1 ne get wdv 0 49 158 +ftfail ftneed 3 159 +end 160 +if not wdenv ftwindow 161 +ftfail ftneed 3 162 +end 163 +end 164 +ftpositive 8 165 +ftpositive 9 166 +ftpositive 10 167 +v = ftvocab 168 +wdpclr 169 +wdpa 7 170 +r = makedir wdp 0 get wdpn 0 448 171 +if ne r 0 172 +ftfail ftoutfail 3 173 +end 174 +ftpath ftlog 175 +fd = wdopen 193 384 176 +if lt fd 0 177 +exit 70 178 +end 179 +ftdata 5 fttrain v fd 180 +ftdata 6 ftheld v fd 181 +ftmeasure gpu false v fd 182 +ftstart fttune 183 +wdka 3 184 +ftpush ftck 185 +wdka 8 186 +wdka 9 187 +ftrun fd 188 +if gpu 189 +ftstart ftgtr 190 +else 191 +ftstart fttr 192 +end 193 +ftpush ftck 194 +ftpush fttrain 195 +wdka 8 196 +wdka 8 197 +ftrun fd 198 +ftmeasure gpu true v fd 199 +wdwrall fd ftcomplete len ftcomplete 200 +z = fclose fd 201 +if ne z 0 202 +exit 70 203 +end 204 +wdwrall 1 ftcomplete len ftcomplete 205 +ret 0 206 +end