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/CUDApp/issues/181266dcd2d2e6de # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # D13: finish the independent disassembler and remove nvdisasm execution dependencies Open · #10 · open 2026-10-22 15:05 UTC Imported from GitHub aien-dev/CUDApp#10, by drakestapleton drakestapleton wrote on 2026-10-22 15:05 UTC ## Priority and execution ownership Priority 4: finish and integrate existing disassembler. L386; aien-dev/omega-mv#614, branch c6/disasm. Do not start a replacement disassembler. ## Source draft docs/issues/D13-disassembler.md at `232332422bfdc31c8918085b50f13c1e18ab702e` # D13: our own disassembler, in plain text a person can read Labels: D13 The pain. PTX "is only partially documented, constantly shifting between hardware generations, and effectively a black box for developers." (Modular). CUDA++'s host tests still call NVIDIA's `nvdisasm` as a cross-check when it is installed. What is left. A disassembler built from CUDA++'s own encoder tables, printing each instruction with its control word (stall, barriers) in words, and a timing view like the motor's. Omega bar C6, ledger L386. Done when. It agrees with `nvdisasm` on every library kernel, and nothing in the tree calls `nvdisasm`. ## Acceptance gate binding C6: own disassembler agrees with the pinned independent nvdisasm oracle on every library kernel. Production and regular test paths no longer execute nvdisasm. Oracle/version/corpus hashes and all mismatch/refusal results belong in evidence; plain instruction/control-word output and timing view from the draft remain in scope. The source draft may predate completed host work; inspect the existing implementation and receipts before claiming or assigning a rewrite. ## Mandatory closure gate Do not close from a branch push, a simulator-only result for a chip requirement, an agent summary, or a merged PR alone. Do not use auto-closing `Fixes`/`Closes` keywords in a PR until the full gate below is actually met. - Link the full tested source SHA for every affected repository and the integrated/merged SHA. If a rebase, pin change, or merge changes executable inputs, qualify the resulting exact commit again. - Link a committed public receipt and raw logs under `evidence/`: exact command and flags, compiler/tool and binary hashes, source/pin SHAs, machine/chip/driver identity, expected result and actual exit code. - All acceptance checks pass; relevant negative controls/mutants fail for the intended reason. No skipped/waived gate or retry-until-green. - Hardware rows have actual GB10 receipts in a coordinated chip window. Host/simulator tests remain separately identified and cannot satisfy those rows. - Required dependencies are complete, independent review is recorded, and the integration owner verifies the receipt against the final artifact before closing this issue. Existing implemented pieces must be reused, not rewritten. A historical draft is provenance, not proof that its host work is still missing. Live execution, pinned CUDApp consumption, and the independent driver remain distinct claims. ## Work graph Priority anchor: https://github.com/aien-dev/CUDApp/issues/5 Scheduling/qualification prerequisites (reuse code already built; no extra worker): - https://github.com/aien-dev/CUDApp/issues/5 - https://github.com/aien-dev/CUDApp/issues/6 did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:12 UTC Recovered GitHub comment by @aien-spark on 2026-10-27T00:58:17Z. Original comment `6431045907` Duplication found while auditing the boundary "Omega owns computation, CUDApp owns GPU execution, Omega Bridge owns compatibility" (Drake's forwarded omega-bridge assessment, 2026-10-27; ARCH-0042). The disassembler this issue asks for already exists, twice, in omega-mv, and not here: - omega-mv main `e5b32567` `src/omega_sm121_disasm.c` / `.h` (288 lines): "C6: Omega's own sm_121 disassembler, first cut, and the nvdisasm comparison (L386)" (`6ba4ff0c`, 2026-10-24), then "every former nvdisasm caller now uses Omega's own disassembler" (`6fafaf42`) and a listing-security fix (`2f44aa3b`). - omega-mv `tools/sm121dis/` (`sm121dis.c`, `check.sh`, `corpus.sh`, `oracle_pairs.sh`, `zero_nvdisasm.sh`): the tool and corpus checks around it. - CUDApp main `780a0af1`: none; this issue (D13) is still open. Proposed single owner: CUDApp (decoding sm_121 machine code belongs with the encoder tables it inverts). Done when the omega-mv disassembler and its corpus/oracle checks move here with their passing state, omega-mv calls it through the CUDApp pin (same cut-over as #106), and the omega-mv copies are deleted. Negative control: a deliberately wrong encoder table entry makes the round-trip check fail. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:12 UTC Recovered GitHub comment by @aien-spark on 2026-10-27T01:02:44Z. Original comment `6431105217` Scope change (Drake, 2026-10-27, relayed by Main): "embrace the Unix philosophy and keep everything in their own repos. We can keep the repos we've got, but then we make new repos that are connected to the bigger repos." Existing code in omega-mv, omega-bridge, CUDApp etc. is not moved, split or rewritten. So this issue no longer asks for the move in its "Done when" list. What remains: - It records the duplication and the owner under ARCH-0042 (aien-dev/aien-architecture-mv#342), so new work on this responsibility goes to the owner (or to a new aien-dev repo connected to it by a pinned tag/sha), not to the copy. - The copies stay as they are. Any consolidation of existing code waits for an explicit decision by Drake; this issue is where that decision would be recorded. - Docs that misdescribe the relationship are still corrected (doc-only PRs: aien-dev/CUDApp#109, aien-dev/omega-mv#872, aien-dev/omega-bridge#25). Sign in to comment