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 / regalloc-om / 2026-11-06 / signed-ge / README.md
| 1 | # Signed ISETP.GE simulator regression |
| 2 | |
| 3 | IMPLEMENTED and EXERCISED on the host. Hardware qualification is NOT_RUN. |
| 4 | |
| 5 | The only shared simulator change is the `BW_IR_ISETP_GE` case in |
| 6 | `tests/bw_warp_sim_tc.h`. It compares signed 32-bit source 1 with either signed |
| 7 | source 2 or the signed immediate. No other opcode, predicate-mask handling, |
| 8 | SHFL-after-exit refusal, IR enumeration, or replay field is changed. C1's |
| 9 | `7de6da63` changes the separate `tests/bw_warp_sim.h`; that file is untouched. |
| 10 | |
| 11 | The original reproduction was BF16 `frag_prog`, K=16, one row tile, not blocked: |
| 12 | its instruction 38 was refused as unmodelled opcode 10. The regression exercises |
| 13 | that case and the valid blocked/unblocked shapes through K=64. All outputs are |
| 14 | bit-identical to the existing non-contracting CPU matmul oracle. |
| 15 | |
| 16 | Command (exit 0): |
| 17 | |
| 18 | ```sh |
| 19 | bwrap --dev-bind / / --dev /dev --proc /proc -- \ |
| 20 | taskset -c 10-14 nice -n 10 sh tests/regalloc_om/sim_ge.sh |
| 21 | ``` |
| 22 | |
| 23 | Observed output: |
| 24 | |
| 25 | ```text |
| 26 | PASS signed GE host-reference cases=98 register and immediate |
| 27 | PASS existing encoder golden fixtures and vecadd SHA-256 |
| 28 | PASS matmul warp-sim cases=15 CPU oracle bit-identical |
| 29 | FAIL signed GE lhs=-2147483648 rhs=0 register=0 |
| 30 | PASS unsigned GE semantic mutant KILLED compile=0 exercise=1 |
| 31 | ``` |
| 32 | |
| 33 | The signed reference covers every pair from INT_MIN, INT_MIN+1, -2, -1, 0, 1, |
| 34 | and INT_MAX in both register/register and register/immediate forms. The negative |
| 35 | control recompiles a private header copy with only the new case changed to an |
| 36 | unsigned comparison. Compilation succeeds; the boundary test rejects it with |
| 37 | exit 1. Compile failure is not credited as a killed mutant. |
| 38 | |
| 39 | The isolated gate selects the retained C register-allocator/matmul/encoder |
| 40 | oracles so this commit can be cherry-picked before their Omega cutovers. The |
| 41 | same simulator regression is also exercised by the lane's Omega successor gate. |
| 42 | Runtime logs are in `build/regalloc-om/signed-ge/`. No device or live RM path is |
| 43 | linked by this test, and the command ran with a minimal device namespace. |