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 / tests / regalloc_om / CHIP.md

44 lines · 2922 bytes Raw Blame History Source

Core allocator and matmul chip qualification

NOT_RUN. No GPU window is authorized. Host, mutation, and simulator results are not hardware qualification. Do not access live RM, VFIO, NVIDIA devices, service ports, modules, or the GB10 lock under the present assignment.

  1. Integrator first adopts the fourteen portable units registered in om/units.sh and listed in om/codegen/REGALLOC.md, and the exact-liveness replay change. Freeze source, compiler and bridge revisions and the src/cudapp_om_*.ident identities in a new receipt. Freestanding builds still use the migration-pending C until the portable freestanding binding covers these units.
  2. Run the lane's host gate (including the hazard and bind differentials), nineteen semantic mutants, and signed-GE negative control in the required device-free namespace:
    bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 sh tests/regalloc_om/run.sh
    bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 python3 tests/regalloc_om/mutants.py
    bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 sh tests/regalloc_om/sim_ge.sh
    
  3. Obtain current explicit exclusive-window authorization through the current Spark window procedure. Have the operator specify permitted device bindings and service disposition. The existing minimal /dev wrapper intentionally cannot run a chip test; do not remove it or add devices without that new authorization. A free lock is not authorization.
  4. After that gate only, use the repository's gpu_matmul_api_test chip sweep, documented at the top of tests/gpu_matmul_api_test.c, with a new --out receipt. The --host-only mode is not a chip run. Under the newly authorized device namespace, compare all five builder families to their existing CPU reference, including K=16/32/64, scalar pressure refusals, fragment/block layouts and partial tiles. Require retained C and Omega encoded digests to match before launching either artifact. Hazard-check every launched kernel with both the Omega checker and the CUDAPP_MIGRATION_PENDING_C_HAZARD oracle, and require identical realization identities from the Omega and CUDAPP_MIGRATION_PENDING_C_BIND binding paths.
  5. Run the existing --mutant negative control under the same authorization; require a real detected output mismatch, not a missing-device refusal. Stop on a driver fault or unexpected session state; never weaken the gate.
  6. Record exact commands, rc, revisions, shape corpus, expected/observed output, digest equality, device state and negative-control outcome in a new evidence directory. Report PASS/FAIL/INCONCLUSIVE/NOT_RUN separately for hosted, freestanding and chip tiers. Integrator owns the integrated full test gate. No merge or deployment follows from a chip result alone.