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 / TILELAB-20261028 / holdout / holdout.sh

21 lines · 1019 bytes Raw Blame History
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).
5T=/tmp/tl/gpu_tilelab_test; O=/tmp/tl/ev/holdout; mkdir -p $O
6S="3072,3072,3072;4096,1024,4096;1024,8192,8192"
7all=""
8for 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"
11done; done; done
12all="$all w44b0:2,4,4,4,0 w42b0:2,4,4,2,0 w24b0:2,4,2,4,0"
13i=0; grp=1; args=""
14for 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
20done
21[ -n "$args" ] && { $T --shapes "$S" $args --rounds 9 --out $O/h$grp.json > $O/h$grp.txt 2>&1; echo "h$grp rc=$?"; }