interplane.Get Omega
Read in your language

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

GitHub aien-dev/CUDApp#150 (code only)

closed derived 3bf7f25fac1680b1 #150

Imported from GitHub aien-dev/CUDApp#150 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base cc0908bdc0a0377f2166e9328dcf1d985457e27f · Head fadadbb5ba70d7a58959f547f14242c3c1dff2ff

Fetch it

A git bundle of the pull request's head, 2078 bytes.

curl -fsSL https://interplane.io/drakestapleton/CUDApp/patches/3bf7f25fac1680b1.bundle -o 3bf7f25fac1680b1.bundle
git fetch 3bf7f25fac1680b1.bundle refs/pull/150/head

Raw bundle · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/CUDApp
150
fadadbb5ba70d7a58959f547f14242c3c1dff2ff
{"kind":"github-import","owner":"aien-dev","repo":"CUDApp","number":150,"url":"https://github.com/aien-dev/CUDApp/pull/150","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:38:49Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/README.md b/README.md
index 9849c620..411b498b 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@
 
 > **Licensing status:** This revision uses Apache-2.0 WITH LLVM-exception for first-party material. For the historical MIT version, use [`232332422bfdc31c8918085b50f13c1e18ab702e`](https://github.com/aien-dev/CUDApp/tree/232332422bfdc31c8918085b50f13c1e18ab702e). The old MIT grant and third-party notices are preserved. See [the transition and provenance audit](docs/LICENSING_TRANSITION.md).
 
-It runs on the NVIDIA GB10 (the DGX Spark, compute capability sm_121) today. On 2026-10-21 the model Aien serves on the Spark, Qwen3.6-35B-A3B (a mixture-of-experts model with about 3B parameters active per token), was served by the C GPU stack this repository was extracted from (the live build used the Omega repository's copy of these sources). The live server had only the C library, the maths library, `libgcc_s` and the loader mapped, and zero CUDA libraries (receipt in Omega: `evidence/WHAT-OMEGA-IS-20261021/live-serve-no-cuda.txt`). That stack is mostly C. Two pieces of it now run as code written in the Omega language: the sm_121 instruction encoder (`om/encoder/bw_enc_sm121.om`) and the cubin packer (`om/cubin/cubin_elf.om`), compiled by the pinned Omega compiler and linked through an omega-bridge binding. Their C bodies are out of the default build and kept only as differential oracles; the .om encoder is byte-identical to the C one on every kernel the test suite builds ([evidence](evidence/CUDAPP-OM-ENCODER/README.md), migration table in CUDApp#79). The rest (kernel builders, register allocation, runtime) is still C, and Omega programs compiled to the GPU by the Omega compiler itself is Omega bar C1, still BUILDING.
+It runs on the NVIDIA GB10 (the DGX Spark, compute capability sm_121) today. On 2026-10-21 the model Aien serves on the Spark, Qwen3.6-35B-A3B (a mixture-of-experts model with about 3B parameters active per token), was served by the C GPU stack this repository was extracted from (the live build used the Omega repository's copy of these sources). The live server had only the C library, the maths library, `libgcc_s` and the loader mapped, and zero CUDA libraries (receipt in Omega: `evidence/WHAT-OMEGA-IS-20261021/live-serve-no-cuda.txt`). That stack is mostly C. Two pieces of it now run as code written in the Omega language: the sm_121 instruction encoder (`om/encoder/bw_enc_sm121.om`) and the cubin packer (`om/cubin/cubin_elf.om`), compiled by the pinned Omega compiler and linked through an omega-bridge binding. Their C bodies are out of the default build and kept only as differential oracles; the .om encoder is byte-identical to the C one on every kernel the test suite builds ([evidence](evidence/CUDAPP-OM-ENCODER/README.md), migration table in CUDApp#79). The rest (kernel builders, register allocation, runtime) is still C. Omega programs compiled to the GPU by the Omega compiler itself is Omega bar C1. As of 2026-10-29 it is EXERCISED on the GB10 but in draft PRs only, not merged: kernels written in Omegese ran on the chip with 645 checks and 0 failed ([omega-mv#885](https://github.com/aien-dev/omega-mv/pull/885)), with their lowering also written in seeded `.om`, and the 35B decode gate swapped for its Omegese version gave the golden tokens on a test server ([omega-mv#886](https://github.com/aien-dev/omega-mv/pull/886)). Both pull requests were still open drafts on 2026-10-29. They use omega-mv's own copy of the sm_121 encoder, not a pinned CUDA++.
 
 CUDA++ keeps growing to cover the jobs of NVIDIA's user-space software on the Spark, and then do things CUDA does not:
 
@@ -145,7 +145,7 @@ The CPU does five things, all of them plain memory writes except the last, which
 
 | CUDA piece | Its job | CUDA++ replacement | Status |
 | --- | --- | --- | --- |
-| CUDA C++ language | How you write a kernel | The kernel builder (C calls). Omega's languages reaching the GPU is Omega bar C1, built on this toolchain | PARTIAL: C calls only |
+| CUDA C++ language | How you write a kernel | The kernel builder (C calls). Omega's languages reaching the GPU is Omega bar C1, built on this toolchain | PARTIAL: C calls here; Omegese kernels EXERCISED on the GB10 in omega-mv draft #885/#886 (not merged) |
 | nvcc, NVVM, PTX, ptxas | Compile the kernel to machine code | My own sm_121 encoder and register allocator | PASS: every GPU kernel this stack runs is encoded by it |
 | libcuda (driver API) | Talk to the kernel driver | `nvrm` client, ioctls straight to the open kernel module | PARTIAL: implemented; M16 historical summary is unauditable here (see below) |
 | libcudart (runtime API) | Device, memory, launch, streams | Session, command lists, job engine | PARTIAL: one device, one process; no streams or events yet; a timeout ends GPU use for the process |
@@ -446,7 +446,7 @@ gates were NOT_RUN for this repair.
 Ownership rule ([ARCH-0042](https://github.com/aien-dev/aien-architecture-mv/pull/342), PROPOSED): Omega owns computation, CUDA++ owns GPU execution, Omega Bridge owns compatibility.
 
 - **CUDA++ (this repository)** owns GPU execution: the sm_121 encoder and GPU code generators, the cubin writer and artifact exporter, artifact admission, the disassembler, the driver client (`nvrm/`), submission, sessions and the GPU runtime.
-- **[Omega](https://github.com/aien-dev/omega-mv)** owns Aien's seeded `.om` language, its compiler and the compiler pin, semantics, and the declared contract of what a kernel computes. The existing Omegese → IR → sm_121 lowering, its checker and host words stay in omega-mv. CUDA++ is the GPU execution component Omega consumes.
+- **[Omega](https://github.com/aien-dev/omega-mv)** owns Aien's seeded `.om` language, its compiler and the compiler pin, semantics, and the declared contract of what a kernel computes. The existing Omegese → IR → sm_121 lowering, its checker and host words stay in omega-mv. omega-mv#885 (draft) adds a seeded `.om` port of that lowering. It stops at BlackwellIR, so register allocation and sm_121 encoding are still the C builder. CUDA++ is the GPU execution component Omega consumes.
 - **[Omega Bridge](https://github.com/aien-dev/omega-bridge)** owns compatibility: C and Python emitted from a checked Omega subset, native bindings for foreign callers, framework attachments (PyTorch, llama.cpp/GGML; planned) and GPU artifact negotiation (`gpu_adapter.om`). Bridge runs no kernels itself: its GPU adapter only accepts or refuses an attachment request and opens no device. Execution goes through this repository.
 
 The currently shipped CUDApp implementation still contains first-party C; the planned, test-gated replacement with native `.om` is tracked in [#79](https://github.com/aien-dev/CUDApp/issues/79). The code was split out of Omega on 2026-10-21 with its full history; `docs/AUDIT.md` records how, and what was checked before it was published.