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 / evidence / qmma-probe-rest-20261106 / README.md

89 lines · 4553 bytes Raw Blame History Rendered
1# QMMA probe residual migration — 2026-11-06
2
3Base `feat/omega-codegen-a` at `af70a66cf94e`.
4
5IMPLEMENTED: mark recognition and little-endian reads use strong
6`omega_qm_host`. Patch-selftest IR construction uses strong `omega_qm_self`,
7which reuses the existing QMMA record initializer, allocator bookkeeping,
8scheduler and packer. No existing instruction generator was ported again.
9The selftest's opcode/mask checks and packed class counts run in Omega;
10C retains buffers, replay/encode/patch calls, traversal and diagnostics.
11Old hand-written computation remains only under default-OFF
12`CUDAPP_MIGRATION_PENDING_C_QMMA_PROBE_REST=1`. Public API is unchanged.
13The existing family differential explicitly enables the independent old oracle.
14
15Owned files: `om/codegen/qm_host.om`, `om/codegen/qm_self.om`, unit registry,
16generated binding C/header/ident, `src/omega_blackwell_codegen_qmma.c`,
17`mk/codegen-a.mk`, `tests/qmma_probe_rest_test.c`,
18`tests/qmma_probe_rest_mutants.py`, oracle flag in the existing differential,
19ROADMAP note and this receipt. Unit registration commit: `49b83714`.
20
21## Commands and observed results
22
23All runtime commands use this required device-isolating prefix:
24
25```
26bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10
27```
28
29* `make -s -j3 test-qmma-probe-rest`: rc 0,
30 `QMMA-REST SELFTEST IR/ENCODED/CUBIN IDENTITY PASS`,
31 `QMMA-REST DIFF PASS cases=2949`; intentionally flipped result fails case 1,
32 then `QMMA-REST RED PASS`.
33* With `OMEGA_OMC=~/work/cudastack/omega-mv/seed/out/omc` and
34 `OMEGA_BRIDGE=~/work/cudastack/omega-bridge`,
35 `make -s -j3 test-qmma-probe-rest-mutants`: rc 0,
36 `QMMA-REST MUTANTS PASS (8 killed)` and both
37 `QMMA-REST STRONG-LINK host PASS` / `QMMA-REST STRONG-LINK self PASS`.
38* `make -s -j3 test-codegen-qmma-diff test-codegen-qmma-host test-codegen-tgemm-sim`:
39 rc 0. QMMA host final `GPU_QMMA_PROBE: PASS` with zero failures;
40 family differential final `CODEGEN QMMA DIFF PASS (714275 cases)`,
41 including full cubin identity, 94-value exhaustive iteration bit-basis,
42 iteration-dependence mutant and flipped-record mutant caught.
43 Existing TGEMM host and simulator both end `GPU_TGEMM: PASS`;
44 all five simulator cases match both schedules and four mutants are caught.
45 The existing QMMA host gate checks its arithmetic model; there is no
46 QMMA warp-simulator option, so the adjacent existing codegen-family
47 TGEMM simulator gate is reported separately, not as QMMA chip execution.
48
49EXERCISED: spec partition, red control, eight source mutants, both link
50controls, selftest/full-family cubin identity, family host/model and existing
51TGEMM simulator PASS. QUALIFIED on chip: NOT_RUN.
52
53Partition axes include source opcode, immediate and word/mask transition
54values v-1/v/v+1, zero and UINT32_MAX. Little-endian reads cover each byte
55position at every byte value. Verification covers F2FP, QMMA, unmarked HMMA
56and irrelevant instructions. The original C selftest's captured IR is
57independently encoded, patched and packed, then compared byte-for-byte with
58the Omega selftest's full cubin. Matching success text is also required.
59
60| Omega source mutation | Verdict |
61| --- | --- |
62| HMMA marker opcode 16 → 15 | KILLED |
63| read byte shift 8 → 9 | KILLED |
64| F2FP golden word -1 | KILLED |
65| QMMA golden opcode +1 | KILLED |
66| HMMA golden word +1 | KILLED |
67| F2FP class count increment -1 | KILLED |
68| selftest store offset 64 → 68 | KILLED |
69| selftest F2FP source subregister 1 → 0 | KILLED |
70
71Converter or link errors are not mutant kills. The two strong-link controls
72remove each implementation in turn and require its unresolved symbol.
73The unchanged seeded compiler/converter pins are recorded by `om/units.sh`.
74Compiler: `omega-mv e5b32567`, SHA-256
75`2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`.
76
77WolframLanguageEvaluator:
78`{16^^ffff,16^^ffffff00,16^^723e,16^^048070ff,16^^727a,16^^2c00,16^^723c,16^^41800,2+1+256+65536,2^64-1}`
79→ `{65535,4294967040,29246,75526399,29306,11264,29244,268288,65795,18446744073709551615}`.
80These are exact integer opcode masks/counts, not measured hardware figures.
81
82## Chip runbook — NOT_RUN
83
84After an operator-authorized exclusive window, run the existing
85`gpu_qmma_probe_test` hardware probe and peak sweep, recording this source
86revision, seed, all model/layout/negative-control output and final verdict.
87Do not use host selftests as chip qualification. No GPU device, live service,
88module or GPU lock was touched here. Full `make test` is integrator-owned.
89MERGED/DEPLOYED: no.