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 / explore2.sh

12 lines · 780 bytes Raw Blame History
1#!/bin/bash
2# EXPLORATORY (AB-PLAN "Exploration", amendment 1): banded MAIN grid sweep, packed scratch cached, 2 passes per configuration.
3cd /home/drakestapleton/work/GemmTune/dev
4git rev-parse HEAD; git status --porcelain; sha256sum /home/drakestapleton/handoffs/GemmTune/gemm_ab.c
5X="nice -n 19 taskset -c 10-14 build/gemm_ab --set explore --arm X"
6run() { local name=$1; shift; for p in 1 2; do echo "== cfg $name cached 1 pass $p"; AIEN_OMEGA_GEMM_PACK_CACHED=1 $X --round $p "$@"; done; }
7for b in 0 4 8 16; do
8 run rt2ct4-b$b --cfg bf16 2,4,2,2,4,$b --cfg e4m3 2,4,2,2,2,$b
9 run rt4ct4-b$b --cfg bf16 4,4,2,2,4,$b --cfg e4m3 4,4,2,2,2,$b
10done
11run rt2ct4w2x4-b4 --cfg bf16 2,4,2,4,4,4 --cfg e4m3 2,4,2,4,2,4
12run rt2ct4w2x4-b8 --cfg bf16 2,4,2,4,4,8 --cfg e4m3 2,4,2,4,2,8