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 / issues / D13-disassembler.md

14 lines · 1108 bytes Raw Blame History Rendered
1# D13: my own disassembler, in plain text a person can read
2
3Labels: 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
12the generated binding `src/cudapp_om_sm121_dis.c`); the hand-written C decoder is the migration-pending differential
13oracle (`CUDAPP_MIGRATION_PENDING_C_DISASM`). On the whole corpus of 3,191 kernels (1,237,248 words) its text equals
14nvdisasm 13.0.85's (`evidence/C6-DISASM-OM/`). Still open: the control word printed in words and the timing view.