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 / issues / D13-disassembler.md
| 1 | # D13: my own disassembler, in plain text a person can read |
| 2 | |
| 3 | Labels: D13 |
| 4 | |
| 5 | **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. |
| 6 | |
| 7 | **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. |
| 8 | |
| 9 | **Done when.** It agrees with `nvdisasm` on every library kernel, and nothing in the tree calls `nvdisasm`. |
| 10 | |
| 11 | **Status 2026-11-07 (CUDA++ C6, DRA-475, host only).** The decoder is seeded Omega (`om/disasm/sm121_dis.om`, through |
| 12 | the generated binding `src/cudapp_om_sm121_dis.c`); the hand-written C decoder is the migration-pending differential |
| 13 | oracle (`CUDAPP_MIGRATION_PENDING_C_DISASM`). On the whole corpus of 3,191 kernels (1,237,248 words) its text equals |
| 14 | nvdisasm 13.0.85's (`evidence/C6-DISASM-OM/`). Still open: the control word printed in words and the timing view. |