omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / tools / l136_channel_gates.sh
| 1 | #!/bin/sh |
| 2 | # L136 correctness gates on the chip (GB10 lock only). $1 = evidence dir (absolute). |
| 3 | E=$1; N=$HOME/workspace/omega-gpu-channels/build; B=$HOME/workspace/omega-gpu-channels-base/build |
| 4 | cd $HOME/workspace/omega-gpu-channels || exit 1 |
| 5 | { date -u; git rev-parse HEAD; uname -r; grep MemAvailable /proc/meminfo; cat /proc/loadavg; } > $E/device.txt |
| 6 | run() { name=$1; shift; "$@" > $E/$name.log 2>&1; echo "$name rc=$? $(tail -1 $E/$name.log)" >> $E/summary.txt; } |
| 7 | unset AIEN_OMEGA_GPU_CHANNELS |
| 8 | # G1: one channel, the new build against the base build (0010f7d3 on physics 6d7cf0d4), same arguments |
| 9 | run g1-base-q38-l4 $B/gpu_q38_graph_test --layers 4 --mask 0x8 --reps 3 |
| 10 | run g1-new-q38-l4 $N/gpu_q38_graph_test --layers 4 --mask 0x8 --reps 3 |
| 11 | run g1-base-q38-l2 $B/gpu_q38_graph_test --reps 3 |
| 12 | run g1-new-q38-l2 $N/gpu_q38_graph_test --reps 3 |
| 13 | run g1-base-cmdlist $B/gpu_cmdlist_test |
| 14 | run g1-new-cmdlist $N/gpu_cmdlist_test |
| 15 | run g1-base-dgraph $B/gpu_decode_graph_test |
| 16 | run g1-new-dgraph $N/gpu_decode_graph_test |
| 17 | # refusal: no AIEN_OMEGA_GPU_CHANNELS, the pair is refused by name, the serial path decodes |
| 18 | run refusal $N/gpu_q38_channels_test --layers 4 --steps 2 --block 0 --refusal |
| 19 | # G2 small: two channels, 4 layers, 16 steps + 16-step blocks |
| 20 | AIEN_OMEGA_GPU_CHANNELS=2 run g2-l4 $N/gpu_q38_channels_test --layers 4 --steps 16 --block 16 |
| 21 | # two-channel device: the one-channel tests still pass on queue 0 |
| 22 | AIEN_OMEGA_GPU_CHANNELS=2 run g1-ch2-q38-l4 $N/gpu_q38_graph_test --layers 4 --mask 0x8 --reps 3 |
| 23 | echo done >> $E/summary.txt |