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/blob/main/gpu/README.md # 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 / README.md` 51 lines ยท 5271 bytes Raw Blame History Rendered 1 # gpu: the GPU layer of Sovereign Intelligence (SI) 2 3 Drake named the combined stack Sovereign Intelligence (SI); Omega is its language and compiler. This 4 directory, "Omega GPU", holds SI's GPU back ends: code generators and object writers, driver-interface 5 data layers, launchers and the gates that check them. Everything here is seeded Omega (`.om`) built by 6 this repository's own compiler, `seed/out/omc`, plus the data tables those units read. 7 8 The GPU layer is moving here from CUDApp one piece at a time (aien-architecture-mv ADR 0047, accepted by 9 Drake on 2026-11-14). Only Omega moves in (Drake, 2026-11-14: "make sure it's pure omega when it's in 10 there"): a C, Python, shell or other file is rewritten in Omega first, or it stays in CUDApp and is listed 11 as not yet Omega. The AMD (`gpu/amd/`), NVIDIA (`gpu/nvidia/`), Intel Xe (`gpu/intel/`), SPIR-V (`gpu/spirv/`), hardware-manifest 12 (`gpu/hw/`), runtime-slice (`gpu/runtime/`), and extra pure-Omega driver/adapter/compute units are now here; 13 see [`gpu/UNITS.md`](UNITS.md) and [`gpu/nvidia/README.md`](nvidia/README.md) for what remains in CUDApp. 14 15 ## Layout 16 17 | Path | Contents | 18 | --- | --- | 19 | `gpu//` | Source: one directory per target or interface (`gpu/amd/gfx942/`, `gpu/amd/kfd/`). | 20 | `gpu//gate.om` | The back end's gate, in Omega. | 21 | `gpu//card.tsv` | The bytes the receipts record, written once from the receipts it names: what ran on hardware, and host-built references marked as such. | 22 | `gpu//import/` | How the back end came here: the filter-repo command and its commit map. | 23 | `gpu/targets.om` | The shared target table and code-object loader checks. | 24 | `gpu/driver/` | Pure-Omega GB10 VFIO/GSP GPU driver moved from `omega-gpu-driver` (``81b579e4c371``, 88 `.om` files; import record `gpu/import/omega-gpu-driver/`). | 25 | `gpu/cuda-crack/` | Pure-Omega sm_121 ISA table generator and reencoder moved from `cuda-crack` (``8efa1bb3f4cf``, 3 `.om` files; import record `gpu/import/cuda-crack/`). | 26 | `gpu/adapters/` | Pure-Omega hardware accelerator adapter and provider router (converted from `spark-adapters`, ``da269adf5ff1``, 3 `.om` files). | 27 | `gpu/head-to-head/` | Pure-Omega paired A/B GPU benchmark comparator and parity verifier (converted from `gpu-head-to-head`, ``48e331f2cf5e``, 3 `.om` files). | 28 | `gpu/forge/` | Pure-Omega FORGE hardware descriptor, envelope, provider and realization engine (converted from `physics-mv`, ``29039514eaf8``, 6 `.om` files). | 29 | `gpu/extra-units.tsv`, `gpu/extra-units-gate.om` | Compile-reproducibility gate (`OMEGA-GPU-EXTRA-UNITS`, 49 units) for `gpu/driver/`, `gpu/cuda-crack/`, `gpu/adapters/`, `gpu/head-to-head/`, `gpu/forge/`, `gpu/algebra/`, `gpu/checker2/`, `gpu/rx/`, `gpu/physics0/`, `gpu/turing/`, `gpu/nvidia/coder/`, `gpu/nvidia/moe-wide/`, `gpu/nvidia/compat/`, `gpu/nvidia/lib/`, `gpu/nvidia/tools/{c5,omtrace,prof,tilelab,sm121dis,doctor,dagsim}/`, `gpu/nvidia/driver/device.om`, and `gpu/qual/`, kept separate so `gpu/units.tsv` (405 units, `OMEGA-GPU-UNITS`) stays unchanged. | 30 | `gpu/qual/` | Pure-Omega physical hardware qualification kit (`x86linux_qual.om`, `non_nvidia_qual.om`, `qual_test.om`, `gate.sh`) for x86-64 Linux and non-NVIDIA GPUs (AMD KFD, Intel Xe, OpenCL/SPIR-V), strictly separating `EMULATED`/`HOST_TESTED` from physical hardware qualification (`BLOCKED_HARDWARE` when target hardware is absent). | 31 32 A moved back end keeps the history of its Omega files: `git log --follow gpu/amd/gfx942/hsaco.om` shows 33 its CUDApp commits. To find the new commit for a CUDApp commit, look it up in 34 `gpu//import/commit-map`. Receipts stay in CUDApp where they were written. 35 36 ## One compiler 37 38 Every unit here is built by `seed/out/omc`, and every gate refuses any other compiler before it builds 39 anything. The digest is read from `seed/out/omc.sha256`. No back end carries a compiler pin of its own. 40 41 ## Gates 42 43 - `tests/gates/run.sh gpu-amd` (manifest `tests/gates/omega-gpu-amd.gate`) builds and runs `gpu/amd/gate.om`. See `gpu/amd/README.md`. 44 - `tests/gates/run.sh gpu-units` (`OMEGA-GPU-UNITS`) builds and runs `gpu/units-gate.om` over the 405 units in `gpu/units.tsv`. See `gpu/UNITS.md`. 45 - `gpu/extra-units-gate.om` (`OMEGA-GPU-EXTRA-UNITS`) checks the 49 units in `gpu/extra-units.tsv`. 46 - `tests/gates/run.sh gpu-driver`, `gpu-runtime`, `gpu-checks`, and `gpu-amd-rest` run the corresponding Omega gates under `gpu/nvidia/driver/`, `gpu/runtime/`, `gpu/nvidia/checks/`, and `gpu/amd/rest/`. 47 - `OMC=seed/out/omc sh gpu/spirv/check.sh` runs pure-Omega SPIR-V validation (`val.om`), execution (`run.om`), mutant, and host-conform (`conform.om`) checks over `gpu/spirv/` (also run by `./uxl-run.sh`). 48 - `OMC=seed/out/omc sh gpu/intel/gate.sh` compiles and checks the pure-Omega Intel Xe2/Xe3 (Panther Lake) backend under `gpu/intel/` (`records.om`, `batch.om`, `isa.om`, `plan.om`, `launch.om`, 11-ioctl `drm/xe` kernel `-EBADF` selftest, and `x86linux` cross-compile). 49 - `OMC=seed/out/omc sh gpu/qual/gate.sh` compiles and runs the pure-Omega x86-64 Linux and non-NVIDIA GPU qualification kit (`gpu/qual/`). 50 51 Host results are never hardware qualification. A hardware result applies to a later revision only for the bytes that are still identical, and `card.tsv` says which bytes those are.