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 / tests / regalloc_om / CHIP.md
| 1 | # Core allocator and matmul chip qualification |
| 2 | |
| 3 | **NOT_RUN. No GPU window is authorized.** Host, mutation, and simulator results |
| 4 | are not hardware qualification. Do not access live RM, VFIO, NVIDIA devices, |
| 5 | service ports, modules, or the GB10 lock under the present assignment. |
| 6 | |
| 7 | 1. Integrator first adopts the fourteen portable units registered in |
| 8 | `om/units.sh` and listed in `om/codegen/REGALLOC.md`, and the exact-liveness |
| 9 | replay change. Freeze source, compiler and bridge revisions and the |
| 10 | `src/cudapp_om_*.ident` identities in a new receipt. Freestanding builds |
| 11 | still use the migration-pending C until the portable freestanding binding |
| 12 | covers these units. |
| 13 | 2. Run the lane's host gate (including the hazard and bind differentials), |
| 14 | nineteen semantic mutants, and signed-GE negative |
| 15 | control in the required device-free namespace: |
| 16 | |
| 17 | ```sh |
| 18 | bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 sh tests/regalloc_om/run.sh |
| 19 | bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 python3 tests/regalloc_om/mutants.py |
| 20 | bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 sh tests/regalloc_om/sim_ge.sh |
| 21 | ``` |
| 22 | 3. Obtain current explicit exclusive-window authorization through the current |
| 23 | Spark window procedure. Have the operator specify permitted device bindings |
| 24 | and service disposition. The existing minimal `/dev` wrapper intentionally |
| 25 | cannot run a chip test; do not remove it or add devices without that new |
| 26 | authorization. A free lock is not authorization. |
| 27 | 4. After that gate only, use the repository's `gpu_matmul_api_test` chip sweep, |
| 28 | documented at the top of `tests/gpu_matmul_api_test.c`, with a new `--out` |
| 29 | receipt. The `--host-only` mode is not a chip run. Under the newly authorized |
| 30 | device namespace, compare all five builder families to their existing CPU |
| 31 | reference, including K=16/32/64, scalar pressure refusals, fragment/block |
| 32 | layouts and partial tiles. Require retained C and Omega encoded digests to |
| 33 | match before launching either artifact. Hazard-check every launched kernel |
| 34 | with both the Omega checker and the `CUDAPP_MIGRATION_PENDING_C_HAZARD` |
| 35 | oracle, and require identical realization identities from the Omega and |
| 36 | `CUDAPP_MIGRATION_PENDING_C_BIND` binding paths. |
| 37 | 5. Run the existing `--mutant` negative control under the same authorization; |
| 38 | require a real detected output mismatch, not a missing-device refusal. |
| 39 | Stop on a driver fault or unexpected session state; never weaken the gate. |
| 40 | 6. Record exact commands, rc, revisions, shape corpus, expected/observed output, |
| 41 | digest equality, device state and negative-control outcome in a *new* |
| 42 | evidence directory. Report PASS/FAIL/INCONCLUSIVE/NOT_RUN separately for |
| 43 | hosted, freestanding and chip tiers. Integrator owns the integrated full |
| 44 | test gate. No merge or deployment follows from a chip result alone. |