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 / evidence / C6-DISASM-OM / NVDISASM-CALL-SITES.md
| 1 | # nvdisasm call sites (CUDA++ C6, DRA-475; t_81083ab1, 2026-11-07) |
| 2 | |
| 3 | Every place that RUNS NVIDIA nvdisasm (not comments or prose). "ORACLE" = the check exists to compare Omega's output |
| 4 | with NVIDIA's independent reading, offline and read-only; nothing it prints enters a kernel. "READER" = a test that |
| 5 | used nvdisasm only to read machine code back; those now use Omega's own disassembler. |
| 6 | |
| 7 | ## CUDApp (branch hive/t_81083ab1-om-disasm, base f1b50cbf) |
| 8 | |
| 9 | | file:line | what runs | class | status on this branch | |
| 10 | |---|---|---|---| |
| 11 | | tests/device-trace/run-emitter-checks.sh:100 | `nvdisasm --binary SM121 words.bin` | READER (was line 92) | REPLACED: reads with build/sm121dis (line 96); nvdisasm only when NVDISASM is set, as an ORACLE that must print the same text (40/40 equal, HOST_TESTED) | |
| 12 | | tools/artifact_smoke.sh:22 | `nvdisasm -c <cubin>` | ORACLE (container reader) | KEPT as oracle; ADDED build/sm121dis read of the kernel text role (`.text.bin`, line 17) | |
| 13 | | tools/sm121dis/check.sh:19, :55 | `nvdisasm -b SM121 -hex` per corpus kernel, `--version` | ORACLE (C6 parity) | kept | |
| 14 | | tools/sm121dis/negctl.sh:33 | `nvdisasm -b SM121 -hex` on the flipped copies | ORACLE (new negative control) | new | |
| 15 | | mk/sm121dis.mk:102, :104, :106, :109 | test-sm121-mmio: `--version`, `sha256sum`, `-b SM121 -hex` twice | ORACLE (MMIO semantic contract, issue #171) | kept | |
| 16 | | mk/om-encoder.mk:118, :125, :147, :154 | test-om-encoder-ldg / -atomg: `--version`, `-b SM121 -hex` | ORACLE (encoder exact words) | kept | |
| 17 | | tools/test_bw_spec_encoder.sh:122, :129, :136, :143, :150, :211, :217 | `-b SM121` on spec-encoder samples | ORACLE (spec encoder vs independent decoder) | kept | |
| 18 | | mk/ampere-cubin.mk:24 | `nvdisasm -c sm86.cubin` | ORACLE, sm_86 (Ampere): our decoder is sm_121 only | kept | |
| 19 | | tools/ampere_nvdisasm.py:21 (called from mk/ampere-encoder.mk:39) | `-b SM86 -hex` | ORACLE, sm_86 | kept | |
| 20 | | .github/workflows/ci.yml:37-45, :85-92; ampere-x86.yml:50-58 | installs nvdisasm 13.0.85 for the oracle jobs | ORACLE install | kept (not run here) | |
| 21 | |
| 22 | Readers that already used Omega's decoder before this branch (no nvdisasm): gpu_elementwise/fp8_api/reconv/attention/ |
| 23 | mathlibs/latmeas tests (`omega_sm121_listing`), tests/bw_hazard_test.c --disasm and tests/bw_ldg_mmio_test.c |
| 24 | (`omega_sm121_disasm`). They now run the Omega decoder (om/disasm/sm121_dis.om) through the same calls. |
| 25 | |
| 26 | ZERO-NVDISASM static check: it was FAILING at base f1b50cbf (15 lines naming the toolkit outside its 3-file exception). |
| 27 | tools/sm121dis/oracle-allow.tsv now lists those exact lines with the reason each is an oracle, interop probe or |
| 28 | negative pattern; any other line, or an edited allowed line, still fails. |
| 29 | |
| 30 | ## omega-mv (Radicle main 1a7aa1e5): reported, not changed here |
| 31 | |
| 32 | | file:line | what runs | class | |
| 33 | |---|---|---| |
| 34 | | tools/sm121dis/check.sh:18, :47 | `-b SM121 -hex`, `--version` | ORACLE (C6 parity; decoder there is still the hand-written C src/omega_sm121_disasm.c) | |
| 35 | | seed/sm121/gate6.sh:72, :82, :108 | `--version`; `-b SM121` on the edge words (nvd.bin); `-b SM121` on vecadd.bin | ORACLE ("reference reader only") | |
| 36 | | seed/kflow/kflow.om:452 (execprog), tool path from seed/kflow/m1.spec:6, specs/tmatmul16.spec:6, specs/tsoftmax.spec:6 | KernelFlow `verify` stage runs `nvdisasm -b SM<arch>` (texts `-b`, `SM` in kflow.om:17) | READER inside a pipeline stage: candidate for build/sm121dis on sm_121 jobs; sm_80 jobs (seed/kflow/sm80) have no own decoder | |
| 37 | | Makefile:376-383 (test-numeric-reduce-nvdisasm) | REDUCE_NVDISASM = build/sm121dis | already Omega's decoder (name kept for receipts) | |
| 38 | | tools/divsqrt_nvdisasm_check.sh, tools/ldst_nvdisasm_check.sh | build/sm121dis | already Omega's decoder | |
| 39 | | tools/sm121dis/zero_nvdisasm.sh:69-70 | planted calls in its own red check | negative control | |
| 40 | |
| 41 | omega-mv's src/omega_sm121_disasm.c is the same hand-written C decoder (omega-mv PR #614, merged a0eafa39). Porting |
| 42 | omega-mv to the Omega decoder is the same change as this CUDApp branch; NOT done here (CUDApp side first, per queen). |