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/omega-mv/tree/main/gpu/nvidia # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / gpu / nvidia` `9e19f56` gpu: finish pure-Omega CUDApp driver/toolchain migration and add gpu/qual multi-target qualification kit Drake Stapleton committed 2026-11-22 ``` .. checks/ coder/ compat/ driver/ import/ lib/ moe-wide/ native/ om/ tools/ README.md 5050 ``` README.md # gpu/nvidia: the NVIDIA units of Omega GPU Omega GPU is the GPU layer of Sovereign Intelligence (SI), the stack Drake named, with Omega as its language and compiler. This directory holds its NVIDIA (sm_121, Blackwell, GB10) units. They are seeded Omega built by this repository's own `seed/out/omc`, and they come from CUDApp one piece at a time (aien-architecture-mv ADR 0047). Path What it is `om/encoder/bw_enc_sm121.om` The sm_121 encoder ng pins: a solved BlackwellIR program to machine code, four 32-bit words per instruction. `om/components/bw_alloc.om` The BlackwellIR builder and register allocator (native migration of `omega_bw_ir_append` and `regalloc_solve`). `om/cubin/cubin_elf.om` The cubin writer (the body of `omega_cubin_pack`). `native/blackwell/launch.om` The Blackwell launch unit (VECTOR_1D launch ABI). `native/nvrm/context.om` The nvrm context unit (NVIDIA driver client, ABI 580.173.02). `import/` How these came from CUDApp: the filter-repo command and its commit map. The table lists the five units step 2 brought. Step 3 brought the rest of CUDApp's `om/` tree to `gpu/nvidia/om/`; `gpu/UNITS.md` describes it and its gate. ## Where they came from These are exactly the five files `seed/ng/cudapp.lock` pins. Step 2 brought them at CUDApp `1988c50e93c4dd971bcb94e69692c8e57e53f54b`, with the history of those paths (27 CUDApp commits, `import/filter-repo-command.txt`). Old paths: `om/` became `gpu/nvidia/om/`, `native/` became `gpu/nvidia/native/`. On 2026-11-14 `bw_enc_sm121.om` and `cubin_elf.om`, and then in its own commit `launch.om`, were replaced by the bytes of CUDApp main `84b524cadaaa8bc9b556adfaea9d6dd2e0d67a66`; each commit names the CUDApp commits between, and that later history was not imported. `bw_alloc.om` and `context.om` are the same at both commits, so all five files are now `84b524ca`'s, the commit `seed/ng/cudapp.lock` names. Each file's sha256 equals its row there. This repository also has another copy of the encoder at the top level: `om/encoder/bw_enc_sm121.om`. The `Makefile`, `mk/om-encoder.mk` and `mk/omega-gpu-engine.mk` link that copy. The encoder Omega NG pins, and `seed/ng/cudapp.lock` hashes, is `gpu/nvidia/om/encoder/bw_enc_sm121.om`. Those are the two reasons they stay two files: the lock row, and ops 64..79, which only the pinned file encodes. Op 11 and op 21 were bugs in the linked file, now fixed to this file's words. Op 11 dropped the signed offset, so nvdisasm read `LDG.E R4, desc[UR4][R8.64]` instead of `LDG.E R4, desc[UR4][R8.64+0x40]` for imm 64. Op 21's word2 was `202250496`, which nvdisasm reads as `LDG.E.EF`; it is `203364608`, `LDG.E.MMIO.GPU`. `om/encoder/guard-gate.sh` checks the guard on both and exits nonzero while any other word on ops 0..63 still differs. ## The gate `seed/ng/gpu/gate.cases`, run by `seed/qualification/om2/gate.om` (see `seed/ng/gpu/README.md`), checks these bytes: the `lock-*` cases hash each file against its lock row, `enc-pin` pins the encoder's compiled bytes, and the fixture, refusal and mutant cases check the encoder's output. The move changed only the paths the cases read (`../CUDApp/` became `gpu/nvidia/`). The 2026-11-14 replacements changed the `lock-self`, `lock-bw_enc_sm121`, `lock-cubin_elf`, `lock-launch` and `enc-pin` digests and nothing else: every golden file, expected exit and mutant is unchanged, and all 18 cases pass with the new bytes. `enc-pin` is what this repository's `seed/out/omc` emits for the new encoder, an identity pin; the behaviour evidence is the fixture, refusal and mutant cases. The gate checks no behaviour of `launch.om`, only its identity. The rows of `seed/ng/cudapp.lock` still name the CUDApp paths. ## Not here yet - A behaviour check of `launch.om` here. CUDApp's is `tests/host-trace/run-host-trace.sh`: Omega checks with a fake device (`tests/host-trace/*.om`) composed by shell, including the batch path `native/blackwell/batch.om` and a mutant of `launch.om`. It has not moved. `launch.om` has not been run on the GPU from this repository. - Retiring `seed/ng/cudapp.lock`. Under ADR 0047 Decision 5 it is deleted with its last row. Here it stays as the identity table of the five files, because removing it changes the gate (`lock-self` and the `lock-*` rows). That is its own change. - The rest of CUDApp's NVIDIA pure-Omega layer is now here: steps 3 (`om/`) and 4 (`native/`), plus the post-`84b524ca` CUDApp `a4ffab1d` units (`coder/erc.om`, `moe-wide/*`), standalone `.om` tools and compat (`tools/{c5,omtrace,prof,tilelab}/`, `compat/cuda/c0_check.om`, `lib/{xorwow_mix,graph_aux}.om`), pure-Omega CLI replacements (`tools/{sm121dis,doctor,dagsim}/main.om`), and the pure-Omega Linux RM/UVM driver device backend (`driver/device.om`), all compile-gated by `gpu/extra-units.tsv` (49 units). The legacy C compatibility library in CUDApp `src/` stays upstream as the reference oracle until Omega emits C-callable shared/static libraries directly (`gpu/runtime/CLASSES.tsv`).