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
CUDApp / evidence / TILELAB-20261028 / README.md
| 1 | # TILELAB 2026-10-28: native .om tile planner pick vs CUDA++ default, BF16 GEMM on GB10 |
| 2 | |
| 3 | These files are raw receipts, written by `tests/gpu_tilelab_test.c`. The test was built with: |
| 4 | `gcc -O2 -std=gnu11 -Wall -Isrc -ffp-contract=off tests/gpu_tilelab_test.c build/libomega_gpu.a -lpthread -lm`. |
| 5 | |
| 6 | | artifact | sha256 | |
| 7 | |---|---| |
| 8 | | measured binary (gcc line above) | ce89dde689057a2210033c86b683ef9d58d9f049f44ff18132890d27a8c0f5c6 | |
| 9 | | tests/gpu_tilelab_test.c | b09e0af86fd72a10d67154c6252ee7ebc420187495adec0d94baced245daec28 | |
| 10 | | build/libomega_gpu.a (CUDApp main 5b91c6a) | b6f9e5a9ee96bf10086af0d973549fe5b19a978998071b43751d0d02b2ffd4cd | |
| 11 | | planner: omega-mv seed/tilelab/tilelab.om (3f3b6ba71), compiled by omc 2c824805... | binary 4707a15eb3b35b508793936185873a9849b82a69ccfbac630f55d432e3b96959 | |
| 12 | |
| 13 | ## Arms |
| 14 | |
| 15 | - `default`: the existing CUDA++ configuration, `rt2 ct4 wm2 wn4 band8`. |
| 16 | - `plan`: `rt2 ct4 wm4 wn4 band8`, the configuration `tilelab 1 M N K` picks for every shape below. |
| 17 | - `t64x64`: `rt1 ct2 wm4 wn4 band8`, a fixed-tile control. |
| 18 | - `t64x128`: `rt1 ct4 wm4 wn4 band8`, a fixed-tile control. |
| 19 | |
| 20 | ## Correctness (all runs) |
| 21 | |
| 22 | - Every arm was checked against an f64 oracle, with 0 wrong elements and a worst err/bound of 0.018. |
| 23 | - The three chip mutants were caught with 4095 wrong each, and the rt=3 and wm=3 refusals held. |
| 24 | |
| 25 | ## 02: quiet A/B (the result) |
| 26 | |
| 27 | - Window `20261028T005158Z-c4bcea`: gb10 exclusive, quiet exclusive. |
| 28 | - The resident 35B was stopped for the run and restored afterwards (see BOARD.md, 2026-10-28T00:5xZ). |
| 29 | - 25 interleaved rounds per arm. |
| 30 | |
| 31 | Statistics are from Wolfram Language, via the hosted evaluator over direct MCP HTTP (not mounted in the measuring session). The test is `MannWhitneyTest[{default, plan}]`. |
| 32 | |
| 33 | | shape | default p50 ms | plan p50 ms | plan/default | p | |
| 34 | |---|---|---|---|---| |
| 35 | | 1024^3 | 0.2041 | 0.2041 | 1.000 | 0.65 | |
| 36 | | 4096^3 | 4.815 | 4.722 | 0.981 | 0.11 | |
| 37 | | 2048x8192x2048 | 2.753 | 2.955 | 1.073 | 5.6e-6 | |
| 38 | | 8192^3 | 31.89 | 27.20 | 0.853 | 1.3e-9 | |
| 39 | |
| 40 | - The planner pick is faster at 8192^3: the plan has an interquartile range of 26.9 to 27.5 ms, while the default is bimodal, with Q3 at 40.9 ms. |
| 41 | - It is slower at 2048x8192x2048. |
| 42 | - It shows no resolvable difference at 1024^3 or 4096^3. |
| 43 | - The planner's cost model counts bytes only, so it cannot see whatever makes `wm4` lose at 2048x8192x2048. That is a known model gap and is not hidden. |
| 44 | - The fixed-tile controls rank as the byte model predicts: plan, then t64x128, then t64x64. This holds at 3 of 4 shapes; at 2048x8192x2048, t64x64 beat t64x128. |
| 45 | |
| 46 | ## 01a/01b: smoke runs only, not an A/B |
| 47 | |
| 48 | - Window `20261028T004445Z-a319ce`: gb10 shared, quiet none. |
| 49 | - The 35B was serving during these runs (in_flight 1, GPU 96% busy). |
| 50 | - They are kept for correctness only. Do not read their timings as a result. |
| 51 | |
| 52 | ## Planner recalibration (sweep/ and holdout/) |
| 53 | |
| 54 | sweep/: 35 configs x 4 shapes, window 20261028T010515Z-053293; the fit is in omega-mv seed/tilelab/WOLFRAM.md. |
| 55 | holdout/: 29 configs x 3 shapes the fit never saw, window 20261028T013220Z-3ce2f0, 9 rounds, 0 wrong, 3/3 chip mutants caught per run. |
| 56 | |
| 57 | | held-out shape | best of 29 (p50 ms) | best of planner's 3 `measure` lines | default rt2 ct4 wm2 wn4 band8 | |
| 58 | |---|---|---|---| |
| 59 | | 3072^3 | wm4 wn4 band16 2.043 | 2.043 (1.000) | 2.245 (1.099x) | |
| 60 | | 4096x1024x4096 | wm4 wn4 band8 0.918 | 0.918 (1.000) | 1.124 (1.225x) | |
| 61 | | 1024x8192x8192 | wm4 wn4 band8 3.581 | 3.581 (1.000) | 3.721 (1.039x) | |
| 62 | |
| 63 | HOST_TESTED planner + EXERCISED on GB10 (single session, single chip). Not QUALIFIED. |