interplane.Get Omega
Read in your language

omega-gpu-bench

First-party Omega GPU kernel benchmark harness and receipts

Brought by drakestapleton

branch main Branches Tags History

omega-gpu-bench / run

9 lines · 626 bytes Raw Blame History
1#!/bin/sh
2# ./run -- run Omega-encoded GPU kernels on this machine's NVIDIA GPU and write a receipt.
3# Needs: Linux, an NVIDIA driver (libcuda.so.1), Python 3.8+, git. No CUDA toolkit, no compiler, no pip.
4# Options: ./run --help. Exit 0 all kernels correct; 1 a kernel failed; 2 no usable GPU or no kernel in
5# the kit (no receipt); 3 kit kernels changed; 4 no sign-off.
6# INTERIM: this wrapper and kit/*.py are host glue; the Omega successor is described in DEPENDENCIES.md.
7cd "$(dirname "$0")" || exit 1
8command -v python3 >/dev/null 2>&1 || { echo "NOT_RUN: python3 is required"; exit 2; }
9exec python3 kit/bench.py "$@"