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/blob/main/tools/latmeas/template.md # 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 branch `main` Branches Tags History `CUDApp / tools / latmeas / template.md` 30 lines · 1473 bytes Raw Blame History Rendered 1 # GB10 (sm_121) measured latencies vs NAK 2 3 Chip: NVIDIA GB10 (DGX Spark), sm_121 4 Driver: NVIDIA open kernel module , no NVIDIA user-space libraries 5 Method: dependent-chain timing kernel. Each instruction consumes the previous result, chain length N = , cycles read with , median of runs, . 6 Source: 7 How to rerun: 8 9 NAK reference: `nak/sm120_instr_latencies.rs` plus `latencies/sm100/*.csv` at Mesa commit 10 11 ## Priority 1: values CUDA++ currently borrows from NAK (needs independent measurement) 12 13 | Writer -> reader | NAK value | NAK source line | GB10 measured | Delta | Runs / spread | Kernel | 14 |---|---|---|---|---|---|---| 15 | ALU -> ALU (GPR RAW) | 4 + 1 | | | | | | 16 | FMA -> FMA (GPR RAW) | 4 + 1 | | | | | | 17 | Mixed ALU <-> FMA (GPR RAW) | 5 + 1 | | | | | | 18 | Predicate write -> guard | 13 + 1 = 14 | `latencies/sm100/pred_raw.csv` | | | | | 19 20 ## Priority 2: instructions where CUDA++ (nvcc-derived) and NAK disagree 21 22 | Instruction / pair | NAK value | nvcc sm_121 stall | GB10 measured | Agrees with | Kernel | 23 |---|---|---|---|---|---| 24 | | | | | NAK / nvcc / neither | | 25 26 ## Notes 27 - Anything not fixed-latency (LDG/LDS, scoreboard waits) is out of scope for this table. 28 - Confidence notes and anomalies go here. 29 30 The filled copy is written by `tools/latmeas/fill_template.py` into the output directory. This file stays blank: it is the form, not a result.