Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/gpu/spirv/omega-run.sh # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / gpu / spirv / omega-run.sh` 16 lines ยท 554 bytes Raw Blame History 1 #!/bin/sh 2 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 3 # gpu/spirv/omega-run.sh -- thin compatibility shim over pure seeded-Omega seed/build/gpucoord.om. 4 # Usage: sh gpu/spirv/omega-run.sh vadd|fsum16|gemm16|rmsnorm cl|vk 5 set -eu 6 ROOT=$(CDPATH= cd -- "$(dirname "$0")/../.." && pwd) 7 OMC="${OMC:-$ROOT/seed/out/omc}" 8 cd "$ROOT" 9 mkdir -p build 10 BIN="$ROOT/build/om-gpucoord.$$" 11 trap 'rm -f "$BIN"' EXIT 12 cat seed/build/common.om seed/build/gpucoord.om | "$OMC" > "$BIN" 13 chmod 755 "$BIN" 14 rc=0 15 OMC="$OMC" "$BIN" spirv-run "$@" || rc=$? 16 exit "$rc"