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 / GEMM-TUNE-20261027 / ab.sh

13 lines · 766 bytes Raw Blame History
1#!/bin/bash
2# Frozen AB-PLAN (amendment 1): rounds given as arguments, arm order from the seed rule, one process per arm per round.
3H=/home/drakestapleton/handoffs/GemmTune; W=/home/drakestapleton/work/GemmTune
4sha256sum $H/AB-PLAN.md $H/gemm_ab.c
5for arm in A B; do echo "# arm $arm $(git -C $W/arm$arm rev-parse HEAD) dirty=$(git -C $W/arm$arm status --porcelain | wc -l)"; done
6for r in "$@"; do
7 if (( (r * 2654435761 + 20261027) % 2 == 0 )); then order="A B"; else order="B A"; fi
8 echo "== round $r order $order"
9 for arm in $order; do
10 echo "== arm $arm round $r load $(cat /proc/loadavg)"
11 (cd $W/arm$arm && nice -n 19 taskset -c 10-14 build/gemm_ab --set ab --arm $arm --round $r --seed 20261027) || echo "== arm $arm round $r exit $?"
12 done
13done