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/tree/main/evidence/graph-table-tail-20261106 # 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 / evidence / graph-table-tail-20261106` `b2e3d13` fix(graph): preserve nonrotary gather tail indices Drake Stapleton committed 2026-11-06 ``` .. README.md 2738 ``` README.md # Graph rotary-tail repair Base: #322 `b459d248e20f`. The existing q38 host gate was run before editing in a fresh worktree with an empty build directory. It failed four of nine checks: the 24/4 and 16/4 gather tables had incorrect q/k tails and repeated indices. This establishes the defect independently of head-scale work. Root cause: `grperm` returned `r + i - r/2` in the nonrotary second-half tail. The source C oracle, `omega_dattn256_perm_slot` in src/omega_gpu_decode_attn256_api.h, returns i. The repair restores that branch; no interface change. ## Commands and results All tests used `bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10`. - Before edit: `make -j3 test-gpu-q38-graph-host OMEGA_OMC=~/work/cudastack/omega-mv/seed/out/omc OMEGA_BRIDGE=/tmp/bridge-73-apiviews`: rc 2, `gpu_q38_graph_test (host-only): 9 checks, 4 failed: FAIL`. No unit regeneration occurs in this target; it used the committed generated C from #322. Artifact: artifact://9265. - Regeneration: `OMEGA_SEED=~/work/cudastack/omega-bridge/build/bootstrap/omc OMEGA_OMC=~/work/cudastack/omega-mv/seed/out/omc OMEGA_BRIDGE=/tmp/bridge-73-apiviews sh om/units.sh`: rc 0. Unchanged compiler and converter pins from #322. - After edit: `make -j3 test-gpu-q38-graph-host`: rc 0, `gpu_q38_graph_test (host-only): 9 checks, 0 failed: PASS`. Artifact: artifact://9274. - `OMEGA_OMC=~/work/cudastack/omega-mv/seed/out/omc OMEGA_BRIDGE=/tmp/bridge-73-apiviews python3 om/graph/table-mutants.py`: rc 0, `PASS graph table five compiled mutants`. Killed original-tail, tail-zero, tail-plus-one, pair-boundary, rotary-half. The original-tail mutant reinstates the exact defect. The regression checks every table entry for both model shapes against an independently written C permutation oracle, including the rotary/nonrotary boundary. ## Reachability q38 IS reachable from `make test`: Makefile HOST_TESTS includes CARRIED_HOST_TESTS, mk/carried-tests.mk line 69 registers test-gpu-q38-graph-host and its recipe uses --host-only. The q36 graph path is covered by test-model-graphs-om and test-model-graphs-nested in mk/model-graphs.mk; there is no separately named q36 host target in this base. This repair does not explain a previous integrated full-gate PASS; inspect that gate's exact integrated inputs rather than infer omission. ## Hardware runbook Chip NOT_RUN, no authorized GPU window. With a future explicit window, execute the q38 chip graph test on both supported shapes with pinned model/weight inputs; compare baseline and command-list paths and record in a new receipt. Host permutation repair is not chip qualification. IMPLEMENTED and EXERCISED host-only. Not MERGED or DEPLOYED. No historical receipt is changed.