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 / graph-residue-20261106 / runtime-adoption.md
| 1 | <!-- SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception --> |
| 2 | # Final bridge #73 adoption receipt |
| 3 | |
| 4 | The earlier receipt preserves the pre-adoption observations. This additive |
| 5 | receipt covers the final runtime-extent table implementation and final pins. |
| 6 | |
| 7 | - Compiler: frozen omega-mv e5b32567; omc SHA256 |
| 8 | 2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f. |
| 9 | - Bridge: draft #73, 79e8c3613a6f, pending #71 and #73 merge. |
| 10 | - toc.om SHA256 d84fd6ebd258170a023ed5235880cd3e1ca8664703a2542542a7f8d103120538. |
| 11 | - bridge-seeded SHA256 a3a455bd77381e132215924295763e8728889d7d578278ae376de78324be8629. |
| 12 | - Unchanged baseline bridge bootstrap seed SHA256 |
| 13 | 191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9; |
| 14 | this builds the converter, not the admitted CUDApp source validator. |
| 15 | - Pin-only commit: 756452c. Separate timeline-repair commit: 7eb4b77. |
| 16 | |
| 17 | `model_graph_table` now uses a bounded runtime `uint` view with the actual live |
| 18 | allocation count. It writes directly: no C chunk dispatch, scratch conversion |
| 19 | loop or widening allocation. The fixed declaration is the source-derived maximum, |
| 20 | not a requirement to pass the capacity as the length. Empty/null is admitted; |
| 21 | over-capacity, nonempty-null and result/view overlap refuse status 32 without |
| 22 | changing the result. Every legal gather layout is checked against independent C |
| 23 | formulas, including the maximum q=kv=24 case. |
| 24 | |
| 25 | WolframLanguageEvaluator: `(24+24)*512` -> `24576` elements. |
| 26 | |
| 27 | All executions below used this complete prefix: |
| 28 | |
| 29 | ``` |
| 30 | bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 |
| 31 | ``` |
| 32 | |
| 33 | Environment (home prefix normalized): |
| 34 | |
| 35 | ``` |
| 36 | OMEGA_OMC=~/work/cudastack/omega-mv/seed/out/omc |
| 37 | OMEGA_BRIDGE=~/work/cudastack/lanes/GraphsHello-bridge73 |
| 38 | OMEGA_SEED=~/work/cudastack/omega-bridge/build/bootstrap/omc |
| 39 | ``` |
| 40 | |
| 41 | Commands and observed results: |
| 42 | |
| 43 | 1. `make -j3 test-graph-residue-coverage test-graph-residue-mutants test-hello-sim test-gpu-decode-graph test-model-graphs-om test-model-graphs-warp test-model-graphs-nested test-gpu-moe-window`: rc0; final line `MODEL-GRAPHS mutants PASS killed=5 compiled=5`. See runtime-final.log. The expected mutant FAIL lines are red controls, not unhandled failures. |
| 44 | 2. `sh om/units.sh --check`: rc0; final line `PASS portable Omega units regenerate byte for byte`. See runtime-boundaries.log. |
| 45 | 3. `make -j3 test-graph-residue-coverage test-graph-residue-mutants`: rc0 after adding maximum-view and refusal cases; final line `PASS graph residue: 7 compiled semantic mutants killed`. See runtime-boundaries.log. gcov replaced an older checksum's accumulated profile during this run; no failure was suppressed. |
| 46 | 4. Remove only the two owned generated .gcda files, then `make -j3 test-graph-residue-coverage`: rc0, final line `Lines executed:62.01% of 437`. See runtime-fresh-coverage.log. This fresh run has no stale profile merge. Scalar oracle and hello simulator annotations are filed separately; coverage percentages are gcov measurements, not modeled values. |
| 47 | |
| 48 | PASS: host graph/decode admission, model list/plan differential and negative |
| 49 | controls, real nested recorder differential, warp simulation, hello simulation, |
| 50 | C-vs-Omega differential/red check, runtime-view refusals, seven compiled Omega |
| 51 | mutants, byte-identical regeneration, gcov collection. |
| 52 | |
| 53 | NOT_RUN: full integrated make test (Integrator3 owns it), chip, live RM, VFIO. |
| 54 | No GPU/device qualification, merge or deployment is claimed. Hosted runtime views |
| 55 | do not change any freestanding unit's profile. The chip runbook remains |
| 56 | examples/hello_gpu/README.md. |