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 / nvidia / README.md

64 lines · 5050 bytes Raw Blame History Source

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).

PathWhat it is
om/encoder/bw_enc_sm121.omThe sm_121 encoder ng pins: a solved BlackwellIR program to machine code, four 32-bit words per instruction.
om/components/bw_alloc.omThe BlackwellIR builder and register allocator (native migration of omega_bw_ir_append and regalloc_solve).
om/cubin/cubin_elf.omThe cubin writer (the body of omega_cubin_pack).
native/blackwell/launch.omThe Blackwell launch unit (VECTOR_1D launch ABI).
native/nvrm/context.omThe 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