interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / gpu

f840a6e seed/build: migrate build, release, and automation coordinators to pure seeded OM-2 Drake Stapleton committed 2026-11-22
..
adapters/
algebra/
amd/
checker2/
cuda-crack/
driver/
forge/
head-to-head/
hw/
import/
intel/
nvidia/
physics0/
qual/
runtime/
rx/
spirv/
turing/
EXTRA-NOT-YET-OMEGA.tsv51981
README.md5271
UNITS.md6474
extra-units-gate.om15196
extra-units.tsv6586
targets.om19535
units-gate.om15115
units.tsv31904

README.md

gpu: the GPU layer of Sovereign Intelligence (SI)

Drake named the combined stack Sovereign Intelligence (SI); Omega is its language and compiler. This directory, "Omega GPU", holds SI's GPU back ends: code generators and object writers, driver-interface data layers, launchers and the gates that check them. Everything here is seeded Omega (.om) built by this repository's own compiler, seed/out/omc, plus the data tables those units read.

The GPU layer is moving here from CUDApp one piece at a time (aien-architecture-mv ADR 0047, accepted by Drake on 2026-11-14). Only Omega moves in (Drake, 2026-11-14: "make sure it's pure omega when it's in there"): a C, Python, shell or other file is rewritten in Omega first, or it stays in CUDApp and is listed as not yet Omega. The AMD (gpu/amd/), NVIDIA (gpu/nvidia/), Intel Xe (gpu/intel/), SPIR-V (gpu/spirv/), hardware-manifest (gpu/hw/), runtime-slice (gpu/runtime/), and extra pure-Omega driver/adapter/compute units are now here; see gpu/UNITS.md and gpu/nvidia/README.md for what remains in CUDApp.

Layout

PathContents
gpu/<vendor>/Source: one directory per target or interface (gpu/amd/gfx942/, gpu/amd/kfd/).
gpu/<vendor>/gate.omThe back end's gate, in Omega.
gpu/<vendor>/card.tsvThe bytes the receipts record, written once from the receipts it names: what ran on hardware, and host-built references marked as such.
gpu/<vendor>/import/How the back end came here: the filter-repo command and its commit map.
gpu/targets.omThe shared target table and code-object loader checks.
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/).
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/).
gpu/adapters/Pure-Omega hardware accelerator adapter and provider router (converted from spark-adapters, da269adf5ff1, 3 .om files).
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).
gpu/forge/Pure-Omega FORGE hardware descriptor, envelope, provider and realization engine (converted from physics-mv, 29039514eaf8, 6 .om files).
gpu/extra-units.tsv, gpu/extra-units-gate.omCompile-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.
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).

A moved back end keeps the history of its Omega files: git log --follow gpu/amd/gfx942/hsaco.om shows its CUDApp commits. To find the new commit for a CUDApp commit, look it up in gpu/<vendor>/import/commit-map. Receipts stay in CUDApp where they were written.

One compiler

Every unit here is built by seed/out/omc, and every gate refuses any other compiler before it builds anything. The digest is read from seed/out/omc.sha256. No back end carries a compiler pin of its own.

Gates

  • 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.
  • 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.
  • gpu/extra-units-gate.om (OMEGA-GPU-EXTRA-UNITS) checks the 49 units in gpu/extra-units.tsv.
  • 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/.
  • 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).
  • 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).
  • 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/).

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.