interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / tools / l136_channel_gates.sh

23 lines · 1528 bytes Raw Blame History
1#!/bin/sh
2# L136 correctness gates on the chip (GB10 lock only). $1 = evidence dir (absolute).
3E=$1; N=$HOME/workspace/omega-gpu-channels/build; B=$HOME/workspace/omega-gpu-channels-base/build
4cd $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
6run() { name=$1; shift; "$@" > $E/$name.log 2>&1; echo "$name rc=$? $(tail -1 $E/$name.log)" >> $E/summary.txt; }
7unset AIEN_OMEGA_GPU_CHANNELS
8# G1: one channel, the new build against the base build (0010f7d3 on physics 6d7cf0d4), same arguments
9run g1-base-q38-l4 $B/gpu_q38_graph_test --layers 4 --mask 0x8 --reps 3
10run g1-new-q38-l4 $N/gpu_q38_graph_test --layers 4 --mask 0x8 --reps 3
11run g1-base-q38-l2 $B/gpu_q38_graph_test --reps 3
12run g1-new-q38-l2 $N/gpu_q38_graph_test --reps 3
13run g1-base-cmdlist $B/gpu_cmdlist_test
14run g1-new-cmdlist $N/gpu_cmdlist_test
15run g1-base-dgraph $B/gpu_decode_graph_test
16run 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
18run 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
20AIEN_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
22AIEN_OMEGA_GPU_CHANNELS=2 run g1-ch2-q38-l4 $N/gpu_q38_graph_test --layers 4 --mask 0x8 --reps 3
23echo done >> $E/summary.txt