Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienos.com/blob/main/om/lab-page/lab.om # aienos.com Source of www.aienos.com, served from my own hardware Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienos.com / om / lab-page / lab.om` 159 lines · 13873 bytes Raw Blame History 1 note /lab/ page structure authored in seeded Omega. Run with the pinned hive-page omc; check.sh feeds the 2 note captured sources on fds 3, 6 and 7 and every captured byte is escaped by emit before it reaches the page. 3 text t0 "
\n
\n
\n

OMEGA LAB · NOTHING TO INSTALL

\n

Write a kernel.
Run it in one click.

\n

This is a data-parallel kernel in Omega, the language I build for programs written with AI. Press Run and it executes in this tab as WebAssembly, with its result checked element by element. Edit it and press Compile: my compiler builds it on my DGX Spark and sends the WebAssembly back.

\n\n
\n

Omega, on this page

  • Any modern browser
  • The compiler and wasm back end: see record.tsv, in the site repo
  • omc build of this kernel: see record.tsv
\n
\n

Measured on my DGX Spark at 2026-10-27T00:42:59Z, load1 8.15, on 2 of 20 CPU cores. omc built the Omega kernel and host loop in 1.881 ms, the median of 7 builds. The measurements and commands are in" 4 text t1 " record.tsv · record.sh

\n
\n
\n

01 / RUN IT

\n

The Omega kernel.

\n
\n
Omegaaxpy.om · editableForge
\n" 6 text t3 "
\n
\n\n\n\n\n\n\n
\n

Loading the prebuilt kernel.

\n

\n
\n
Omega kernel, WebAssembly, this tab
not run yet
\n
Kernel checksum
not run yet
\n
Kernel throughput
not run yet
\n
Compile on my Spark
press Compile
\n
Round trip from this tab
press Compile
\n
Compiler pins
press Compile
\n
\n

How the check works: for every element the kernel computes y[i] = a·x[i] + y[i] with x[i] = i and y[i] = 2i + 1, and returns the sum of all results. An independent reference computes the same sum to check the result. The page calls run in blocks of at most 999,999 elements, keeping each call within the loop bound. Times are the median of three runs in a worker on your device. Integers only for now: the pinned WebAssembly path does not take f32 yet. Signed integer overflow traps. Break it on purpose changes add to sub so you can watch the check catch it.

\n
\n
\n

02 / ONE SOURCE, EVERY BACK END

\n

What my compiler actually emitted.

\n

Recorded on my DGX Spark by record.sh, except the WebAssembly, which is whatever this tab is running right now.

\n
WebAssemblyruns in this tab

Loading.

axpy.wasm on the forge

\n
AArch64ran on the Spark CPU
"

7 text t4 "

aarch64.txt on the forge

\n
SPIR-Vvalidated, ran on PoCL (CPU)GPU: NOT_RUN
"

8 text t5 "

spirv.txt on the forge

\n" 9 text t6 "
\n
\n

03 / EXECUTION RECEIPTS

\n

Where it has run, and where it has not.

\n
\n\n\n\n\n\n\n\n\n
WhereWhat ranElementsTimeCheckEvidence
Your device, this tabthis kernel, Omega to WebAssemblypress Runpress Runpress Runkernel
DGX Spark, Arm CPUthis kernel, Omega to AArch64, whole process1,048,576see record.tsvMATCH; sub control failsaarch64.txt
DGX Spark, Arm CPUthis kernel, Omega to SPIR-V on PoCL1,000not timedMATCHspirv.txt
GB10 GPUvector add in asm2 (not this kernel)1,048,576214,257 ns launch to done0 wrongomega-mv SEED-0 omega-mv `3e3da942ad630035ff773982b1aba89b36ba76d6`
GB10 GPUhello_gpu float add, kernel from my own builder (not this kernel)1,048,576947.5 µs GPU0 wrongCUDApp log CUDApp `2b4b2b14f1c67473b80878d2eff73b32b3522d54`
GB10 GPUthis kernel from omcNOT_RUN: omc has no SASS lowering for it yetomega-mv
\n

These are dated receipts for the named kernels, sizes and machine load. The GB10 runs use driver-loaded signed firmware on DGX OS. The asm2 run shared the machine at load1 61; the hello_gpu run had a quiet window.

\n
\n
\n

04 / ASK FOR A KERNEL

\n

Let Aien write the next one.

\n

Aien is my assistant. It runs on my GB10 and writes Omega in the chat, with the same compile and run buttons you just used.

\n

Talk to Aien source

\n
\n
\n

05 / TAKE IT HOME

\n

Take it home: not open yet.

\n

The take-home is three lines from a clone of this site's repository, which is moving to Interplane, my own forge. Downloads are not open yet, so there is no command here today. On Linux on 64-bit Arm it checks the compiler pins, builds the kernel, runs it, checks against an independent reference, runs the broken control and writes the same axpy.wasm this page runs. Other machines get a plain NOT_RUN and a pointer back here. Read run.sh first.

\n" 10 text t7 "

Start your own kernel repository.

\n

One command makes a public repository from my template. Edit kernel.om and the independent reference beside it, push, and GitHub's ubuntu-24.04-arm runner builds your kernel for AArch64 and SPIR-V, runs both (SPIR-V on PoCL, a CPU), and checks every result against the reference. No GPU runs there.

\n
gh repo create my-kernel --template aien-dev/omega-kernel-template --public --clone
\n

omega-kernel-template · passing check (omega-kernel-template CI run `40426781699`) · failing control: an overflowing kernel must fail (omega-kernel-template CI run `40426783628`)

\n

Do not trust my compiler? Rebuild it.

\n

The seed challenge rebuilds the Omega seed chain from 408 bytes and must land on the same fixed output. It passes on GitHub's own ubuntu-24.04-arm runner, and its tampered-rung, wrong-value and forged-log controls fail as required. From a fresh full clone of omega-mv main (`52eba88`) on my Spark it printed CHALLENGE PASS in 1.06 s wall. It is a fixed-output reproducibility match, not general self-hosting and not diverse double compiling. It needs the full history of omega-mv, which is moving to Interplane with the rest of my code; downloads are not open yet. From a full copy of omega-mv:

\n
cd omega-mv\nsh seed/challenge/run.sh
\n

CHALLENGE.md · omega-seed-challenge CI run `40426178383` · post your result (omega-seed-challenge issues)

\n

The GPU bench kit: kernels withdrawn.

\n

On 2026-10-27 I withdrew the bench kit's GPU binaries and encoder pending a clean-room rewrite. The kit ships no kernel and ./run prints NOT_RUN on every GPU. Its board retains three earlier rows, not timed. The kit's own run on real hardware: NOT_RUN.

\n

omega-gpu-bench: the board and receipts.json live in the aien-dev/omega-gpu-bench repository, which has no public page yet.

\n
\n

Page structure and script generated by seeded Omega: om/lab-page.

\n
\n" 11 text amp "&" 12 text less "<" 13 text more ">" 14 fn emit s view uchar 65536 n ulong to int 15 pos = ulong 0 16 start = ulong 0 17 while lt pos n bound 65536 18 b = get s pos 19 if or eq b 38 or eq b 60 eq b 62 20 if gt pos start 21 k = write 1 s start sub pos start 22 if ne k long sub pos start 23 ret 1 24 end 25 end 26 if eq b 38 27 k = write 1 amp 0 len amp 28 if ne k long len amp 29 ret 1 30 end 31 else 32 if eq b 60 33 k = write 1 less 0 len less 34 if ne k long len less 35 ret 1 36 end 37 else 38 k = write 1 more 0 len more 39 if ne k long len more 40 ret 1 41 end 42 end 43 end 44 start = add pos 1 45 end 46 pos = add pos 1 47 end 48 if gt n start 49 k = write 1 s start sub n start 50 if ne k long sub n start 51 ret 1 52 end 53 end 54 ret 0 55 end 56 fn include fd int to int 57 buf = new uchar 65536 0 58 total = ulong 0 59 while true bound 65536 60 n = read fd buf 0 len buf 61 if lt n 0 62 ret 2 63 end 64 if eq n 0 65 if eq total 0 66 ret 3 67 end 68 ret 0 69 end 70 total = add total ulong n 71 if gt total `1048576` 72 ret 4 73 end 74 r = emit buf ulong n 75 if ne r 0 76 ret r 77 end 78 end 79 ret 5 80 end 81 fn main to int 82 pos = ulong 0 83 while lt pos len t0 bound 65536 84 n = write 1 t0 pos sub len t0 pos 85 if le n 0 86 ret 1 87 end 88 pos = add pos ulong n 89 end 90 pos = ulong 0 91 while lt pos len t1 bound 65536 92 n = write 1 t1 pos sub len t1 pos 93 if le n 0 94 ret 1 95 end 96 pos = add pos ulong n 97 end 98 r = include 3 99 if ne r 0 100 ret r 101 end 102 pos = ulong 0 103 while lt pos len t2 bound 65536 104 n = write 1 t2 pos sub len t2 pos 105 if le n 0 106 ret 1 107 end 108 pos = add pos ulong n 109 end 110 pos = ulong 0 111 while lt pos len t3 bound 65536 112 n = write 1 t3 pos sub len t3 pos 113 if le n 0 114 ret 1 115 end 116 pos = add pos ulong n 117 end 118 r = include 6 119 if ne r 0 120 ret r 121 end 122 pos = ulong 0 123 while lt pos len t4 bound 65536 124 n = write 1 t4 pos sub len t4 pos 125 if le n 0 126 ret 1 127 end 128 pos = add pos ulong n 129 end 130 r = include 7 131 if ne r 0 132 ret r 133 end 134 pos = ulong 0 135 while lt pos len t5 bound 65536 136 n = write 1 t5 pos sub len t5 pos 137 if le n 0 138 ret 1 139 end 140 pos = add pos ulong n 141 end 142 pos = ulong 0 143 while lt pos len t6 bound 65536 144 n = write 1 t6 pos sub len t6 pos 145 if le n 0 146 ret 1 147 end 148 pos = add pos ulong n 149 end 150 pos = ulong 0 151 while lt pos len t7 bound 65536 152 n = write 1 t7 pos sub len t7 pos 153 if le n 0 154 ret 1 155 end 156 pos = add pos ulong n 157 end 158 ret 0 159 end