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 / api-kernel-gen-attn / 2026-11-06 / decode256.log
| 1 | cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -I./third_party/aien-gpu-abi1 -DCUDAPP_MIGRATION_PENDING_GEMM_EX=0 -ffp-contract=off -Itests -o build/gpu_decode_attn256_test tests/gpu_decode_attn256_test.c build/libomega_gpu.a -lpthread -lm |
| 2 | ./build/gpu_decode_attn256_test --host-only |
| 3 | perm rotary 64: bijection, pairs, rope-by-permutation max abs diff 8.31e-08 over 50 positions |
| 4 | perm rotary 256: bijection, pairs, rope-by-permutation max abs diff 1.08e-07 over 50 positions |
| 5 | perm rotary 2: bijection, pairs, rope-by-permutation max abs diff 7.09e-08 over 50 positions |
| 6 | perm rotary 128: bijection, pairs, rope-by-permutation max abs diff 1.05e-07 over 50 positions |
| 7 | perm rotary 32: bijection, pairs, rope-by-permutation max abs diff 1.05e-07 over 50 positions |
| 8 | codegen depth 1: 873 instructions, 96 registers (declared 104, 256 threads -> 26624 of 65536) |
| 9 | codegen depth 2: 881 instructions, 100 registers (declared 104, 256 threads -> 26624 of 65536) |
| 10 | codegen depth 3: 889 instructions, 104 registers (declared 112, 256 threads -> 28672 of 65536) |
| 11 | codegen depth 4: 897 instructions, 108 registers (declared 112, 256 threads -> 28672 of 65536) |
| 12 | gpu_decode_attn256_test: 61 checks, 0 failed: PASS |
| 13 | ./build/gpu_decode_attn256_test --sim |
| 14 | sim context 1 depth 1: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) |
| 15 | sim context 7 depth 2: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) |
| 16 | sim context 7, sharp q (x4) depth 4: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) |
| 17 | sim context 7, full rope (rotary 256) depth 4: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) |
| 18 | sim context 256 (full chunk, 1 split) depth 4: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) |
| 19 | sim context 257 (2 splits, last holds one position) depth 4: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) |
| 20 | sim context 301 (2 splits) depth 3: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) |
| 21 | sim context 701 (3 splits) depth 4: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) |
| 22 | sim context 701 (per_split 512: 2 chunks per CTA) depth 2: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips) |
| 23 | sim mutant 1 at context 301: caught (bad=5719 worst=12.743 rows: k slot 0 (model dim 0) chip bfd3 ref 3b51) |
| 24 | sim mutant 2 at context 301: caught (bad=5674 worst=36.957 rows: ok (0 one-ulp k flips)) |
| 25 | sim mutant 3 at context 301: caught (bad=2028 worst=10.895 rows: v[0] chip 0000 ref 3f41) |
| 26 | sim mutant 4 at context 301: caught (bad=4068 worst=27.701 rows: ok (0 one-ulp k flips)) |
| 27 | sim mutant 5 at context 301: caught (bad=2979 worst=inf rows: ok (0 one-ulp k flips)) |
| 28 | sim: 10975936 warp issues in total |
| 29 | gpu_decode_attn256_test: 14 checks, 0 failed: PASS |