CUDA++ · open source, Apache-2.0 with the LLVM exception
CUDA++ is the GPU half of Omega, plus the motor.
- It runs on the GB10 in my DGX Spark. Hardware scope: GB10 only. The NVIDIA open kernel module 580.173.02 and NVIDIA-signed firmware remain in the path. It is its own open source project, under the Apache License 2.0 with the LLVM exception, in the repository aien-dev/CUDApp.
- On 2026-10-21 the 35 billion parameter model Aien served on the Spark then (Qwen3.6-35B-A3B) ran on this code. That model was retired on 2026-11-06 and no model is served on the Spark today.
- how_branch
- docs/how-we-did-it
- how_commit
- 62ea5a2
- main_commit
- fc90713
- omega_branch
- docs/what-omega-is
- omega_commit
- 89aad7c
- checked
- 2026-10-22
- ledger
- L402
- visibility
- public
- owner_ledger
- L395
What Omega is · Complete data record. Dated source and receipt states, not an assertion that every target is qualified.
The CUDA++ execution path
From your program to the chip: what runs at each layer. PASS has a receipt; PARTIAL is incomplete; IN PROGRESS carries its ledger id; AS SHIPPED marks the firmware boundary.
Write a kernel
- Layer
- Language and kernel builder
- Implementation
- The kernel builder, called from C. Omega's own languages reaching the GPU is Omega bar C1, built on this toolchain.
- status
- PARTIAL
- note
- C calls only. Bar C1 PARTIAL, HOST_TESTED: the seeded Omega encoder (om/encoder/bw_enc_sm121.om) dropped LDG.E load offsets; fixed 2026-11-07 in CUDApp 870fd16c, receipt CUDApp evidence/ldg-offset-20261107/README.md (CUDApp main f1b50cbf), chip NOT_RUN
Source on InterplaneCompile to machine code
- Layer
- Compiler
- Implementation
- My own sm_121 encoder and register allocator: 59 instruction kinds, launch descriptors. On CUDApp main the default encoder is the seeded Omega one, om/encoder/bw_enc_sm121.om.
- status
- PARTIAL
- note
- CHIP_TESTED 2026-10-21: every kernel the 35B server ran (retired model) was encoded by it, receipt omega evidence/WHAT-OMEGA-IS-20261021/live-serve-no-cuda.txt. Since then: dropped LDG.E offset found and fixed 2026-11-07 (CUDApp 870fd16c, HOST_TESTED, chip NOT_RUN); M16 requalification FAIL on CUDApp main b774723f on 2026-11-06 (GpuWindow receipt r2-m16, Linear DRA-158)
Receipt on the forge omega-mv 89aad7c99b4fced80f92b656d2a3f350699456f0Talk to the driver
- Layer
- Driver API
- Implementation
- My own client for the open kernel module's ioctls, written from its MIT headers.
- status
- PARTIAL
- note
- M16 FAIL 2026-11-06 on CUDApp main b774723f: the requalification script's own build failed (nvrm/nvrm.c: omega_ampere_qmd.h not found), so the GPU was never opened (GpuWindow receipts r2-m16 and r3-nvrm, Linear DRA-158). M16 at CUDApp main f1b50cbf: NOT_RUN. The earlier M16 PASS, CHIP_TESTED, is the box receipt (committed 2026-09-26)
Receipt on the forgeRun work
- Layer
- Runtime
- Implementation
- Session, command lists and job engine: device, memory, upload, launch.
- status
- PARTIAL
- note
- one device, one process; no streams or events yet
Source on InterplaneLibraries
- Layer
- Math kernels
- Implementation
- Matrix multiply (BF16, FP8, 4 bit, ternary), a general GEMM (gemm_ex), FFT and random numbers, decode and prefill attention, frozen-order reductions.
- status
- PARTIAL
- note
- CHIP_TESTED: general GEMM (gemm_ex) 902 checks PASS (receipt CUDApp evidence/GEMM-GENERAL-00c9cf9/chip.log, window 20261031T115238Z), FFT and RNG 268 checks PASS (receipt CUDApp evidence/MATHLIBS-RNG-FFT-2026-10-27/chip-stdout.txt). The 208-shape GEMM sweep on the chip: NOT_RUN. No sort yet
Source on InterplaneFeed the math cores
- Layer
- Scheduling and data movement
- Implementation
- The motor, the ++ in CUDA++: one schedule built before anything runs, movement engines that check every weight part, and the stroke, many conversations on one read of the weights.
- status
- PASS
- note
- CHIP_TESTED 2026-10-21, retired model: live on port 18091 with the 35B (retired 2026-11-06); batching measured a factor of 1.80 to 1.98 over the same conversations taken in turn (https://interplane.io/drakestapleton/aien-sovereign-core-mv/tree/9c62690a252ab1c0b75eb8933c550316b5c50d52/evidence/q36-batch-20261021); on branches, not on omega main yet
- links
- design
omega-mv 89aad7c99b4fced80f92b656d2a3f350699456f0
Receipt on the forge aien-sovereign-core-mv 9c62690a252ab1c0b75eb8933c550316b5c50d52Kernel driver
- Layer
- Kernel driver research
- Implementation
- Aien's own GB10 driver. Its simulator gates pass; it has not run on the chip yet.
- status
- IN PROGRESS
- note
- ledger L332
- ledger
- L332
Source on Interplane aienux 89360c060102e4242187cda6156d696452e38181Inside the GPU
- Layer
- Firmware boundary
- Implementation
- The signed GSP firmware runs as shipped. The chip checks its signature and boots nothing else. CUDA++ never ships it.
- status
- AS SHIPPED
- note
- Signature checked by the chip
Source on InterplaneHow I built the path
I build this with AI coding agents, on one DGX Spark, in four weeks. The work covers a driver client, machine-code encoding, command lists and chip checks.
1. The driver client, from the open kernel module's headers
- text
- The open kernel module defines its ioctls in public headers. I copied 67 of those headers unchanged (MIT) and wrote my own client against them: client, device, address space, memory, command ring, compute object, doorbell, completion.
Source on Interplane CUDApp 62ea5a214d46f36e88cb7b892cecebf1f3e8a1722. Learning the instruction encoding
- text
- I compiled small probe kernels of my own and read their machine code back as an offline oracle. I changed one detail at a time to learn the instruction fields, cross-checked with open-source compiler references, and checked the output on the chip. Those references and their licences are recorded in THIRD_PARTY.md. The tensor-core arithmetic was measured on the chip over 2,048 cases until one model matched every output bit.
Source on Interplane CUDApp 62ea5a214d46f36e88cb7b892cecebf1f3e8a1723. Building command lists
- text
- A launch on Blackwell is a short list of commands in the channel ring. I used the command order from the open-source driver reference credited in THIRD_PARTY.md and the method offsets from the open headers, built my own command lists, and measured them: about 24 to 31 microseconds per extra dependent launch.
Source on Interplane CUDApp 62ea5a214d46f36e88cb7b892cecebf1f3e8a1724. Built up, nothing counts until the chip agrees
- text
- 2026-09-26 vector add on the GB10. 2026-10-02 numerics closed on the chip. 2026-10-13 my own probes measured the tensor cores at 115.14 TFLOPS and memory reads at 195.1 GB/s. 2026-10-21 a 35B model served on this code on my own GPU stack. 2026-11-06 that model was retired.
Source on Interplane CUDApp 62ea5a214d46f36e88cb7b892cecebf1f3e8a172Source and hardware boundaries
- The repository includes the unchanged MIT-licensed open kernel module headers, with their attribution. The audit records the source and licensing boundary.
- The instruction probes are my own small kernels. Offline tools and open-source references used to check them are credited in THIRD_PARTY.md.
- The GPU firmware runs as shipped, with its signature checked by the chip. CUDA++ does not distribute it.
- The exercised hardware scope is the GB10 in my DGX Spark. Other hardware needs its own execution receipts.
Source on Interplane CUDApp 62ea5a214d46f36e88cb7b892cecebf1f3e8a172Developer workflow
Each workflow, its current status and the command that shows it.
I am documenting the CUDA++ developer workflow. A row is marked complete only with its receipt and the command that shows it.
Developer workflow and reproduction commands
- text
- Being written in docs/PAIN_POINTS.md and a README section of CUDA++: each supported workflow, its current limits and the command that demonstrates it.
- status
- IN PROGRESS
- ledger
- L400
Source on InterplaneInstallation and rollback
Installation, activation and rollback of the CUDA++ user-space path and experimental GB10 driver, with one command each way.
User-space activation: cudapp swap
- text
- A planned user-space compatibility entry point on the CUDA++ runtime (L401). One command activates it and one rolls it back. The swap tool is in the CUDApp repository at swap/cudapp. Not built yet: NOT_RUN.
- status
- IN PROGRESS
- ledger
- L401
Source on InterplaneKernel driver: cudapp swap kernel
- text
- Packaging, activation and rollback for Aien's own GB10 driver. L401 builds the packaging; L332 builds the driver, whose simulator gates pass and which has not run on the chip yet.
- status
- IN PROGRESS
- ledger
- L401
Source on Interplane aienux 89360c060102e4242187cda6156d696452e38181