AienOS PERSISTENT MACHINE INTELLIGENCE

CUDA++ · open source, Apache-2.0 with the LLVM exception

CUDA++ is the GPU half of Omega, plus the motor.

repo
https://interplane.io/drakestapleton/CUDApp
readme
cp:README.md
how
cp@:62ea5a214d46f36e88cb7b892cecebf1f3e8a172/docs/HOW_WE_DID_IT.md CUDApp 62ea5a214d46f36e88cb7b892cecebf1f3e8a172
how_branch
docs/how-we-did-it
how_commit
62ea5a2
main_commit
fc90713
omega_doc
om@:89aad7c99b4fced80f92b656d2a3f350699456f0/docs/OMEGA.md omega-mv 89aad7c99b4fced80f92b656d2a3f350699456f0
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.

What it is for

Useful work on a machine I own.

I want each answer to need fewer bytes moved, fewer operations and fewer joules, so useful work runs on a machine a person owns. Every result is reported as work per answer, against the machine's own ceiling. Hardware execution is qualified only where a receipt says so.

Source on Interplane omega-mv 89aad7c99b4fced80f92b656d2a3f350699456f0

The repository is public: https://interplane.io/drakestapleton/CUDApp. Its audit is https://interplane.io/drakestapleton/CUDApp/blob/main/docs/AUDIT.md (Status CLEAN).

Source on Interplane

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 / receipt location
cp:README.md#cuda-piece-by-piece
Source on Interplane

Compile 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)
links
Source / receipt location
om@:89aad7c99b4fced80f92b656d2a3f350699456f0/evidence/WHAT-OMEGA-IS-20261021/live-serve-no-cuda.txt omega-mv 89aad7c99b4fced80f92b656d2a3f350699456f0
Receipt on the forge omega-mv 89aad7c99b4fced80f92b656d2a3f350699456f0

Talk 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 forge

Libraries

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 Interplane

Feed 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
Source / receipt location
sc@/:9c62690a252ab1c0b75eb8933c550316b5c50d52/evidence/q36-batch-20261021 aien-sovereign-core-mv 9c62690a252ab1c0b75eb8933c550316b5c50d52
Receipt on the forge aien-sovereign-core-mv 9c62690a252ab1c0b75eb8933c550316b5c50d52

How 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 62ea5a214d46f36e88cb7b892cecebf1f3e8a172

2. 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 62ea5a214d46f36e88cb7b892cecebf1f3e8a172

3. 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 / receipt location
cp@:62ea5a214d46f36e88cb7b892cecebf1f3e8a172/docs/HOW_WE_DID_IT.md#step-3-launch-work-like-the-driver-does CUDApp 62ea5a214d46f36e88cb7b892cecebf1f3e8a172
Source on Interplane CUDApp 62ea5a214d46f36e88cb7b892cecebf1f3e8a172

4. 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 / receipt location
cp@:62ea5a214d46f36e88cb7b892cecebf1f3e8a172/docs/HOW_WE_DID_IT.md#step-4-build-up-checking-everything CUDApp 62ea5a214d46f36e88cb7b892cecebf1f3e8a172
Source on Interplane CUDApp 62ea5a214d46f36e88cb7b892cecebf1f3e8a172

Source 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 62ea5a214d46f36e88cb7b892cecebf1f3e8a172

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

Installation and rollback

Installation, activation and rollback of the CUDA++ user-space path and experimental GB10 driver, with one command each way.

Kernel 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
links
Source / receipt location
ax@:89360c060102e4242187cda6156d696452e38181/docs/GPU_DRIVER.md aienux 89360c060102e4242187cda6156d696452e38181
Source on Interplane aienux 89360c060102e4242187cda6156d696452e38181