interplane.Get Omega
Read in your language

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

branch main Branches Tags History

CUDApp / docs / learn53 / CONTINUATION-COMMANDS.md

61 lines · 3106 bytes Raw Blame History Rendered
1# Continuation reconstruction
2
3Run on Linux AArch64. Source revision and resulting hashes are named in
4`evidence/LEARN53-L777-CONTINUATION/RECEIPT.md`. Use a fresh private output
5directory; commands are disclosed existing development orchestration, not a
6shipped native runner, installer, performance harness or complete build cutover.
7
8Reuse the previously reconstructed source-only toolchain at bridge
9`0fc7d8662cb799e7c206b17c18ea4c3ec2b8fea9`. Check `sha256sum` of
10`build/bootstrap/omc` equals
11`191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9`.
12
13Export exact committed CUDApp sources with `git archive "$REV"`; do not use a
14mutable worktree. Export upstream source with:
15
16```sh
17git -C "$OMEGA" show 84d03c5523f39ca1045d1c313c5f62597779462b:src/learning/benchmark/core.om > "$OUT/omega-core.om"
18sha256sum "$OUT/omega-core.om"
19```
20
21Require `a5a2e74c815f9ca6a90dbdfbfc7ecc343f0362c824064f2058e9d1d7c119c40c`.
22The corresponding upstream `tests/learning/benchmark/core-test.om` must build
23and run with this source first; expected `BENCHMARK_CORE_PASS` and185.
24
25Ordered concatenation lists (no hidden source inputs):
26
27- catalog: task.om, catalog.om, tests/learn53/fixtures.om, catalog-fixtures.om, catalog-unit.om.
28- omega: upstream omega-core.om, task.om, catalog.om, omega-adapter.om, tests/learn53/fixtures.om, catalog-fixtures.om, omega-unit.om.
29- catalog-export: task.om, catalog.om, tests/learn53/catalog-export.om.
30- catalog-check: task.om, catalog.om, tests/learn53/catalog-check.om.
31- original-core/frame/stream: unchanged commands in evidence/LEARN53-L777/COMMANDS.md.
32
33Product basenames above resolve under native/learn53; test basenames under
34tests/learn53. Assemble each ordered list into a private translation unit, then:
35
36```sh
37quiet-build timeout 30 "$OMC" < "$OUT/unit.om" > "$OUT/unit.elf" 2> "$OUT/compile.stderr"
38# Require compile exit0 before any execution; empty output is not an ELF.
39test -s "$OUT/unit.elf"
40readelf -h "$OUT/unit.elf"
41chmod 700 "$OUT/unit.elf"
42timeout 10 "$OUT/unit.elf"
43sha256sum "$OUT/unit.elf"
44```
45
46Catalog expected83 PASS lines; Omega adapter160 PASS lines; original core77
47and frame17. Every test main returns fixed1 for any failed assertion.
48For each byte ID1..8, route it to catalog-export, save stdout as task-N.cul;
49prepend that same selector byte and route the result to catalog-check (exit0).
50Empty input or two selector bytes must yield exporter65; byte0 or9 yields77.
51No failure may emit a partial task. Save all stdout/stderr/status.
52
53The three compiled negative-control copies change only omega-adapter.om:
54ignore-outcome passes0 to lattempt; omit-task calls lbegin7; ignore-length
55passes expected length as observed length. Unchanged160-check suite must fail
56with nonzero status after successful compilation. Original sources remain
57unchanged. Raw source copies and outcomes are preserved in evidence.
58
59Host command timings/RSS, where recorded, are coarse process observations only;
60LC unit fixture values are NOT those measurements. Full lifecycle cost and
61energy remain UNKNOWN. No GPU launch, candidate sandbox or model is invoked.