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
CUDApp / ROADMAP.md
| 1 | # CUDA++ roadmap: every NVIDIA piece on the Spark, and what does its job |
| 2 | |
| 3 | The goal is a DGX Spark where CUDA++ does the jobs of NVIDIA's user-space software and my own GB10 driver does the job of NVIDIA's kernel modules, on top of nothing of NVIDIA's but the GPU's own signed firmware, and a GPU stack that does things CUDA does not. GB10 facts measured on the way (chip id, boot sequence) still go upstream to the Linux drivers Nova and nouveau as findings. Each row names its receipt; a row without a receipt is not done. Status words: PASS (receipt on a named commit), PARTIAL, MISSING, BUILDING (work exists, no receipt on the GB10 or in CUDA++ yet), stays (NVIDIA's part remains in the path). |
| 4 | |
| 5 | Sources: Omega `docs/OMEGA.md` sections 2 to 5 (branch `docs/what-omega-is`, 2026-10-21). Driver policy changed on 2026-10-30: my own driver replaces `nvidia.ko` and `nvidia-uvm.ko`, as aien-dev/omega `docs/OMEGA.md` on main (f56a372a) already says; the earlier line here, that the L332 work was a research harness and GB10 support belonged only upstream, is withdrawn. The route analysis (user-space Omega over `vfio-pci`, nouveau and nova, or a kernel module) is `docs/nvidia-out/DESIGN.md`, layer L4. |
| 6 | |
| 7 | 2026-11-06 codegen-rest migration note: the attn256, pattn256, router, FP8 |
| 8 | GEMM, BF16 GEMV, pq, and qg builders now have seeded Omega implementations |
| 9 | under `om/codegen/`, replayed through the shared CUDApp IR path. The original C |
| 10 | builders remain default-off differential oracles. The replay wire adds opt-in |
| 11 | metadata word 6 for the existing extended GPR limit; zero preserves the old |
| 12 | wire. The FP8 GEMM admission check now rejects overflowing `mt` before |
| 13 | multiplication. CPU differential, simulator, and mutation receipts belong in |
| 14 | `evidence/codegen-rest/2026-11-06/`; the hardware tiers remain NOT_RUN and no |
| 15 | roadmap bar is upgraded by this migration. See `om/codegen/CHIP.md`. |
| 16 | |
| 17 | 2026-11-06: repaired the seeded q38 gather permutation's nonrotary tail. |
| 18 | The clean-base red reproduction, host green gate and compiled mutants are in |
| 19 | `evidence/graph-table-tail-20261106/README.md`. Chip remains NOT_RUN. |
| 20 | |
| 21 | 2026-11-06: final hidden-vector head scaling now defaults to seeded Omega. |
| 22 | The default-OFF C oracle is `CUDAPP_MIGRATION_PENDING_C_GRAPH_HEAD_SCALE`. |
| 23 | See `evidence/graph-head-scale-20261106/README.md`; hardware remains NOT_RUN. |
| 24 | |
| 25 | 2026-11-06 — Slice 8 moves graph dimension/configuration checks, gather tables, |
| 26 | timeline admission, prefill budget/rounding and hello host plans/checking into |
| 27 | seeded Omega. Wrapped host differential, negative controls, simulator and seven |
| 28 | compiled semantic mutants are EXERCISED; see |
| 29 | `evidence/graph-residue-20261106/README.md`. Hardware remains NOT_RUN for this |
| 30 | change; `examples/hello_gpu/README.md` is its chip runbook. No existing hardware |
| 31 | status is upgraded by these host receipts. |
| 32 | 2026-11-06: GEMM config/resource, shape/grid, leading-span, launch-word and packed-scratch policy now default to seeded Omega (`om/gemm-any/host.om`). The default-OFF C policy oracle and focused host/simulator evidence are in `evidence/gemm-host-plan-20261106/`; chip qualification remains NOT_RUN. No status row is upgraded. |
| 33 | 2026-11-06: GEMM EX gather indices/strides, packing quotas and conversion-copy layout policy now default to seeded Omega (`om/gemmex/policy.om`). The separate default-OFF C policy oracle does not enable GX_C; focused evidence is in `evidence/gemm-ex-host-policy-20261106/`. Chip qualification remains NOT_RUN; no status row is upgraded. |
| 34 | 2026-11-06: the remaining numeric bulk, IEEE predicate, FTZ/parity/seed, |
| 35 | patch admission/encoding/checking and frozen reduction-hierarchy computation |
| 36 | now defaults to seeded `om/numeric` units, stacked on the scalar migration. |
| 37 | Host differential, mutation and simulator evidence is recorded in |
| 38 | [`numeric-rest-20261106`](evidence/numeric-rest-20261106/README.md). |
| 39 | Chip qualification is NOT_RUN; no roadmap status row is upgraded. |
| 40 | 2026-11-06 migration note: the eight standalone CUDA-fixture, interop, mirror, |
| 41 | prefill and exact-head checkers use the seeded `standalone_oracles` unit for |
| 42 | reference arithmetic and verdict aggregation. The binary128 reference oracles |
| 43 | remain independent C oracles because seeded Omega has no binary128 type. The |
| 44 | CUDA fixture has new v2 identities; v1 remains frozen and CUDA imports are |
| 45 | unchanged. Host/simulator evidence and the NOT_RUN chip runbook are in |
| 46 | `evidence/standalone-oracles-20261106/README.md`; no hardware status row changes. |
| 47 | 2026-11-06: NO_POSIX session admission, parked-handle lookup, packet encoding, |
| 48 | extra-queue admission and command-list bookkeeping now select freestanding |
| 49 | seeded Omega by default. The C oracle requires |
| 50 | `CUDAPP_MIGRATION_PENDING_C_NO_POSIX_SESSION=1`; host differential and mutation |
| 51 | receipts are in `evidence/no-posix-session-20261106/`. Chip qualification is |
| 52 | NOT_RUN. This branch merges the #335 native mechanism into #334; neither |
| 53 | dependency is implicitly merged or deployed by this receipt. |
| 54 | 2026-11-06: `av_bf16_n` now uses the integer-public freestanding Omega variant `om/apiviews/no_avbf.om` under `OMEGA_GPU_NO_POSIX`; its canonical hosted view remains `om/apiviews/bf16.om`. The explicit default-OFF `CUDAPP_MIGRATION_PENDING_C_NO_POSIX_SESSION` flag selects the temporary C oracle. Hosted/freestanding differential, production-object OFF/ON symbol controls and six behavioral mutants PASS; chip NOT_RUN. Receipt: `evidence/no-posix-bf16-20261106/README.md`. |
| 55 | 2026-11-06: FP8 shape, depth, environment-number parsing and grouped/grid policy, GDN cache/move/prefill admission, and scan cross-tile carry now use seeded `om/apiviews/hostrest.om` and `scancarry.om`. The previous C policy is a default-OFF migration oracle. Host differential, negative-control and focused simulation evidence is in `evidence/api-fp8-gdn-host-20261106/`; chip qualification remains NOT_RUN. No status row is upgraded. |
| 56 | 2026-11-06: prefill register-file admission and output poison counting now |
| 57 | default to seeded Omega; `CUDAPP_MIGRATION_PENDING_C_PREFILL_HOST_REST` |
| 58 | retains the default-OFF C oracle. See |
| 59 | `evidence/prefill-host-rest-20261106/README.md`. Hardware remains NOT_RUN. |
| 60 | 2026-11-06: NVRM allocation/counter/packet computation now has a seeded Omega |
| 61 | default with a default-OFF C oracle. Host state differential, source mutants |
| 62 | and fake-RM gates are recorded in `evidence/nvrm-alloc-20261106/README.md`. |
| 63 | Live RM and chip qualification remain NOT_RUN; no status row is upgraded. |
| 64 | 2026-11-06: dagsim JSON byte escaping defaults to seeded `om/tools/dag_jstr.om`; all-byte differential and five mutants are recorded in `evidence/dagsim-jstr-20261106/README.md`. Host only; chip NOT_RUN and no status row upgraded. |
| 65 | 2026-11-06: disassembly byte assembly and EXIT-padding policy now default to `om/disasm/words.om`; focused host differential and mutants are recorded in `evidence/disasm-words-20261106/README.md`. Chip NOT_RUN; no status row upgraded. |
| 66 | 2026-11-06: TC/TC2 host admission, sizing, span and input/weight conversion now default to seeded Omega, reusing the canonical numeric BF16 rounding unit. Host/simulator/cubin identity evidence and the NOT_RUN chip runbook are in `evidence/codegen-tc-host-20261106/README.md`; no hardware status row is upgraded. |
| 67 | 2026-11-06: Router-logit admission/shared sizing and MoE-combine admission now default to seeded Omega. Host differential, source mutants, simulator and cubin identity evidence is in `evidence/codegen-pfhost-admit-20261106/README.md`; chip qualification remains NOT_RUN and no status row is upgraded. |
| 68 | 2026-11-06: QMMA mark recognition, little-endian probe word reads and patch-selftest construction/verification now default to seeded Omega, reusing existing record emission. Host, simulator and cubin evidence is in `evidence/qmma-probe-rest-20261106/README.md`; chip remains NOT_RUN with no status-row upgrade. |
| 69 | 2026-11-06: chip-table lookup, sysfs enumeration selection and PCI address masks default to seeded `om/admission/chip_enum.om`; fixture differential and seven mutants are recorded in `evidence/chip-enum-policy-20261106/README.md`. Qualified chip identities unchanged; chip NOT_RUN and no status row upgraded. |
| 70 | |
| 71 | ## 1. NVIDIA software on the Spark today |
| 72 | |
| 73 | | NVIDIA piece | What it does | CUDA++ replacement | Status | Receipt or where the work is | |
| 74 | | --- | --- | --- | --- | --- | |
| 75 | | `nvcc`, NVVM, PTX, `ptxas` | Compile kernels to machine code | sm_121 encoder + register allocator (`src/omega_blackwell_*`) | PASS | every GPU kernel this stack runs is encoded by it (Omega `docs/OMEGA.md` s2) | |
| 76 | | `libcuda` | User-space driver API | `nvrm/` + `m16/` driver client | PARTIAL | Implemented; imported M16 summary lacks its referenced raw logs. Current native qualification NOT_RUN; see README evidence limitation. | |
| 77 | | `libcudart` | Runtime API: device, memory, launch, streams | session, command lists, job engine | PARTIAL | one device and one process; streams and events are bar C4 | |
| 78 | | cuBLAS | Matrix multiply | matmul, tensor-core GEMM, FP8/BF16 libraries | PARTIAL | model shapes only; any-shape GEMM is bar C3. 2026-11-05: the host logic of `omega_gpu_gemm_ex` (plan, routes, k parts, bf16x3 planes, sums, recompute, epilogue, fp8 dequantization) is seeded Omega (`om/gemmex`, CUDApp#144); host and warp-simulator tiers pass on the Omega path and agree bit for bit with the old C; chip NOT_RUN on the Omega path. 2026-11-06: the f32-to-bf16 host loops in `omega_gpu_matmul_api.c` go through `om/apiviews/bf16.om`; the fp8 group-table fill, quantize and x-pack loops go through `om/apiviews/fp8*.om`; chip NOT_RUN | |
| 79 | | cuDNN, FlashAttention | Attention, network layers | decode and prefill attention | PARTIAL | model-shaped | |
| 80 | | CUB, Thrust | Reductions, scans, sorts | frozen-order reductions; f32 and u32 prefix sums and a stable radix sort (keys, key-value pairs) whose kernels and launch plans are seeded Omega (`om/scan/scan_ir.om`, `om/scan/scan_plan.om`, `src/omega_gpu_scan.h`) | PARTIAL | `evidence/E1-CLOSURE/`; general scan and sort are bar C3. Note 2026-11-06 (branch `feat/c3-scan-sort-om`): host and warp-simulator tiers bit-exact for every op at n = 1 to 70, the tile, CTA and grid edges up to 32769, and 40000 and 270000 (`make test-gpu-scan`), C-vs-Omega differential and six `.om` mutants caught (`mk/scan-sort.mk`), all 22 scan kernels decode identically in nvdisasm and our disassembler; chip tier NOT_RUN, so no receipt for 2^28 yet | |
| 81 | | cuFFT, cuRAND | FFT, random numbers | xoshiro256** generator (64-bit, uniform and normal f32), Philox4x32-10 (cuRAND's `curandStatePhilox4_32_10_t` stream) with cuRAND's uniform, uniform_double, uniform2_double and normal distributions, batched complex f32 FFT, real R2C/C2R FFT (cuFFT layout), 2-D/3-D complex FFT and cufftPlanMany layouts for any length 2 to 4096 (mixed radix 2/3/4/5/7, Bluestein), kernels and pass plans built by the seeded unit `om/mathlibs/mathlibs_ir.om` (`src/omega_gpu_mathlibs_api.h`, runtime API 0.15.0 section 9.10) | PARTIAL | `evidence/MATHLIBS-RNG-FFT-2026-10-27/chip-receipt.txt`: one GB10 run, 268 checks, streams bit-exact with aien-math; complex-to-complex FFT from 4 to 2048 points. 2026-11-06 note (`evidence/MATHLIBS-PHILOX-RFFT-ND-2026-11-06/`): Philox (Random123 KAT, 1024 cuRAND 10.4.0 host-oracle rows), R2C/C2R for 8 to 4096 points and 2-D/3-D transforms (dims 4 to 2048) pass the host and warp-simulator tiers with every mutant caught; their chip tier is NOT_RUN. 2026-11-06 note (`evidence/MATHLIBS-GAPS-2026-11-06/`): the Philox distributions (4480 cuRAND 10.4.0 host-oracle rows), non-power-of-two C2C/R2C/C2R (3 to 4095 points, Wolfram-derived bounds) and cufftPlanMany strides, embeds and in-place padding pass the host and warp-simulator tiers with every mutant caught; chip tier NOT_RUN. No `curand_normal_double` (needs f64 IR) | |
| 82 | | `cuobjdump`, `nvdisasm` | Read machine code back | my own sm_121 disassembler | BUILDING | bar C6: on Omega branch `c6/disasm` (19eebe0e, `evidence/C6-DISASM/` there) it agreed with `nvdisasm` on 331 kernels. 2026-11-05 (host only, chip NOT_RUN): the decoder is now the seeded Omega unit `om/disasm/sm121_dis.om`, with the C kept as differential oracle (`CUDAPP_DISASM=om\|c\|diff`); `make test-sm121dis` agrees with `nvdisasm` 13.0.85 on all 3,191 library kernels (1,237,248 words), `.om` and C print identical text on all of them, and the planted-fault decoder fails on 3,190. The regular host tests read kernels with this decoder; `nvdisasm` runs only in named oracle targets (`tools/sm121dis/README.md`) | |
| 83 | | Nsight | Profiling | ceiling probes | PARTIAL | `evidence/OWN30B-T3-TC-PEAK-BW-5faa0f70-20261013T2236Z/` (115.14 TFLOPS tensor-core peak, 195.1 GB/s reads), `evidence/OWN30B-LAUNCH-COST-20261014T0120Z/`. 2026-11-05: `tools/prof` host and simulator report against those ceilings and Omega docs/OMEGA.md section 5 (`make test-prof`). Chip tier NOT_RUN (`tools/prof/chip.sh`). Status stays PARTIAL until a chip receipt. | |
| 84 | | CUDA samples and docs | First kernel, API reference | `examples/hello_gpu`, `docs/runtime/API.md` | PARTIAL | bar C2: hello-GPU from an empty folder on the GB10 + the zero-CUDA gate | |
| 85 | | `nvidia.ko` | Kernel driver: GPU boot, memory, channels | my own GB10 driver, in three repositories: aien-dev/aien-gpu (Omega units inside a Linux module), aien-dev/omega-gpu-driver (seeded Omega over `vfio-pci`), aienux#441 (L332: C reference driver and GB10 simulator) | BUILDING | no track has run on the GB10. aien-gpu `docs/STATUS.md` (ec9d6d76): host and QEMU EXERCISED, hardware NOT_RUN. omega-gpu-driver README (07781415): W0 EXERCISED in QEMU only. aienux#441: merged into aienux main on 2026-10-30 (merge 4c25c6ce); L332 simulator gates PASS at cd5eef7a (`evidence/own-gpu-driver/rung1/gates-20261021T2158Z.txt` there). Open before the chip: the chip id is unread (`PMC_BOOT_42`, aienux `docs/GB10_FIRMWARE_INVENTORY.md` on main since #441), the GPU windows wait for my go, and the `nvrm/` client still speaks NVIDIA's ioctls (moving it is PROPOSED) | |
| 86 | | `nvidia-uvm.ko` | Unified memory, page tables, faults | my own GB10 driver (same three repositories; aien-gpu's README names `nvidia_uvm` as replaced) | BUILDING | host simulator, 225 checks PASS (aienux `feat/gb10-gpu-mmu-sim` bcc56506); no chip run | |
| 87 | | `nvidia-modeset.ko`, `nvidia-drm.ko` | Display | not needed for compute | not used by CUDA++ | | |
| 88 | | `nvidia-smi`, NVML | Status, clocks, power | `cudapp-smi`, a seeded Omega program (`native/smi/`); NVML subset `compat/nvml/` over pure Omega units (`native/nvml/`) | BUILDING | 2026-11-05 note, no receipt on the GB10 yet: host fixture and fake resource-manager tiers PASS (`make test-smi`); the live read-only procfs/sysfs run matches `nvidia-smi` on 20 fields (`evidence/SMI-2026-11-05/`). Name, temperature, pstate and per-process memory need the `--rm` path, whose live run is NOT_RUN (needs a spark-window). 2026-11-06 note: `utilization.gpu`/`utilization.memory` (`native/smi/util.om`, 55888-byte GPUMON control) pass the host fake tier with the dedicated aien-dev/omega-mv#1048 omc pin (devcall bound 1048576), now landed through #1050; CUDApp's general compiler pin remains unchanged. The live `--rm` run is NOT_RUN. Clocks and power have no public control in the 580.173.02 headers. An NVML C ABI subset (init/shutdown, count, handle, name, UUID, temperature, memory, utilization, compute processes, error strings) passes its host tier against a fake resource manager, 22/22 mutants caught, ABI equal to CUDA 13.0 `nvml.h` on 55 facts (`make test-nvml`, `evidence/NVML-2026-11-06/`); live resource-manager and chip runs NOT_RUN. 2026-11-07 note: `libnvidia-ml.so.1` is generated from seeded Omega `native/nvml/api.om` and replaces the handwritten shell (`compat/nvml/README.md`, `evidence/NVML-365-2026-11-07/`). | |
| 89 | | GSP firmware (`gsp_*.bin`) | Runs inside the GPU | stays NVIDIA's: the chip checks its signature | not replaceable | the kernel module loads NVIDIA's signed file from the system's firmware folder; CUDA++ never ships it | |
| 90 | |
| 91 | 2026-11-06 host-only API migration: scan-tile butterfly, elementwise launch records and RoPE table fill, GDN pack/unpack/scale/negexp and FP8 packing now use `om/apiviews`. Launch and pointer acquisition remain hosted C. Chip NOT_RUN. |
| 92 | |
| 93 | 2026-11-06 attention note: `om/attn-any/` adds seeded-Omega arbitrary-shape |
| 94 | f32/bf16/f16 online-softmax attention (dimensions 1..256, rectangular sequences, |
| 95 | GQA and top-left causal/non-causal masks), with independent host reference, |
| 96 | warp simulation, source-mutant controls and `om/attn-any/CHIP.md`. |
| 97 | Chip qualification is NOT_RUN; the §1 row remains PARTIAL and existing |
| 98 | model-tuned attention generators are unchanged. |
| 99 | |
| 100 | 2026-11-06 DNN note: `om/dnn-rows/`, `om/dnn-activations/` and `om/conv2d/` |
| 101 | add seeded row softmax/layernorm/rmsnorm, ReLU/erf-GELU/tanh-GELU/SiLU and |
| 102 | strict implicit-GEMM conv2d. Shared f32/bf16/f16 input formats accumulate |
| 103 | to f32; convolution supports NCHW/NHWC, groups, stride, asymmetric padding |
| 104 | and dilation without a global im2col buffer. Shape admission, tail/address |
| 105 | logic and arithmetic are Omega. Independent double references, warp |
| 106 | simulation and compiled source mutants exercise the host path; see |
| 107 | `om/dnn-layers/README.md` for scope and device-free commands. |
| 108 | Chip qualification and performance are NOT_RUN. This is a dated implementation |
| 109 | note, not a status upgrade or complete cuDNN feature-coverage claim. |
| 110 | |
| 111 | 2026-11-06 host migration note: `om/mathlibs/host.om` now owns FFT walk, |
| 112 | mixed-radix/Bluestein and PlanMany layout/overlap policy, RNG admission/seed |
| 113 | arithmetic and time conversion. Its six strongly linked entry units use the |
| 114 | existing seeded compiler/bridge pins; the default-OFF |
| 115 | `CUDAPP_MIGRATION_PENDING_C_MATHLIBS_HOST` branch is the C differential oracle. |
| 116 | Focused host/simulator evidence and the unrun chip procedure are in |
| 117 | `evidence/mathlibs-host-20261106/README.md`. Chip qualification remains |
| 118 | **NOT_RUN** for this migration; no status row is upgraded. |
| 119 | |
| 120 | ## 2. Bars before I say "replaces CUDA" |
| 121 | |
| 122 | From Omega `docs/OMEGA.md` section 3. Each needs a receipt on the exact commit; none is waived. |
| 123 | |
| 124 | - **C1** Omega's languages compile kernels through checker2 to sm_121 and run on the GB10 (vector add, tiled GEMM, decode attention; a broken kernel is refused; one live 35B kernel replaced with identical golden tokens). The language part lives in Omega; the code generator it targets is here. |
| 125 | - **C2** a stranger runs hello-GPU from an empty folder with only the README commands, and the zero-CUDA gate passes on the binary; the runtime API is written down and versioned. |
| 126 | - **C3** any-shape GEMM in BF16 and FP8 (200+ shapes, 1 to 8192, each checked against a host reference, speed as a fraction of the measured tensor-core ceiling); reductions and prefix sums from 1 to 2^28 elements, bit-exact. |
| 127 | - **C4** streams and events: two queues finish in under 0.75 of the sum of their solo times; an event wait orders two jobs, checked by data. |
| 128 | 2026-11-05 (CUDApp#115): the pure part (method words of a submission incl. wait_for ACQUIRE and barrier choice, submit_pair markers, AIEN_OMEGA_GPU_CHANNELS, extra queue admission) is seeded Omega, `om/streams/streams.om`; C writes and submits. Host and sim tiers PASS, C vs Omega identical on 102400 swept chunks (`make test-om-streams`), 4 mutants red. Chip NOT_RUN; status unchanged. |
| 129 | - **C5** two processes share the GPU safely, and a kernel that never ends is timed out with the process still usable. |
| 130 | - **C6** my disassembler agrees with `nvdisasm` on every library kernel, and nothing calls `nvdisasm` any more. |
| 131 | |
| 132 | ## 3. More than CUDA |
| 133 | |
| 134 | Things a CUDA stack does not do, because it does not own the whole path. Omega `docs/OMEGA.md` bar P4: at least one measured win from each before it is claimed. |
| 135 | |
| 136 | | Item | Why CUDA cannot | Status | |
| 137 | | --- | --- | --- | |
| 138 | | One submission per generated word | CUDA launches go through the runtime and driver per kernel or per graph; I write the command list myself | PARTIAL: command lists exist (`src/omega_gpu_cmdlist.*`); extra launch in a list costs 24 to 31 us today with wait-for-idle (`evidence/OWN30B-LAUNCH-COST-20261014T0120Z/`). 2026-11-06: seeded record/sizing and whole-program aliased RAW/WAR/WAW planning added (`om/cmdlist/`), retaining one submission or refusing the ring budget; independent launches need no inter-launch WFI. Host differential/simulator and count-model gates are separate from chip ordering/latency, which remain NOT_RUN. Complete model-graph effect annotations are still required; status is not upgraded. | |
| 139 | | Resident whole-model kernel | needs control of scheduling and memory below the CUDA API | PARTIAL (AIEN L272). 2026-11-06: seeded descriptor-driven implementation in `om/resident/` and five-layer reference/multi-CTA simulation tests. 2026-11-12: first chip run, shared GB10, values only: the five-layer two-CTA kernel passes `gpu_resident_chip --chip` after an `S2R` scheduling fix (`evidence/chip-gates-shared-20261112/`); exclusive window NOT_RUN, so not QUALIFIED. [Contract and chip runbook](om/resident/README.md). | |
| 140 | | Zero-copy shared memory | the GB10's CPU and GPU share one memory; CUDA still stages through its own allocators | PARTIAL: weights shared between processes through the driver client (physics `feat/shared-mem` 82467f19, 1 GiB import in 171 ms; not yet in CUDA++ main). 2026-11-05: Omega export and import, read-only included, in `native/share/share.om`; host only (fake RM, read-only write trap, 20 mutants caught; `make test-zero-copy-share`, `docs/share/README.md`); chip NOT_RUN. The same calls for the hosted native library in `native/share/share_native.om` (OM-2 function mode); host only (seccomp fake RM, 20 mutants caught; `make test-zero-copy-share-native`); chip NOT_RUN | |
| 141 | |
| 142 | 2026-11-06: ModelGraphsOm adds seeded graph plans and an old-C/default-Omega differential (`om/graph/README.md`). The independent nested gate also compares real production GDN/attention/FP8/BF16/GEMM/router command lists and submitted words, including device-free native artifact admission; old/new each submit once per complete word. This does not upgrade the row: chip qualification and complete model-graph effect annotations remain separate. See `om/graph/CHIP.md`. |
| 143 | |
| 144 | ## 4. Speed |
| 145 | |
| 146 | Speed is reported against the physical ceiling of this machine, not only against yesterday. The table and the ceilings are in Omega `docs/OMEGA.md` section 5; the head-to-head measurement against llama.cpp and vLLM on this Spark, same model and prompts, end to end, is bar P0 (AIEN L394; in progress, not finished, not published). Until it is published, no speed comparison with CUDA, llama.cpp, vLLM or TensorRT is claimed. Chip-only time per token and end-to-end time through the server are reported separately and never set beside each other or beside other projects' published end-to-end figures. |
| 147 | |
| 148 | ## 5. The developer bar: goals for being easier to use than CUDA |
| 149 | |
| 150 | The research in `docs/PAIN_POINTS.md` ranks what developers hit with CUDA and its libraries, and why they stay. Each pain point becomes a row with a done-when anyone can run. The full table, with every row's mechanism and the counts behind its rank, is `docs/PAIN_POINTS.md` section 3; open rows have issue drafts in `docs/issues/`. The rows are developer-experience goals, not measured comparisons with CUDA, and none of them is a speed claim. |
| 151 | |
| 152 | | Row | Aims to improve on CUDA by | Status | |
| 153 | | --- | --- | --- | |
| 154 | | D1 | Memory you can see, and a refusal before the machine hangs | DONE on the host; chip run open | |
| 155 | | D2 | One command, one version: `make doctor`, then `make hello-gpu` | DONE in doctor wrapper; no direct library driver-version guard. 2026-11-05 note: the library's PCI-id admission at device open (D6) is host-tested only (`make test-chip-admission`) | |
| 156 | | D3 | Faults named at the launch that caused them | DONE on the simulator; chip half open | |
| 157 | | D4 | The simulator first, from the same program: `hello_gpu --sim` | DONE | |
| 158 | | D5 | Builds in seconds, ships small | DONE (2.0 s, 1.06 MB) | |
| 159 | | D6 | A new chip works on day one or is refused with a sentence | DONE in doctor wrapper; table row is not current-commit qualification. 2026-11-05 note: the library now refuses an unknown or unqualified PCI id before opening any `/dev/nvidia` node (`om/admission/chip_admit.om`); host and mutant tests only, chip run NOT_RUN | |
| 160 | | D7 | Same inputs, same bits, at no cost | simulator DONE; chip DONE for hello-gpu, bf16 GEMV, rmsnorm, decode attention (10 separate processes each, `evidence/d7-same-bits-chip/2026-10-27/`); other kernels not hashed; the "no cost" half is not measured | |
| 161 | | D8 | No per-process CUDA tax | PLANNED (chip window) | |
| 162 | | D9 | No licence that stops you | DONE (`evidence/dx/pain-points/licence.txt`) | |
| 163 | | D10 | No compiling at run time | DONE for hello-gpu | |
| 164 | | D11 | Open libraries with an easy default path | PLANNED (L386, Omega bar C3) | |
| 165 | | D12 | Work per answer, against the machine's own ceiling | simulator DONE; chip open | |
| 166 | | D13 | My own disassembler, in plain text | PLANNED (L386, Omega bar C6) | |
| 167 | | D14 | Recover from a fault without restarting | PLANNED (L386, Omega bar C5) | |
| 168 | |
| 169 | ## 2026-11-06: core utility Omega migration |
| 170 | |
| 171 | Core hashing, canonical encoding, object/effect/evaluation utilities, vectors, |
| 172 | formatting, host math and cubin refusal rendering use local `om/core/*.om` by |
| 173 | default. The existing cubin ELF, Ampere encoder, binary16, revision and epoch |
| 174 | Omega implementations are reused. The handwritten C oracle is opt-in through |
| 175 | `CUDAPP_MIGRATION_PENDING_C_CORE`; no hardware status is upgraded. |
| 176 | See `om/core/README.md` and `evidence/core-util/2026-11-06/` for host evidence, |
| 177 | negative controls, recompiled mutants and the authorization-gated chip runbook. |
| 178 | |
| 179 | ## 2026-11-06: core allocator and matmul Omega lane (pending integration) |
| 180 | |
| 181 | The seeded core allocator, IR helpers, five matmul builders, scalar register/layout |
| 182 | decisions and vecadd writer have host differential, ten recompiled Omega mutants, |
| 183 | existing encoder fixtures and BF16 warp-simulator receipts in |
| 184 | `evidence/regalloc-om/2026-11-06/README.md`. The full assigned file-set migration |
| 185 | is not complete: realization, hazard analysis and remaining wrapper/packing/spec |
| 186 | policy are still C. Native aggregate adoption and freestanding OM2 array support |
| 187 | are pending integration; chip qualification is NOT_RUN. No roadmap row status is |
| 188 | upgraded by this note. |
| 189 | |
| 190 | 2026-11-06: kernel-family API shell decisions (shape, alignment, overflow, refusal, FP8 pack, slot table) now default to seeded Omega in `om/api/`. The previous C expressions stay behind `CUDAPP_MIGRATION_PENDING_C_API_SHELLS` (default off) as the differential oracle. Public entry points are unchanged. Host differential and family host/sim gates are recorded under `evidence/api-shells/2026-11-06/`. Chip tier is NOT_RUN: no GPU window was authorized. Status rows above are not upgraded. |
| 191 | |
| 192 | 2026-11-06: attention/decode/prefill/router/bf16-GEMV host buffer walks, descriptors and launch arguments now default to typed-view Omega units. `CUDAPP_MIGRATION_PENDING_ATTN_VIEWS` retains the default-OFF C oracle. Hosted runtime extents use omega-bridge `79e8c36`; this consumer remains pending bridge #71 and #73. Pointer-window dispatch avoids overall data-capacity ceilings without weakening the seed loop guard. The differential, red controls, mutants, oracle coverage, C/Omega measurements and seven existing host/sim gates are recorded in `evidence/attention-views/2026-11-06/`. This is not freestanding or chip qualification; the status rows above are unchanged. |
| 193 | ## 2026-11-06: emitter, reconvergence and fragment decisions (pending integration) |
| 194 | |
| 195 | The `feat/checkers-rest-om` lane moves hosted emitter/scoreboard decisions, |
| 196 | reconvergence admission and patch policy, all five fragment packers, result |
| 197 | sentinels and shared row compaction to seeded Omega. Source-partition |
| 198 | differentials, red controls, recompiled mutants and the focused host gates are |
| 199 | EXERCISED in `evidence/checkers-rest-2026-11-06/README.md`. The retained C oracle |
| 200 | and freestanding fallback are default-off in hosted builds; C still marshals |
| 201 | records, pointers and external effects. The runtime-view converter remains |
| 202 | pending omega-bridge #71 and #73. Chip qualification is NOT_RUN, and no roadmap |
| 203 | row status is upgraded. |
| 204 | ## 2026-11-06: engine fixture and clock scalars (pending integration) |
| 205 | |
| 206 | Qualification scalars, bounded fixture text checks, submission sizing, flush |
| 207 | words and the six engine/m16/wait/submit clock conversions now call seeded |
| 208 | Omega in `om/engine/fixture_rest.om`. C retains device, mapping, clock and proc |
| 209 | effects. The four hardware fixtures are BUILD_ONLY; their extracted logic is |
| 210 | host-differentially EXERCISED with overflow partitions and seven killed Omega |
| 211 | mutants. Receipts and the unexecuted chip runbook are in |
| 212 | `evidence/engine-fixture-rest-20261106/README.md`. Hardware qualification remains |
| 213 | NOT_RUN, and no roadmap status row is upgraded. |
| 214 | |
| 215 | 2026-11-06: native artifact JSON/ELF/manifest/version checks, decode BF16 rounding and head permutations, and matmul host-oracle error reduction default to seeded Omega. Decode retains the raw C rounding behavior for every nonfinite payload; no trust/admission policy or public API changes. The old artifact and matmul computations are default-OFF C oracles under `CUDAPP_MIGRATION_PENDING_C_NATIVE_ARTIFACT_REST` and `CUDAPP_MIGRATION_PENDING_C_MATMUL_ORACLE_GUARD`. Differential, source mutants, strong-link red controls, focused family gates and the unexecuted chip runbook are recorded in `evidence/api-attn-rest-20261106/`. Status rows are unchanged; chip qualification is NOT_RUN. |
| 216 | |
| 217 | 2026-11-06: elementwise and attention API kernel generation, scheduling, reconvergence and loop-liveness metadata now default to seeded `om/kgen/{ew,attention}_*.om` through the existing single `omega_gpu_om_ir_replay` entry. `CUDAPP_MIGRATION_PENDING_C_API_KGEN` retains the default-OFF C oracles. Complete source-derived IR, solved allocation, text and cubin differential checks, altered-IR/final-cubin controls and ten seeded semantic mutants are recorded in `evidence/api-kgen/README.md` and `evidence/api-kernel-gen-attn/2026-11-06/README.md`. Required host/model/simulator targets and byte-for-byte unit regeneration passed. This is host evidence, not chip qualification; chip NOT_RUN and the status rows above are unchanged. |
| 218 | |
| 219 | 2026-11-06: general-attention thread/shared/workspace/chunk policy, scan poison/prefix/sorted-neighbor verification and elementwise timestamp arithmetic now default to seeded Omega through strong hosted units. The C references remain behind default-OFF `CUDAPP_MIGRATION_PENDING_C_ATTENTION_HOST_POLICY`, `CUDAPP_MIGRATION_PENDING_C_SCAN_CHECK_REST` and `CUDAPP_MIGRATION_PENDING_C_CLOCK_SCALARS`. Public APIs and the inherited API kernel/view migration are unchanged. Differential, missing-unit/content red controls, source mutants and focused family receipts are recorded under `evidence/attn-host-policy-20261106/`. Chip is NOT_RUN; status rows above are unchanged. |
| 220 | |
| 221 | ## 2026-11-06: codegen fixture verification (pending integration) |
| 222 | |
| 223 | The seven exported codegen fixture verifiers now call the seeded scalar unit |
| 224 | `om/codegen/fixture_verify.om`, including freestanding builds. Golden-word |
| 225 | comparisons, refusal/error arithmetic, BF16 relations and control-word assembly |
| 226 | are Omega-owned; C only invokes encoders and marshals their words. Host |
| 227 | differentials, seven killed Omega mutants, a corrupted-golden red control and |
| 228 | the focused hosted/freestanding gates are EXERCISED in |
| 229 | `evidence/codegen-fixture-verify-20261106/README.md`. Chip qualification is |
| 230 | NOT_RUN. No roadmap status row is upgraded. |