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/CUDApp/tree/main/evidence/C3-SCAN # CUDApp CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / evidence / C3-SCAN` `8822da4` evidence C3: chip receipts at `d884212` beside the live 35B (gemm 218 checks, 6 red checks caught; scan 8737 checks, 3 red checks caught) Drake Stapleton committed 2026-10-27 ``` .. cudapp-20261027-7a43c9e/ cudapp-20261027-d884212/ cudapp-20261027-loaded/ 01-host-only.log 228 02-sim.log 365 03-chip-20261022-a7d6463b.log 3861 04-chip-20261024-f16b56a58.log 4192 README.md 4809 ``` README.md # C3 receipt, part 1: sums, maximum, minimum and running totals of any length Row C3 of `docs/OMEGA.md` asks for reductions and prefix sums (running totals) over every length from 1 to 2^28, bit-exact against a host reference whose order of additions is frozen. The kernels come from Omega's own code generator (`src/omega_gpu_scan.c`), with no CUDA. The order is written down in `src/omega_gpu_scan.h`; the reduction order is the E1 contract (`docs/numeric/E1_REDUCTION_CONTRACT.md`). Log What it checks Result 01-host-only bad calls refused; all five kernels (and each planted fault) go through our code generator and encoder; the host reference gives exact answers on integer inputs and equals the E1 reduction reference bit for bit on mixed, signed-zero, NaN and infinite inputs; the frozen tree differs from a left-to-right sum PASS, 133 checks 02-sim the real kernels in the warp simulator, both scheduling orders, every length 1 to 70 and the tile, block and grid-stride edges up to 270,000; three planted faults (a skipped tree step, a skipped scan step, a carry from the wrong tile) each caught PASS, 139 checks 03-chip-`20261022`-`a7d6463b` every n from 1 to 2048, 2^k - 1, 2^k, 2^k + 1 up to 2^28, 64 random lengths, the three planted faults (that test reports a fault only when it is missed, so the log has no caught lines) PASS (8,665 checks), run 2026-10-22 07:03Z on `c3/gemm` `a7d6463b` (an older head, before this branch was rebased onto main `0d72560a`); the kernel generator and its order contract (`src/omega_gpu_scan.c`, `src/omega_gpu_scan.h`) are byte-identical between that head and the omega-mv tip; `tests/gpu_scan_test.c` was identical there but CUDApp#112 changes it (an exact-2^k finite-input case with verbose output for k >= 20, and printed red-check lines from `a641eae`), so this log is not from this PR's test; `src/omega_numeric.c` and `src/omega_numeric_reduce.c` differ only by the licence header main added; `tests/bw_warp_sim.h` gained main's warp visit-order knob (simulator only, no chip code); binary sha256 `c417f887` `28d2ee77`...; log recovered unpushed from the dead worker's worktree `omega-c5`-era sibling `omega-c3-scan` (durable copy `~/handoffs/evidence-L386-chip-20261022/`). Re-run on the train tip: row 04. 04-chip-`20261024`-`f16b56a58` the same chip battery (every n to 2048, 2^k - 1 / 2^k / 2^k + 1 to 2^28, 64 random lengths, three planted faults; again no caught lines in the log) on the GB10 PASS (8,665 checks), 2026-10-24 23:26Z on the L386 train tip `f16b56a58` (c3/gemm over this branch over main `0d72560a`), binary sha256 `3400c91e` `5d91d1a1`... (byte-identical to the omega-mv `c5cf3495b` build of the 01/02 logs; the CUDApp#112 binaries differ because its test differs), 39 s wall, spark-window 20261024T232617Z-b940cf (gb10 shared, value check), chip shared with the live 35B server on 18091 and two other /dev/nvidia0 holders. cudapp-`20261027`-loaded preliminary chip run from `b2ed663` plus a harness patch, host load1 16 to 24 PASS; superseded by the final-head row below cudapp-`20261027`-`7a43c9e`/01-scan-full final head of CUDApp#112 (`7a43c9e`, clean tree, built in the same hold, see `../C3-GEMM/cudapp-20261027-7a43c9e/00-build.log`, gpu_scan_test sha256 `eac61fd4` `d5ec09e4`...): every n from 1 to 2048, 2^k - 1 / 2^k / 2^k + 1 up to 2^28, 64 random lengths, the real kernels right after a device close and reopen PASS (8,737 checks, `C3 scan chip: PASS`, `## scan exit 0`), 2026-10-27 02:51:30Z, same hold as the gemm run; 35B on 18091 stopped (BOARD 01:12Z). Scan controls: NOT_RUN (not evidenced in log: this binary printed a red check only when a fault was missed, so the three planted faults left no line). `a641eae` now prints each caught red check; its chip rerun is queued until HeadToHead posts its final IDLE. cudapp-`20261027`-`d884212`/01-scan-full CUDApp#112 at `d884212` (c3/gemm-scan merged with main `c30c0be`, the carry chain), fresh clone, clean tracked tree, gpu_scan_test sha256 `a2ce8253cb3260f2`...: the same sweep as the `7a43c9e` row, now printing each caught planted fault PASS (8,737 checks, `C3 scan chip: PASS`, `## scan full exit 0`) and the three controls red: `chip red check: scan mutant 1/2/3 is caught`. 2026-10-27 06:44:44Z to 06:45:26Z under /tmp/aien-gb10.lock (TrainCarry2), BESIDE the live 35B on 18091 (health ok before and after; compute apps after: 79557 only), load1 7.5. Supersedes the NOT_RUN controls of the `7a43c9e` row. Command: `make test-gpu-scan` (host and simulator; `PHYSICS_DIR` must point at the physics checkout pinned in `physics.lock`). The chip run is `build/gpu_scan_test` with no flag, under the GB10 lock. 01 and 02 logs: 2026-10-24 23:10Z on this tip (`c5cf3495b`, binary sha256 `3400c91e` `5d91d1a1`...), host 133 checks, simulator 139 checks.