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 / TILELAB-20261028 / holdout / holdout.sh
| 1 | #!/bin/sh |
| 2 | # Held-out validation of the calibrated tilelab planner: shapes the fit never saw. |
| 3 | # Arms: every rt2 ct4 config with wm,wn in {1,2,4} and band in {8,16,32}, plus band 0 for the 4x4/4x2/2x4 tiles, |
| 4 | # split into runs of at most 15 arms (the default arm is added by the tool to each run). |
| 5 | T=/tmp/tl/gpu_tilelab_test; O=/tmp/tl/ev/holdout; mkdir -p $O |
| 6 | S="3072,3072,3072;4096,1024,4096;1024,8192,8192" |
| 7 | all="" |
| 8 | for wm in 1 2 4; do for wn in 1 2 4; do for band in 8 16 32; do |
| 9 | [ $wm = 2 ] && [ $wn = 4 ] && [ $band = 8 ] && continue |
| 10 | all="$all w${wm}${wn}b${band}:2,4,$wm,$wn,$band" |
| 11 | done; done; done |
| 12 | all="$all w44b0:2,4,4,4,0 w42b0:2,4,4,2,0 w24b0:2,4,2,4,0" |
| 13 | i=0; grp=1; args="" |
| 14 | for a in $all; do |
| 15 | args="$args --cfg $a"; i=$((i+1)) |
| 16 | if [ $i -eq 15 ]; then |
| 17 | $T --shapes "$S" $args --rounds 9 --out $O/h$grp.json > $O/h$grp.txt 2>&1; echo "h$grp rc=$?" |
| 18 | grp=$((grp+1)); i=0; args="" |
| 19 | fi |
| 20 | done |
| 21 | [ -n "$args" ] && { $T --shapes "$S" $args --rounds 9 --out $O/h$grp.json > $O/h$grp.txt 2>&1; echo "h$grp rc=$?"; } |