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 / attn-any / 2026-11-06 / README.md

118 lines · 5231 bytes Raw Blame History Rendered
1# Any-shape attention host evidence — 2026-11-06
2
3Status: IMPLEMENTED; host/simulator EXERCISED as recorded below. Hardware QUALIFIED: NOT_RUN. MERGED / DEPLOYED: NOT_RUN. This directory records selected terminal output, not an invented raw transcript. Home paths are rendered as `~` in this receipt.
4
5Source: branch `feat/attn-any`; attention implementation `06b2a82`; simulator predicate repair `732e10a`; prerequisite generic replay `22ebf8f`. Compiler omega-mv `e5b32567`, omc SHA256 `2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f`. New API and kernel documentation: `om/attn-any/README.md`. Draft PR: https://github.com/aien-dev/CUDApp/pull/282.
6
7## Seeded generation — PASS
8
9Command (rc 0):
10
11```sh
12taskset -c 10-14 nice -n 10 env \
13 OMEGA_OMC=~/work/cudastack/omega-mv/seed/out/omc \
14 OMEGA_BRIDGE=~/work/cudastack/omega-bridge sh om/units.sh
15```
16
17Final line: `wrote checked portable Omega units to .../lanes/Attention/src`.
18
19## Predicate regression — red then green
20
21Command: `taskset -c 10-14 nice -n 10 make -j3 test-sim-predicates`.
22
23Before the simulator repair: rc 2, final test line `warp-sim predicates: FAIL`.
24After the repair: rc 0, final test line:
25
26```text
27warp-sim predicates: PASS (masked LDG/ST, unmasked negatives, guarded SHFL)
28```
29
30The regression checks masked lane memory operations against a one-word allowed range; deliberately unmasked LDG and STG must be rejected by the memory checker. Guarded SHFL must update only guarded destination lanes but can source a guard-inactive lane's pre-write register value.
31
32## Existing simulator consumers — PASS
33
34Job `bg_441`, rc 0, measured wall time 1279.14 seconds. Commands:
35
36```sh
37taskset -c 10-14 nice -n 10 make -j3 \
38 test-gpu-decode-attn test-gpu-router test-gpu-bf16-gemv \
39 test-gpu-fp8gemm test-gpu-cmdlist test-gpu-decode-attn256 test-gpu-gdn \
40 build/gpu_gdn_multi_test build/gpu_exact_head_test
41taskset -c 10-14 nice -n 10 build/gpu_gdn_multi_test --sim
42taskset -c 10-14 nice -n 10 build/gpu_exact_head_test --sim
43```
44
45All nine existing simulator consumers found by include/dependency search passed, including their existing negative controls. No existing target depended on the incorrect unconditional default-op execution. Selected final simulator lines:
46
47```text
48gpu_router_test: 15 checks, 0 failed: PASS
49gpu_bf16_gemv_test: 23 checks, 0 failed: PASS
50gpu_fp8gemm_test: 21 checks, 0 failed: PASS
51sim: 74 checks, 0 failed: PASS
52gpu_decode_attn256_test: 14 checks, 0 failed: PASS
53gpu_gdn_test: 46 checks, 0 failed: PASS
54gpu_decode_attn_test: 12 checks, 0 failed: PASS
55gpu_gdn_multi_test: 14 checks, 0 failed: PASS
56gpu_exact_head_test: 9 checks, 0 failed: PASS
57```
58
59## Full host gate — NOT_RUN here
60
61Main's updated full-suite policy directs lanes that have not started `make test` to skip it because concurrent lanes overload the shared build cores. Integrator owns the deadline-free full gate on `integ/omega-cuda-stack`, draft PR #280. No `CUDA++ HOST TESTS PASS (...)` line is claimed by this lane.
62
63## Chip — NOT_RUN
64
65No GPU window authorized; no chip execution performed. Runbook: `om/attn-any/CHIP.md`. Simulator success is not chip qualification and does not upgrade the ROADMAP row.
66
67## Attention reference, shape sweep and source mutants — PASS
68
69Job `bg_473` ran the following focused chain:
70
71```sh
72taskset -c 10-14 nice -n 10 env \
73 OMEGA_OMC=~/work/cudastack/omega-mv/seed/out/omc \
74 OMEGA_BRIDGE=~/work/cudastack/omega-bridge make -j1 \
75 test-gpu-attn-any-mutants test-gpu-attn-any test-runtime-api \
76 test-runtime-portability test-runtime-api-semver
77```
78
79Observed attention output:
80
81```text
82attn-any mutant KILLED: mask
83attn-any mutant KILLED: group
84attn-any mutant KILLED: normalize
85attn-any mutant KILLED: tail
86attn-any mutant KILLED: refusal
87attn-any source mutants: PASS (5 killed after successful generation)
88attn-any host+warp-sim: PASS (reference, shape sweep, refusals, wrong-mask control)
89```
90
91The chain reached and then failed `test-runtime-api` (overall rc 2, measured
92wall time 795.76 seconds). The manifest's version constants were stale at 13
93while its ABI line/header were 0.14.0, and the docs lacked the checker's
94inline-code mention of the codegen export. Both registration defects were
95corrected; the attention implementation and passing attention checks did not
96change. The remaining API/portability targets are exercised separately.
97
98## Runtime API, portability and semver — PASS after repair
99
100Job `bg_504`, rc 0, measured wall time 990.47 seconds:
101
102```sh
103taskset -c 10-14 nice -n 10 make -j1 \
104 test-runtime-api test-runtime-portability test-runtime-api-semver
105```
106
107Selected final lines:
108
109```text
110RESULT: PASS (runtime API 0.14.0: 307 functions, 48 structs, 465 fields, 240 constants match the headers; surface 744 names, 197 INTERNAL)
111RESULT: PASS (every negative control was caught)
112PASS: 152 rows, every omega_gpu_* / omega_blackwell_* / omega_bw_* / omega_ampere_* file in src/ has one and the rows agree with the includes
113ALL CONTROLS BEHAVED AS REQUIRED
114RESULT: PASS (version 0.13.0 -> 0.14.0; the entry changes need MINOR)
115```
116
117No attention implementation changes occurred between its passing shape/mutant
118checks and this documentation/manifest registration repair.