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
omega-mv / seed / ng / gpu / gate.cases
| 1 | # seed/ng/gpu/gate.cases: conformance of the sm_121 encoder ng consumes (Hive NG lane ng-gpu, D10). |
| 2 | # Driver: seed/qualification/om2/gate.om, run from the repository root. The units ng composes are in this repository |
| 3 | # under gpu/nvidia/ (moved from CUDApp at the commit of seed/ng/cudapp.lock, ADR 0047); no ../CUDApp is needed: |
| 4 | # gate seed/out/omc <omc sha256> seed/ng/gpu/gate.cases <new scratch dir> |
| 5 | # Inputs: NGBWENC1 frames (seed/ng/gpu/encrun.om header) captured from CUDApp's own C builders through a link-time |
| 6 | # wrap of omega_bw_enc_sm121 (referee instrument, seed/ng/gpu/README.md). Expected outputs: CUDApp's .om encoder |
| 7 | # and its C oracle agree on golden and dump; slice and ldg are the C oracle's bytes (the .om at the lock sha matches |
| 8 | # them; CUDApp b774723f, before #373, does not on ldg: LDG.E offset defect). |
| 9 | deadline 120 |
| 10 | # lock enforcement: each file ng composes from gpu/nvidia/ must hash to its seed/ng/cudapp.lock row. Filter: |
| 11 | # seed/ng/gpu/pinsum.om after the plain-function form of om/sha256/sha256-om2.om (five pack: segments skipping the |
| 12 | # four "export " prefixes); STDIN the raw file, STDOUT the pinned digest. Different bytes FAIL (exit 1, naming the |
| 13 | # row); a missing file is INVALID (unreadable input). lock-self pins the lock file, so a lock edit not carried into |
| 14 | # these rows fails too. Stock gate.om has no input-identity case kind, so a wrong file is FAIL, not INVALID. |
| 15 | lock-self run pack:om/sha256/sha256-om2.om:0:7196+pack:om/sha256/sha256-om2.om:7203:1153+pack:om/sha256/sha256-om2.om:8363:182+pack:om/sha256/sha256-om2.om:8552:597+pack:om/sha256/sha256-om2.om:9156:427+seed/ng/gpu/pinsum.om file:seed/ng/cudapp.lock line:f63ba9b96a5911b34af7070a02fa634ca8d4836a92a6167b951b2e64bbbf3341 - 0 |
| 16 | lock-bw_enc_sm121 run pack:om/sha256/sha256-om2.om:0:7196+pack:om/sha256/sha256-om2.om:7203:1153+pack:om/sha256/sha256-om2.om:8363:182+pack:om/sha256/sha256-om2.om:8552:597+pack:om/sha256/sha256-om2.om:9156:427+seed/ng/gpu/pinsum.om file:gpu/nvidia/om/encoder/bw_enc_sm121.om line:25f447ea7925714ccf3e5b4bae642be7626f522cf06253e1e3f86858c1c8ff16 - 0 |
| 17 | lock-bw_alloc run pack:om/sha256/sha256-om2.om:0:7196+pack:om/sha256/sha256-om2.om:7203:1153+pack:om/sha256/sha256-om2.om:8363:182+pack:om/sha256/sha256-om2.om:8552:597+pack:om/sha256/sha256-om2.om:9156:427+seed/ng/gpu/pinsum.om file:gpu/nvidia/om/components/bw_alloc.om line:a4b04901620f4cbd674c236fc0f91092181ccf4f1bb0f6d6e400c3836e7442fc - 0 |
| 18 | lock-cubin_elf run pack:om/sha256/sha256-om2.om:0:7196+pack:om/sha256/sha256-om2.om:7203:1153+pack:om/sha256/sha256-om2.om:8363:182+pack:om/sha256/sha256-om2.om:8552:597+pack:om/sha256/sha256-om2.om:9156:427+seed/ng/gpu/pinsum.om file:gpu/nvidia/om/cubin/cubin_elf.om line:608b4ec697b5e0a307347062271f8b1679f4f7b151b5e47a3effb14ce181d1ac - 0 |
| 19 | lock-launch run pack:om/sha256/sha256-om2.om:0:7196+pack:om/sha256/sha256-om2.om:7203:1153+pack:om/sha256/sha256-om2.om:8363:182+pack:om/sha256/sha256-om2.om:8552:597+pack:om/sha256/sha256-om2.om:9156:427+seed/ng/gpu/pinsum.om file:gpu/nvidia/native/blackwell/launch.om line:38b8bc4157d527d0c5cb9b20c079f3da596ffb069e2d9ab5131aa673114c88c1 - 0 |
| 20 | lock-context run pack:om/sha256/sha256-om2.om:0:7196+pack:om/sha256/sha256-om2.om:7203:1153+pack:om/sha256/sha256-om2.om:8363:182+pack:om/sha256/sha256-om2.om:8552:597+pack:om/sha256/sha256-om2.om:9156:427+seed/ng/gpu/pinsum.om file:gpu/nvidia/native/nvrm/context.om line:bd5be905568552d48dd477cbeff1e287940e6f6bfd9e31a4e68d53d6c60ae3bb - 0 |
| 21 | # pin: the encoder source compiles (function mode) to exactly these bytes; any semantic change to the pinned unit |
| 22 | # changes them and fails here before any fixture runs. Re-pinned 2026-11-14 with the encoder of CUDApp 84b524ca: the |
| 23 | # value is what this repository's seed/out/omc emits for those bytes (the old value 4d652093... is what it emits for |
| 24 | # the 1988c50e copy), so it pins identity, not behaviour; behaviour is the fixture, refusal and mutant cases below. |
| 25 | enc-pin emit gpu/nvidia/om/encoder/bw_enc_sm121.om sha:460fb3a47f56e706cee59595262f0e73e1dc50db11036414b6c45e7cd4ed2bd1 - 0 |
| 26 | enc-golden run gpu/nvidia/om/encoder/bw_enc_sm121.om+seed/ng/gpu/encrun.om file:seed/ng/gpu/tests/golden.in file:seed/ng/gpu/tests/golden.out - 0 |
| 27 | enc-dump run gpu/nvidia/om/encoder/bw_enc_sm121.om+seed/ng/gpu/encrun.om file:seed/ng/gpu/tests/dump.in file:seed/ng/gpu/tests/dump.out - 0 |
| 28 | enc-slice run gpu/nvidia/om/encoder/bw_enc_sm121.om+seed/ng/gpu/encrun.om file:seed/ng/gpu/tests/slice.in file:seed/ng/gpu/tests/slice.out - 0 |
| 29 | enc-ldg run gpu/nvidia/om/encoder/bw_enc_sm121.om+seed/ng/gpu/encrun.om file:seed/ng/gpu/tests/ldg.in file:seed/ng/gpu/tests/ldg.out - 0 |
| 30 | enc-empty run gpu/nvidia/om/encoder/bw_enc_sm121.om+seed/ng/gpu/encrun.om - - - 0 |
| 31 | enc-badmagic run gpu/nvidia/om/encoder/bw_enc_sm121.om+seed/ng/gpu/encrun.om file:seed/ng/gpu/tests/badmagic.in - file:seed/ng/gpu/tests/badmagic.err 2 |
| 32 | enc-trunc run gpu/nvidia/om/encoder/bw_enc_sm121.om+seed/ng/gpu/encrun.om file:seed/ng/gpu/tests/trunc.in - file:seed/ng/gpu/tests/trunc.err 3 |
| 33 | # mutants of the pinned encoder (CUDApp mk/om-encoder.mk OM_ENC_MUTANTS 1..3 and OM_ENC_LDG_RED edit 1): each must change the output |
| 34 | subst seed/ng/gpu/tests/m1.from seed/ng/gpu/tests/m1.to |
| 35 | enc-mut1 kill gpu/nvidia/om/encoder/bw_enc_sm121.om+seed/ng/gpu/encrun.om file:seed/ng/gpu/tests/golden.in file:seed/ng/gpu/tests/golden.out - 0 |
| 36 | subst seed/ng/gpu/tests/m2.from seed/ng/gpu/tests/m2.to |
| 37 | enc-mut2 kill gpu/nvidia/om/encoder/bw_enc_sm121.om+seed/ng/gpu/encrun.om file:seed/ng/gpu/tests/dump.in file:seed/ng/gpu/tests/dump.out - 0 |
| 38 | subst seed/ng/gpu/tests/m3.from seed/ng/gpu/tests/m3.to |
| 39 | enc-mut3 kill gpu/nvidia/om/encoder/bw_enc_sm121.om+seed/ng/gpu/encrun.om file:seed/ng/gpu/tests/dump.in file:seed/ng/gpu/tests/dump.out - 0 |
| 40 | subst seed/ng/gpu/tests/m4.from seed/ng/gpu/tests/m4.to |
| 41 | enc-mut4 kill gpu/nvidia/om/encoder/bw_enc_sm121.om+seed/ng/gpu/encrun.om file:seed/ng/gpu/tests/ldg.in file:seed/ng/gpu/tests/ldg.out - 0 |