interplane.Get Omega
Read in your language

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

branch main Branches Tags History

CUDApp / evidence / C3-SCAN / README.md

18 lines · 4809 bytes Raw Blame History Source

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).

LogWhat it checksResult
01-host-onlybad 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 sumPASS, 133 checks
02-simthe 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 caughtPASS, 139 checks
03-chip-20261022-a7d6463bevery 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-f16b56a58the 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 GB10PASS (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-loadedpreliminary chip run from b2ed663 plus a harness patch, host load1 16 to 24PASS; superseded by the final-head row below
cudapp-20261027-7a43c9e/01-scan-fullfinal 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 reopenPASS (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-fullCUDApp#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 faultPASS (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.