interplane.Get Omega
Read in your language

omega-bridge

Omega-first language interoperability: checked conversion backends and native language bindings

Brought by drakestapleton

branch main Branches Tags History

omega-bridge / max-cpu / README.md

21 lines · 1284 bytes Raw Blame History Rendered
1# max-cpu: Omega kernel as a MAX CPU custom op
2
3- `omatmul.om` — the kernel (seeded Omega, OM-2), built by `tools/native`.
4- `kernels/__init__.mojo` — MAX custom-op glue `omega_matmul` (`OwnedDLHandle` + dlsym).
5- `omega_max.py` — graphs, numeric check, negative controls, measurements.
6- `run.sh` — the single reproduce target; `mogg-cache-repro.sh` — the MAX cache observation.
7
8Status EXERCISED(host CPU). Evidence, pins, results and gaps: [../evidence/MAX-CPU/README.md](../evidence/MAX-CPU/README.md).
9
10Each `run.sh` invocation writes fresh evidence to a new directory under
11`$TMPDIR` (or `/tmp`) and prints `evidence=<path>`. To select a destination,
12set `EV` to a path that does not yet exist, with an existing writable parent.
13`EV` must not contain or be inside `BUILD`; the default evidence parent
14(`TMPDIR` or `/tmp`) must be outside `BUILD`. Checks resolve symlink and `..`
15aliases with GNU `realpath` before any build reset. An existing destination is
16also refused. Paths must be stable during the run; this is not a sandbox
17against concurrent filesystem renames. The committed
18`evidence/MAX-CPU/raw` directory remains the immutable original run of record.
19
20Host-only filesystem regression, without Omega, MAX or devices:
21`python3 max-cpu/test_run_evidence.py`.