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 / manifests / gpu_engine.chiprun

31 lines · 2056 bytes Raw Blame History
1# Phase B only: needs the GB10, queen's go, quiet flag via chip_run; never run in Phase A.
2# Manifest for tools/chip_run.sh: the Omega GPU Engine chip test (cut A3b2, docs/numeric/OMEGA_GPU_ENGINE.md).
3# Sourced as shell by chip_run.sh, which provides $HERE (omega root) and $PHYSICS.
4# Format follows tools/manifests/unwritten_trap.chiprun (omega#205). NOT_RUN: never executed by its author.
5# Verdict lines printed by tests/test_omega_gpu_engine_gb10.c:
6# "GPU_ENGINE: PASS" or "GPU_ENGINE: FAIL" on a completed run (exit 0 or 1)
7# "GPU_ENGINE: NOT_RUN ..." and exit 2 when --chip is missing
8# The "GPU_ENGINE_CASES ..." and "GPU_ENGINE_BLOCKED ..." lines do not start with the verdict tag
9# followed by a space, so they are not verdict candidates.
10GATE=gpu_engine
11OWNER=gpu_engine
12TEST_SOURCE="tests/test_omega_gpu_engine_gb10.c"
13# The real engine core, the Blackwell backend, the vector wrapper and what the vector builder needs.
14# Not the fake driver: the real m16_native.c and nvrm.c come in below.
15SOURCES="src/omega_gpu_engine.c src/omega_blackwell_engine.c src/omega_blackwell_submit.c src/omega_blackwell_realize.c src/omega_blackwell_encoder.c src/omega_blackwell_codegen.c src/omega_blackwell_matmul.c src/omega_blackwell_qmd.c src/omega_vector.c src/omega_validate.c src/omega_core.c src/omega_canonical.c src/omega_om_units.c"
16EXTRA_BUILD_SOURCES="$PHYSICS/nvrm/nvrm.c $PHYSICS/m16/m16_native.c"
17RUN_ARGS="--chip"
18VERDICT_RE='^GPU_ENGINE: '
19PASS_LINE='^GPU_ENGINE: PASS$'
20EVIDENCE_DIR="$HOME/workspace/evidence-out/OMEGA-GPU-ENGINE"
21# Refusals keep the harness's own NOT_RUN line and exit code 2.
22REFUSE_EXIT=2
23REFUSE_VERDICT_LINE="GPU_ENGINE: NOT_RUN"
24# A chip run: raise the quiet flag (only with the queen's go) and take the GPU lock.
25RAISE_QUIET=1
26TAKE_GPU_LOCK=1
27REFUSE_DIRTY_OMEGA=1
28REQUIRE_ALL_PASS=0
29CHILD_EXIT_PASSTHROUGH=1
30# Host tier first (nonzero refuses): the simulated-driver test and the backend mutants, real target names.
31HOST_TIER_CMD="make test-gpu-engine-sim test-gpu-engine-backend-mutants PHYSICS_DIR=\"$PHYSICS\""