interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / gpu / import / step3-om-backend / README.md

41 lines · 2665 bytes Raw Blame History Rendered
1# How step 3 came from CUDApp (2026-11-14)
2
3Source: CUDApp (rad:z4RxD8vXigmWg61nM8miQ8DVPAXEP) main `84b524cadaaa8bc9b556adfaea9d6dd2e0d67a66`, from a fresh clone
4of `https://www.aienos.com/rad/z4RxD8vXigmWg61nM8miQ8DVPAXEP.git`.
5
6Tool: git filter-repo (`filter-repo.version`), a host tool used once for this import. It is not part of any build
7or gate. One pass, `filter-repo-command.txt`, with the selections and renames in `paths.txt`:
8
9| Kept (CUDApp) | Renamed to |
10| --- | --- |
11| `om/**/*.om`, except `om/encoder/bw_enc_sm121.om`, `om/components/bw_alloc.om`, `om/cubin/cubin_elf.om` (step 2 has them at the lock commit) | `gpu/nvidia/om/` |
12| `backend/spirv/*.om` | `gpu/spirv/` |
13| `backend/hw/*.om`, `backend/hw/manifest.tsv` | `gpu/hw/` |
14| `backend/targets.om` | `gpu/targets.om` |
15
16The rewritten branch (356 commits) was merged with `git merge --allow-unrelated-histories`. Every file in that
17history matches one of the kept patterns: Omega source and the one table `hwman` reads. Three of those paths were
18deleted in CUDApp before the source commit and so appear only in history, not in the tree:
19`gpu/nvidia/om/codegen-tc/cg_tc.om`, `gpu/nvidia/om/codegen-tc/cg_tc_emit.om` and `gpu/nvidia/om/disasm/fimm_probe.om`.
20
21- `commit-map`: "old new" for every CUDApp commit reachable from the source commit; forty zeros for a commit that
22 touched none of the kept paths. Look a CUDApp hash up with `grep '^SHA' gpu/import/step3-om-backend/commit-map`.
23- `ref-map`: the one rewritten branch.
24
25Commit messages, authors and dates are kept; a CUDApp hash named in a message is still the CUDApp hash
26(`--preserve-commit-hashes`). CUDApp itself was not changed.
27
28## Changed after the import
29
30Two moved files are no longer byte-equal to their CUDApp copies. The commit that changed them came after step 3 was
31merged into main. It keeps home paths and machine names out of the tree:
32
33- `gpu/nvidia/om/cache/templates_fixture.om`, line 3: a `note` named the fixture's folder by its full home path. It now
34 gives the folder's name only. A `note` is not compiled, so the fixture program is the same binary as before.
35- `gpu/hw/manifest.tsv`, rows `tpu-google-edge` and `dpu-bluefield`: the blocker column named the test host by its
36 machine name. It now says "the DGX Spark test host". `hwman` does not print that column, so `hwman check` and
37 `hwman doctor` print the same output as before.
38
39The imported history still holds the old lines, because a commit is never rewritten. CUDApp's own evidence keeps the
40digests of its own copies: `om/cache/templates-evidence.json` and `evidence/HW-MANIFEST-*`. Those digests describe the
41CUDApp files, not these two files.