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 / api-kernel-gen-attn / 2026-11-06 / decode256.log

29 lines · 3105 bytes Raw Blame History
1cc -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
3perm rotary 64: bijection, pairs, rope-by-permutation max abs diff 8.31e-08 over 50 positions
4perm rotary 256: bijection, pairs, rope-by-permutation max abs diff 1.08e-07 over 50 positions
5perm rotary 2: bijection, pairs, rope-by-permutation max abs diff 7.09e-08 over 50 positions
6perm rotary 128: bijection, pairs, rope-by-permutation max abs diff 1.05e-07 over 50 positions
7perm rotary 32: bijection, pairs, rope-by-permutation max abs diff 1.05e-07 over 50 positions
8codegen depth 1: 873 instructions, 96 registers (declared 104, 256 threads -> 26624 of 65536)
9codegen depth 2: 881 instructions, 100 registers (declared 104, 256 threads -> 26624 of 65536)
10codegen depth 3: 889 instructions, 104 registers (declared 112, 256 threads -> 28672 of 65536)
11codegen depth 4: 897 instructions, 108 registers (declared 112, 256 threads -> 28672 of 65536)
12gpu_decode_attn256_test: 61 checks, 0 failed: PASS
13./build/gpu_decode_attn256_test --sim
14sim context 1 depth 1: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips)
15sim context 7 depth 2: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips)
16sim context 7, sharp q (x4) depth 4: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips)
17sim context 7, full rope (rotary 256) depth 4: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips)
18sim context 256 (full chunk, 1 split) depth 4: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips)
19sim context 257 (2 splits, last holds one position) depth 4: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips)
20sim context 301 (2 splits) depth 3: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips)
21sim context 701 (3 splits) depth 4: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips)
22sim context 701 (per_split 512: 2 chunks per CTA) depth 2: ok bad=0 worst=0.000 rows: ok (0 one-ulp k flips)
23sim mutant 1 at context 301: caught (bad=5719 worst=12.743 rows: k slot 0 (model dim 0) chip bfd3 ref 3b51)
24sim mutant 2 at context 301: caught (bad=5674 worst=36.957 rows: ok (0 one-ulp k flips))
25sim mutant 3 at context 301: caught (bad=2028 worst=10.895 rows: v[0] chip 0000 ref 3f41)
26sim mutant 4 at context 301: caught (bad=4068 worst=27.701 rows: ok (0 one-ulp k flips))
27sim mutant 5 at context 301: caught (bad=2979 worst=inf rows: ok (0 one-ulp k flips))
28sim: 10975936 warp issues in total
29gpu_decode_attn256_test: 14 checks, 0 failed: PASS