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 / om / codegen / CHIP.md
| 1 | # CodegenRest chip qualification runbook |
| 2 | |
| 3 | **Current verdict: NOT_RUN. No GPU, live-RM, VFIO, or device window is authorized.** |
| 4 | Host IR equivalence and warp simulation are not hardware qualification. |
| 5 | Do not execute the prospective chip phase below under the present assignment. |
| 6 | |
| 7 | ## Preconditions requiring a new operator decision |
| 8 | |
| 9 | 1. Obtain current, explicit authorization naming the exclusive GPU window, |
| 10 | exact executable revisions, device exposure, and rollback/cleanup owner. |
| 11 | The existence or absence of a lock is not authorization. |
| 12 | 2. Coordinate with Main/Integrator and the live-service owners. This lane must |
| 13 | not stop or alter services, ports 18091 or 18173–18178, PID 68451, the |
| 14 | omega-tool services, `/tmp/aien-gb10.lock`, driver modules, or VFIO state. |
| 15 | 3. Record the source commit, generated-unit identities, pinned omc SHA256, |
| 16 | compiler flags, simulator receipt, GPU/device identity and the operator's |
| 17 | current authorization in a **new** evidence directory. Never overwrite an |
| 18 | older receipt. |
| 19 | 4. Require passing device-free differential, negative-control, compiled-mutant, |
| 20 | host and warp-sim tiers first. Use the minimal `/dev` namespace in README.md |
| 21 | for every host-tier command. Missing-device failures in a purported host or |
| 22 | sim path are defects, not permission to expose the device. |
| 23 | |
| 24 | ## Prospective hardware matrix |
| 25 | |
| 26 | The hardware phase requires authorization that explicitly supersedes the |
| 27 | current device-free-only test restriction. Main must choose the permitted |
| 28 | device namespace and the existing window/ownership procedure; this runbook |
| 29 | neither grants permission nor changes that procedure. |
| 30 | |
| 31 | Use binaries built from the default Omega configuration, not the C-oracle |
| 32 | macros. The existing test entrypoints are: |
| 33 | |
| 34 | | Family | Executable | Hardware mode after new authorization | |
| 35 | | --- | --- | --- | |
| 36 | | attn256 | gpu_decode_attn256_test | neither --host-only nor --sim; --out a fresh JSON | |
| 37 | | pattn256 | gpu_prefill_attn256_test | neither --host-only nor --sim; --out a fresh JSON | |
| 38 | | router | gpu_router_test | neither --host-only nor --sim; --out a fresh JSON | |
| 39 | | gemm | gpu_fp8gemm_test | neither --host-only nor --sim; --out a fresh JSON | |
| 40 | | bf16 | gpu_bf16_gemv_test | neither --host-only nor --sim; --out a fresh JSON | |
| 41 | | pq/qg | gpu_qgemm_test | explicit --chip; preserve its existing shape selection | |
| 42 | |
| 43 | Use each program's existing hardware numerical and refusal assertions. Include |
| 44 | qg rt=8 to exercise the opt-in GPR limit, ordinary qg to exercise the unchanged |
| 45 | default limit, and the existing numerical mutants. Record exact arguments, |
| 46 | exit status, final line and produced receipts. Keep dtype/rounding and |
| 47 | non-contracting IEEE oracle rules unchanged. |
| 48 | |
| 49 | ## Stop and clean up |
| 50 | |
| 51 | Any timeout, numerical discrepancy, device-open failure, NVRM/Xid symptom, |
| 52 | or ownership conflict stops qualification. Preserve the evidence and report |
| 53 | FAIL or INCONCLUSIVE as appropriate. Never rerun by weakening a gate or |
| 54 | changing a live service. Terminate only exact processes created by this |
| 55 | qualification. Main owns window closure and any service restoration. |
| 56 | |
| 57 | Only passing newly authorized hardware evidence may change QUALIFIED from |
| 58 | NOT_RUN. Neither this file nor a successful host tier changes MERGED or |
| 59 | DEPLOYED status. |