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 / om / codegen / CHIP.md

59 lines · 3245 bytes Raw Blame History Rendered
1# CodegenRest chip qualification runbook
2
3**Current verdict: NOT_RUN. No GPU, live-RM, VFIO, or device window is authorized.**
4Host IR equivalence and warp simulation are not hardware qualification.
5Do not execute the prospective chip phase below under the present assignment.
6
7## Preconditions requiring a new operator decision
8
91. 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.
122. 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.
153. 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.
194. 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
26The hardware phase requires authorization that explicitly supersedes the
27current device-free-only test restriction. Main must choose the permitted
28device namespace and the existing window/ownership procedure; this runbook
29neither grants permission nor changes that procedure.
30
31Use binaries built from the default Omega configuration, not the C-oracle
32macros. 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
43Use each program's existing hardware numerical and refusal assertions. Include
44qg rt=8 to exercise the opt-in GPR limit, ordinary qg to exercise the unchanged
45default limit, and the existing numerical mutants. Record exact arguments,
46exit status, final line and produced receipts. Keep dtype/rounding and
47non-contracting IEEE oracle rules unchanged.
48
49## Stop and clean up
50
51Any timeout, numerical discrepancy, device-open failure, NVRM/Xid symptom,
52or ownership conflict stops qualification. Preserve the evidence and report
53FAIL or INCONCLUSIVE as appropriate. Never rerun by weakening a gate or
54changing a live service. Terminate only exact processes created by this
55qualification. Main owns window closure and any service restoration.
56
57Only passing newly authorized hardware evidence may change QUALIFIED from
58NOT_RUN. Neither this file nor a successful host tier changes MERGED or
59DEPLOYED status.