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