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
| 1 | # Reviewing CUDApp changes |
| 2 | |
| 3 | **Status:** The owners file is `.github/CODEOWNERS` (2026-11-02). `@drakestapleton` is the only owner. |
| 4 | The GPU-core and IP-review team handles were removed because GitHub reported them as unknown owners. |
| 5 | They can be re-added once those teams are created with write access. Section 1 binds every pull request. |
| 6 | Section 2 is the review for the paths in that file. GitHub enforces it only when the default-branch |
| 7 | ruleset requires one approval and code-owner review. That ruleset is Drake's decision and is not changed here. |
| 8 | |
| 9 | ## 1. Every pull request |
| 10 | |
| 11 | 1. **Draft first.** Open as a draft. No `Signed-off-by:` line is required (Drake declined DCO sign-off). |
| 12 | 2. **Evidence on the exact head.** Fill in `.github/PULL_REQUEST_TEMPLATE.md`. Each gate is PASS, FAIL or |
| 13 | NOT RUN with a reason. A gate that was not run is not a pass. |
| 14 | 3. **Fresh-clone re-run.** Before review is requested, the gates are re-run from a fresh clone at the |
| 15 | exact head commit and the receipt path is posted on the PR. |
| 16 | 4. **Non-author approval.** Someone other than the author approves. Nobody merges their own PR. |
| 17 | 5. **Merge on the reviewed head only:** `gh pr merge --match-head-commit <sha>`. |
| 18 | 6. **Words.** Evidence levels are PROPOSED, IMPLEMENTED, EXERCISED, QUALIFIED, MERGED, DEPLOYED and are |
| 19 | not interchangeable. Host or emulator results are not hardware qualification. Inferences are marked |
| 20 | `[INFERENCE]`. Public wording comes from the verified claims ledger with its limit clause. |
| 21 | |
| 22 | ## 2. Core paths |
| 23 | |
| 24 | A PR touching a path listed in `.github/CODEOWNERS` also needs **one approving review from |
| 25 | @drakestapleton**, in addition to section 1. The GPU-core and IP-review teams are not owners. |
| 26 | They can be re-added once those teams are created with write access. Until then the checklists below |
| 27 | are the review he applies to those paths: |
| 28 | |
| 29 | | Group | Paths | Reviewer checks | |
| 30 | |---|---|---| |
| 31 | | GPU core | encoders, QMD and code objects, driver client, submission, session and command list, the future `backend/` tree, the public ABI manifest | see 2.1 | |
| 32 | | IP review | `THIRD_PARTY.md`, `LICENSE`, `NOTICE`, licence and provenance docs | see 2.2 | |
| 33 | |
| 34 | ### 2.1 GPU core checklist |
| 35 | |
| 36 | - **Encoding provenance.** Every new or changed instruction field, QMD field or method value cites |
| 37 | either a Mesa NAK source line (MIT, `THIRD_PARTY.md` §2) or a chip test in this repo that measures it. |
| 38 | NVIDIA compiler output (nvcc, ptxas, cubins) is not a source for fields changed after activation. The |
| 39 | existing encoder was built with nvcc and cuobjdump as offline oracles and follows nvcc where it and NAK |
| 40 | disagree (`docs/HOW_I_DID_IT.md`, steps 1-2); those fields keep that record until each gets a NAK |
| 41 | citation or a chip test. `nvdisasm` may be used only as a |
| 42 | read-only checker of words I produced. |
| 43 | - **No material from omega-mv #864.** Nothing derived from `seed/sm80/cubin.om` (branch `ck/cubin-om` at `76639738`, closed unmerged 2026-10-27) enters this repository. See `docs/CUBIN_WRITERS.md`. |
| 44 | - **Negative control.** A deliberately broken kernel or input is refused or detected by the change's own |
| 45 | test. |
| 46 | - **Cache and coherence.** Anything the CPU polls for a GPU write is GPU-uncached; flush and invalidate |
| 47 | calls match the direction of each transfer. |
| 48 | - **Fault behaviour.** Timeouts and faults are returned as results, not hangs; the queue is usable or |
| 49 | reported lost afterwards. |
| 50 | - **ABI.** A change to a STABLE manifest entry is a MAJOR bump; EXPERIMENTAL entries are versioned |
| 51 | before they change. |
| 52 | - **Language rule.** New host-runtime code and new backends are `.om`. New C carries a named |
| 53 | missing Omega feature, a filed extension proposal, and a `migration-pending` build switch. |
| 54 | - **Hardware claims.** A GB10 result cites its receipt (commit, machine, driver 580.173.02, command, |
| 55 | exit code). Without one the result is NOT RUN. |
| 56 | |
| 57 | ### 2.2 IP review checklist |
| 58 | |
| 59 | - Third-party material is listed with licence and exact source; nothing is copied where only facts are |
| 60 | cited. |
| 61 | - No vendor binaries, firmware or headers whose licence forbids redistribution. |
| 62 | - Licence changes are Drake's decision and are never bundled with code changes. |
| 63 | |
| 64 | ## 3. Enforcement |
| 65 | |
| 66 | GitHub enforces section 2 only through a ruleset that requires one approval and code-owner review on |
| 67 | the default branch. Changing rulesets is Drake's decision. The owners file is `.github/CODEOWNERS`. |
| 68 | Until that ruleset is in place, section 2 is followed by convention. |