Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/om/engine/CHIP.md # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / om / engine / CHIP.md` 60 lines · 3355 bytes Raw Blame History Rendered 1 # om/engine and om/qmd on the chip 2 3 Status: chip tier NOT_RUN. Every result for these units so far is host-only 4 (fake backends, the host simulator and the C-oracle differential). Host results 5 do not qualify the GB10. 6 7 ## What moved 8 9 `om/engine/eng.om` (unit `eng`, ABI `omega_eng(result, m[24], 24, w[16], 16)`, 10 `m[0]` = op 0..27) owns the branches of the engine phase machine, wait step, 11 job validation, memory reserve, cache rounding, serving bounds, poison match, 12 cleanup, lifecycle, requalify and visibility predicates, submit timeouts, the 13 M16 release header, the M16 wait failure class and the platform checks. 14 `om/qmd/bw_qmd.om` (unit `bw_qmd`) packs the Blackwell QMD and constant bank. 15 16 The C shells keep every side effect and its order: ioctls, MMIO reads, 17 doorbell writes, pushbuffer stores, clocks, allocation, free and channel calls. 18 They ask the unit what to do next and do it. 19 20 Each moved decision has a default-OFF switch that restores the C oracle: 21 `CUDAPP_MIGRATION_PENDING_C_` with PART one of ENGINE, WAIT, MEMRESV, 22 MEMCACHE, SERVING, M16NATIVE, M16WAIT, PLATFORM, SUBMIT, BWENGINE, REQUALIFY, 23 CONCURRENT, VISIBILITY, LIFECYCLE, plus `CUDAPP_MIGRATION_PENDING_QMD` for the 24 QMD packer. QMD now uses the same `bw_qmd.om` source in hosted and 25 `OMEGA_GPU_NO_POSIX` builds. The latter calls the checked caller-stack native 26 root `omega2_bw_qmd`; it no longer selects the C QMD body automatically. 27 Other engine parts retain their existing freestanding boundaries. 28 29 ## Why the host differential is not chip evidence 30 31 The differential (`make test-om-eng-diff`, 44584 records) proves the unit 32 returns the same decision as the C oracle for the same inputs. On the chip the 33 inputs come from real MMIO reads, real semaphore values and real clocks. The 34 timing interleavings a GPU produces (late progress, a marker that changes 35 between two polls, a release written after the visibility barrier) are only 36 modelled by the fake backends. 37 38 The M16 wait header (`m16/m16_gpu_wait.h`) used to say that physics code 39 cannot include Omega code. The M16 programs now link `src/cudapp_om_eng.c`. 40 A chip run is the first place that change meets the real driver. 41 42 ## Chip runs needed to qualify 43 44 Each needs an authorized exclusive GB10 window under the current procedure. 45 None of these was run for this change. 46 47 | Gate | Command | Shows | 48 |---|---|---| 49 | M16 requalification | `tests/run_m16_requalification.sh` | release header, withheld doorbell and requalify predicates against the real channel | 50 | NVRM lifecycle | `tests/run_nvrm_lifecycle_gates.sh` | churn floor `274877906944` B, high-water cap `2147483648` B, cleanup predicates | 51 | Submission visibility | `nvrm/submission_visibility_gates.c` (no run script) | visibility predicates | 52 | M16 concurrent | `m16/m16_concurrent` (built by the requalification script) | withheld, parity, cross-talk, final-page and root-collision decisions | 53 | Blackwell vector | `omega_blackwell_execute_vector` through the engine | phase machine, QMD packing and release words on sm_121 | 54 55 For each gate, the qualifying evidence is a pass in the default build and the 56 same pass with the matching `CUDAPP_MIGRATION_PENDING_C_` switch, plus a 57 red control (a deliberately wrong unit answer) that the gate rejects. 58 59 The four gate programs compile and link on the host with the default build 60 (compile only, nothing run).