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 / codegen_base / CHIP.md
| 1 | # Base codegen/common replay chip qualification |
| 2 | |
| 3 | **NOT_RUN. This assignment grants no GPU, live-RM or VFIO authority.** |
| 4 | No device, service, driver, boot target or GPU lock was changed by this lane. |
| 5 | Host byte equality, CPU simulation and the inherited freestanding C oracle |
| 6 | are not chip qualification. |
| 7 | |
| 8 | 1. Integrate this branch with #309 and the intended family/f64 branches. Keep |
| 9 | the single `omega_gpu_om_ir_replay` entry. If #312 is present, use its |
| 10 | `BW_IR_LAST` as `omega_cg_replay`'s maximum-op argument; do not allocate 79 |
| 11 | implicitly. Freeze source/compiler/bridge revisions and every generated |
| 12 | unit `.ident` in a new receipt. The base pin is omega-mv e5b32567 and |
| 13 | omc SHA-256 2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f. |
| 14 | 2. First run the host differential, five seeded-source mutants and existing |
| 15 | codegen tests from README.md in the exact device-hidden bwrap wrapper. |
| 16 | Require full SASS and cubin equality and require the one-bit red check to |
| 17 | fail because bytes differ, not because execution lacked a dependency. |
| 18 | 3. Obtain fresh explicit exclusive-window authorization under the current |
| 19 | Spark procedure. Confirm the exact allowed devices and service disposition |
| 20 | with the operator. The present `/dev`-hidden wrapper intentionally cannot |
| 21 | execute on hardware. Neither a free lock nor a previous receipt grants |
| 22 | permission to bind devices or stop a service. |
| 23 | 4. Only in that newly authorized environment, follow the existing |
| 24 | `tests/regalloc_om/CHIP.md` chip sweep using `gpu_matmul_api_test` and its |
| 25 | documented output option. Use a new receipt directory, not any historical |
| 26 | evidence. Exercise programs with loop-carried intervals, each instruction |
| 27 | family adopted in the integrated source, scalar/uniform pressure and |
| 28 | different padding boundaries. Before launch, independently encode the same |
| 29 | accepted IR with the default Omega path and the explicitly selected C |
| 30 | codegen/encoder oracles and require byte-identical SASS and cubin images. |
| 31 | Reject malformed opcode/operand/closure metadata before any launch. |
| 32 | 5. Require expected/observed output equality from the existing chip reference |
| 33 | and a real detected mutant mismatch. A missing-device refusal is NOT_RUN, |
| 34 | not a successful negative control. Stop on a device fault or unexpected |
| 35 | session state; do not clear alarms, reset a driver, or weaken any gate. |
| 36 | 6. Record the exact commands and rc, source/unit identities, hardware state, |
| 37 | input corpus, output and negative-control evidence. Report chip, live-RM |
| 38 | and VFIO separately from the already exercised host/simulator tiers. |
| 39 | Qualification does not authorize merge or deployment. |