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 / CUDAPP-OM-ENGINE-SUBMIT-20261106 / logs / test-gpu-serving-alloc.log
| 1 | ./build/gpu_serving_alloc_count_test plain |
| 2 | MEASURE phase LOAD (session+6 weights) allocs 10 frees 0 alloc_bytes 924852224 matmul_calls 0 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 0 (allocs 0) |
| 3 | MEASURE alloc sizes (6 distinct): 65536x2 4096x2 20971520x2 5242880x1 49807360x2 777912320x1 |
| 4 | MEASURE free sizes (0 distinct): |
| 5 | MEASURE phase WARMUP decode ctx=1 allocs 17 frees 4 alloc_bytes 11214848 matmul_calls 253 (code-cache misses 6, of which on a shape seen before 0, other scratch growth 6) attention_calls 36 (allocs 5) |
| 6 | MEASURE alloc sizes (10 distinct): 81920x1 262144x1 4096x7 12288x1 8192x1 16384x2 ... last 9723904x1 |
| 7 | MEASURE free sizes (4 distinct): 81920x1 262144x1 131072x1 622592x1 |
| 8 | MEASURE phase PREFILL-A 100 tokens allocs 107 frees 105 alloc_bytes 45051904 matmul_calls 253 (code-cache misses 5, of which on a shape seen before 0, other scratch growth 3) attention_calls 3600 (allocs 99) |
| 9 | MEASURE alloc sizes (102 distinct): 573440x2 4096x5 16384x1 24576x1 32768x1 40960x1 ... last 2179072x1 |
| 10 | MEASURE free sizes (101 distinct): 311296x2 8192x1 16384x1 24576x1 32768x1 40960x1 ... last 917504x1 |
| 11 | MEASURE phase DECODE-A 64 tokens allocs 70 frees 70 alloc_bytes 69492736 matmul_calls 16192 (code-cache misses 6, of which on a shape seen before 6, other scratch growth 0) attention_calls 2304 (allocs 64) |
| 12 | MEASURE alloc sizes (65 distinct): 4096x6 827392x1 835584x1 843776x1 851968x1 860160x1 ... last 1343488x1 |
| 13 | MEASURE free sizes (65 distinct): 4096x6 819200x1 827392x1 835584x1 843776x1 851968x1 ... last 1335296x1 |
| 14 | MEASURE phase PREFILL-B 200 tokens allocs 212 frees 212 alloc_bytes 435912704 matmul_calls 506 (code-cache misses 11, of which on a shape seen before 1, other scratch growth 1) attention_calls 7200 (allocs 200) |
| 15 | MEASURE alloc sizes (202 distinct): 8192x5 1351680x1 1359872x1 1368064x1 1376256x1 1384448x1 ... last 2981888x1 |
| 16 | MEASURE free sizes (202 distinct): 4096x8 1343488x1 1351680x1 1359872x1 1368064x1 1376256x1 ... last 8192x3 |
| 17 | MEASURE phase DECODE-B 64 tokens allocs 69 frees 69 alloc_bytes 207900672 matmul_calls 16192 (code-cache misses 5, of which on a shape seen before 5, other scratch growth 0) attention_calls 2304 (allocs 64) |
| 18 | MEASURE alloc sizes (65 distinct): 4096x5 2990080x1 2998272x1 3006464x1 3014656x1 3022848x1 ... last 3506176x1 |
| 19 | MEASURE free sizes (66 distinct): 8192x2 2981888x1 4096x3 2990080x1 2998272x1 3006464x1 ... last 3497984x1 |
| 20 | MEASURE AFTER WARM-UP: 458 driver allocations, 456 driver frees over 428 tokens of context (final ctx 428) |
| 21 | MEASURE distinct matmul kernel shapes seen (kp,np,grid_x): 21 (cache slots: 8) |
| 22 | MEASURE live driver buffers at end: 25 ; session opens: 1 ; launches reaching the fake: 48840 |
| 23 | MEASURE return codes: matmul ok 0, matmul poison-check CHIP_FAIL 33396, attention ok 0, attention UNWRITTEN 15444, other 0 |
| 24 | MEASURE leaked at close: 0 |
| 25 | gpu_serving_alloc_count_test plain: PASS (0 failed checks) |
| 26 | ./build/gpu_serving_alloc_count_test reserve |
| 27 | MEASURE phase LOAD (session+6 weights) allocs 10 frees 0 alloc_bytes 924852224 matmul_calls 0 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 0 (allocs 0) |
| 28 | MEASURE alloc sizes (6 distinct): 65536x2 4096x2 20971520x2 5242880x1 49807360x2 777912320x1 |
| 29 | MEASURE free sizes (0 distinct): |
| 30 | MEASURE phase WARMUP decode ctx=1 allocs 17 frees 4 alloc_bytes 11214848 matmul_calls 253 (code-cache misses 6, of which on a shape seen before 0, other scratch growth 6) attention_calls 36 (allocs 5) |
| 31 | MEASURE alloc sizes (10 distinct): 81920x1 262144x1 4096x7 12288x1 8192x1 16384x2 ... last 9723904x1 |
| 32 | MEASURE free sizes (4 distinct): 81920x1 262144x1 131072x1 622592x1 |
| 33 | MEASURE phase WARMUP row classes allocs 21 frees 0 alloc_bytes 106496 matmul_calls 1012 (code-cache misses 21, of which on a shape seen before 6, other scratch growth 0) attention_calls 10836 (allocs 0) |
| 34 | MEASURE phase PREFILL-A 100 tokens allocs 0 frees 0 alloc_bytes 0 matmul_calls 253 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 3600 (allocs 0) |
| 35 | MEASURE phase DECODE-A 64 tokens allocs 0 frees 0 alloc_bytes 0 matmul_calls 16192 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 2304 (allocs 0) |
| 36 | MEASURE phase PREFILL-B 200 tokens allocs 0 frees 0 alloc_bytes 0 matmul_calls 506 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 7200 (allocs 0) |
| 37 | MEASURE phase DECODE-B 64 tokens allocs 0 frees 0 alloc_bytes 0 matmul_calls 16192 (code-cache misses 0, of which on a shape seen before 0, other scratch growth 0) attention_calls 2304 (allocs 0) |
| 38 | MEASURE AFTER WARM-UP: 0 driver allocations, 0 driver frees over 428 tokens of context (final ctx 428) |
| 39 | MEASURE distinct matmul kernel shapes seen (kp,np,grid_x): 21 (cache slots: 32) |
| 40 | MEASURE live driver buffers at end: 38 ; session opens: 1 ; launches reaching the fake: 60688 |
| 41 | MEASURE return codes: matmul ok 0, matmul poison-check CHIP_FAIL 34408, attention ok 0, attention UNWRITTEN 26280, other 0 |
| 42 | MEASURE leaked at close: 0 |
| 43 | gpu_serving_alloc_count_test reserve: PASS (0 failed checks) |
| 44 | ./build/gpu_serving_alloc_count_test bounds |
| 45 | MEASURE bounds: refused calls made 0 driver allocations; 33 rows -> TOO_LARGE, ctx 257 -> TOO_LARGE; error "serving reservation exceeded: ..." |
| 46 | gpu_serving_alloc_count_test bounds: PASS (0 failed checks) |
| 47 | ./build/gpu_serving_alloc_count_test bounds-block |
| 48 | MEASURE bounds-block: 16 and 64 tokens (one 64-token block) served with 0 driver traffic; 65 tokens -> TOO_LARGE |
| 49 | gpu_serving_alloc_count_test bounds-block: PASS (0 failed checks) |
| 50 | ./build/gpu_serving_alloc_count_test rollback |
| 51 | MEASURE rollback: 6 injected failures during reserve, none left anything flagged; the un-injected control stayed reserved |
| 52 | gpu_serving_alloc_count_test rollback: PASS (0 failed checks) |
| 53 | ./build/gpu_serving_alloc_count_test sweep |
| 54 | MEASURE sweep prepare: 83 driver allocations (one code buffer per distinct kernel) |
| 55 | MEASURE sweep serving (rows 1..256 x 6 shapes, twice): 0 driver allocations, 83 distinct kernels, 0 refused, 0 other |
| 56 | gpu_serving_alloc_count_test sweep: PASS (0 failed checks) |
| 57 | ./build/gpu_serving_alloc_count_test pin |
| 58 | gpu_serving_alloc_count_test pin: PASS (0 failed checks) |
| 59 | ./build/gpu_serving_alloc_count_test seal-bare |
| 60 | gpu_serving_alloc_count_test seal-bare: PASS (0 failed checks) |
| 61 | ./build/gpu_serving_alloc_count_test update |
| 62 | gpu_serving_alloc_count_test update: PASS (0 failed checks) |
| 63 | sweep-skip (control): MEASURE sweep serving (rows 1..256 x 6 shapes, twice): 174 driver allocations, 83 distinct kernels, 0 refused, 0 other |
| 64 | reserve-skip (no reservation call): fails as required (5 failing checks) |