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 / chip-gates-shared-20261112 / README.md.correction.json
| 1 | { |
| 2 | "corrects": "evidence/chip-gates-shared-20261112/README.md", |
| 3 | "written": "2026-11-12", |
| 4 | "found_by": "independent review of head b1818e36bd4d75d5909b84285d00903694b39849 (omp, xai-oauth/grok-4.7), finding 1", |
| 5 | "refused_sentence": "Since the per-chunk record (`av_ew_rec`) replaced the per-chunk plan call, that slot is not per chunk: a 4096-element EX2 copied 524288 bytes out of the device buffer into a 16384-byte result buffer.", |
| 6 | "also_stated_in": "the commit message of 97fc9eb394c65d7ae64b067b9d3efd53206da68c (not amended)", |
| 7 | "why_refused": "For n = 4096 the hosted plan (omega_api_ew_plan mode 2, ap_plan(AP_EW,2)) returns p[10] = 16384 and av_ew_rec returns rec[0] = 4096, so bytes = p[10] equals ni * 4 and that call cannot overflow. The README also cited a gdb backtrace that was not saved with the receipt.", |
| 8 | "measured": { |
| 9 | "reviewer_host_probe": { |
| 10 | "n=4096": { |
| 11 | "p8": 4096, |
| 12 | "p9": 32, |
| 13 | "p10": 16384, |
| 14 | "rec0": 4096 |
| 15 | }, |
| 16 | "n=131072,131073,135168,1572864": { |
| 17 | "p10": 524288, |
| 18 | "first_rec0": 131072 |
| 19 | }, |
| 20 | "tail_remain=1": { |
| 21 | "rec0": 1 |
| 22 | } |
| 23 | }, |
| 24 | "chip_reruns_at_5783a549": { |
| 25 | "receipt": "evidence/elementwise-tail-chunk-20261112/", |
| 26 | "run_1_unbuffered": "twelve cases pass; swiglu_131073 returns rc=UNWRITTEN with calls=2 and unwritten=131071 (its mutant call too); the process then exits 139, and this run does not show in which call", |
| 27 | "run_2_gdb": "a separate process: SIGSEGV in memcpy from run_abc from run_1d; copy length 524288 bytes (x5 - x0); x2 reads 520112 and x3 0xfffff4bfffd0 at the fault (loop registers, not interpreted); run_1d holds 131073 and 1" |
| 28 | } |
| 29 | }, |
| 30 | "corrected_statement": "The affected call is the last chunk of a call longer than one chunk (first reached: swiglu_131073, a tail of one element). run_1d launched and copied it with the plan's p[10], the full chunk's 524288 bytes, instead of the chunk's own 4 bytes. Run 1 shows the 131071 unwritten words; run 2, a separate process, shows a 524288-byte copy faulting in a call with n = 131073.", |
| 31 | "stands": [ |
| 32 | "every exit code and log in before-5783a549/ and after-97fc9eb3/", |
| 33 | "the resident findings and the resident pass", |
| 34 | "the fix in 97fc9eb3 (bytes = ni * 4)" |
| 35 | ], |
| 36 | "do_not_use_as_evidence": "the refused sentence, in the README or in the commit message" |
| 37 | } |