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 / gpu / nvidia / checks

f5cb265 gpu: bwhz README names the tag rows and the current oracle; regenerate runtime lists against main d7c70e4a (DRA-606) Drake Stapleton committed 2026-11-16
..
INVENTORY.tsv115783
README.md68078
api_ew.om4094
api_ew.tsv13537
apish-blk.om614
apish-blk.tsv256
apish-fp8x.om556
apish-fp8x.tsv232
apish-fp8xb.om568
apish-fp8xb.tsv234
apish-lib.om2900
apish.om16585
apish.tsv4395
arest-argsx.om648
arest-argsx.tsv4158
arest-bf16.om1799
arest-bf16.tsv2377
arest-cache.om926
arest-cache.tsv48120
arest-calc.om603
arest-calc.tsv219128
arest-copy.om997
arest-copy.tsv1333
arest-data.om7731
arest-data.tsv272525
arest-gargs.om665
arest-gargs.tsv3312
arest-gath16.om991
arest-gath16.tsv2753
arest-gath32.om1029
arest-gath32.tsv2753
arest-ginfo.om488
arest-ginfo.tsv2640
arest-gseg.om663
arest-gseg.tsv5867
arest-launch.om494
arest-launch.tsv5719
arest-mrow.om815
arest-mrow.tsv6951
arest-mstep.om647
arest-mstep.tsv20906
arest-pack.om2519
arest-pack.tsv4126
arest-pfhost.om1491
arest-pfhost.tsv22059
arest-pkh.om1907
arest-pkh.tsv48250
arest-sstats.om653
arest-sstats.tsv8645
arest-tcinfo.om494
arest-tcinfo.tsv3031
arest-tcspec.om526
arest-tcspec.tsv2065
arest-tern.om1824
arest-tern.tsv32836
arest-tile.om2038
arest-tile.tsv105437
arest-tspec.om528
arest-tspec.tsv3024
arest-victim.om788
arest-victim.tsv818845
arest-xnext.om1125
arest-xnext.tsv4011
arest.om1713
arestg.om2050
attnhost.om1274
attnhost.tsv1797495
attnscan.om2858
attnscan.tsv1470
avpack.om1986
avpack.tsv129550
avrope-k.tsv26653
avrope.om2288
avrope.tsv121454
avtab-k.tsv1471
avtab.om9638
avtab.tsv64164
avv-any.om599
avv-any.tsv3040
avv-bfexp.om801
avv-bfexp.tsv1869
avv-bffin.om684
avv-bffin.tsv3136
avv-bids.om646
avv-bids.tsv2285
avv-buf.om652
avv-buf.tsv1849
avv-cntf.om698
avv-cntf.tsv2675
avv-comp.om810
avv-comp.tsv1985
avv-count.om640
avv-count.tsv2077
avv-ctx.om781
avv-ctx.tsv2049
avv-fill.om623
avv-fill.tsv2093
avv-fillf.om672
avv-fillf.tsv3248
avv-rows.om701
avv-rows.tsv1296
avv-rpois.om936
avv-rpois.tsv2418
avv-set.om622
avv-set.tsv3120
avv-z64.om690
avv-z64.tsv1035
avv.om3433
bwctl.om1984
bwctl.tsv21572
bwhz.om2472
bwhz.tsv76842
checks.tsv15113
dscalar.om3193
dscalar.tsv263733
fmt.om3118
fmt.tsv16131
gate.om37009
gdn_admit.om1410
gdn_admit.tsv85432
gemm_num.om2350
gemm_num.tsv722
gemm_policy.om860
gemm_policy.tsv206781
hostrest.om754
hostrest.tsv954863
inventory.om20857
ldgmmio.om3608
ldgmmio.tsv60158
leftovers.om2541
leftovers.tsv27361
lib-om2.om487
lib.om5840
mutants.tsv28436
nartf.om8322
nartf.tsv132889
nmm-init.om608
nmm-next.om335
nmm.om4845
nmm.tsv254769
nmmq.om1911
nmmq.tsv202423
numhost.om1235
numhost.tsv508756
plat_policy.om899
plat_policy.tsv3787
ports.tsv33397
sm121dis.om2682
sm121dis.tsv2307931
streams.om4534
streams.tsv103237

README.md

gpu/nvidia/checks: Omega checks for part of CUDApp tests and tools

CUDApp keeps its tests and tools in C, Python and shell (tests/, tools/). This directory is one slice of porting them to Omega, not the whole port: the checks listed in checks.tsv with the tables of expected values they read, their gate, and an inventory that lists every file of tests/ and tools/ with its status, so what is still open is counted in INVENTORY.tsv rather than claimed done.

What is here

FileWhat it is
INVENTORY.tsvOne row for every file of CUDApp tests/ and tools/ that is not Omega, with its status. Generated by inventory.om; do not edit. The gate fails when it no longer says what ports.tsv says.
ports.tsvThe decision for each such file: ported, retired or blocked, with the reason. Written by hand; this is the only human input.
inventory.omThe program that writes INVENTORY.tsv.
checks.tsvThe checks the gate runs: name, table, then the Omega parts that make up the check program.
gate.omThe gate OMEGA-GPU-CHECKS (tests/gates/run.sh gpu-checks).
lib.omThe table reader every check shares. It is OM-1, so it composes with units of either dialect.
lib-om2.omHelpers that take a text (ckis). OM-1 has no unsized view, so these exist only for checks whose first unit starts with om2; such a check lists it after lib.om.
mutants.tsvSource mutants: one-line changes to a unit under test that its check must notice; a row with six fields records a known difference that ends the check (see The gate).
avrope-k.tsvThe answers of the pending C for angles where av_sinc traps, read by the six-field avrope row of mutants.tsv.
avtab-k.tsvThe answers of the pending C for av_headmap of a mutant head with fewer query heads than kv heads, where the unit traps 102, read by the six-field avtab row of mutants.tsv.
NAME.om, NAME.tsvOne check and its table of expected values.
nmm-init.om, nmm-next.omCopies of the words of gpu/nvidia/om/api/mm_init.om and mm_next.om without their om2 line, so check nmm can compose them after attn_oracle.om; nmmi and nmmn prove the units themselves (see Checks).
avv.om, avv-UNIT.omThe view checks avvUNIT: avv.om builds the arrays a row names, runs the unit through its avv-UNIT.om and compares; each view unit starts with om2, so each has its own check, adapter and table avv-UNIT.tsv (see Checks).
arest.om, arest-UNIT.omThe REST checks arestUNIT: arest.om reads a row's input and expected words, runs the unit through its arest-UNIT.om (which lays the words out as the unit's views) and compares; each apirest unit starts with om2, so each has its own check, adapter and table arest-UNIT.tsv (see Checks).
arestg.om, arest-CHECK.omThe REST checks that hold several units of one head, and the units of the test's packing, prefill and partition blocks: arestg.om reads a row, arest-CHECK.om finds the unit the row names, lays the row's words out as that unit's views (porting the test's fill loops where a row gives only their parameters) and arestg.om compares; a large output is compared as one digest word (see Checks).
apish-lib.om, apish.om, apish-blk.om, apish-fp8x.om, apish-fp8xb.omThe API shell checks apish, apishblk, apishfp8x and apishfp8xb: each of the four ports runs the loops of the old test for its units and gives every answer to the label the old test compared it under; apish-lib.om keeps a count and a digest per label and compares them with the table's (see Checks).

How a check works

A check is one program made of parts joined in order: the gpu/ Omega units under test, then lib.om, then the check itself. lib.om reads the table one line at a time and calls the check's crow for each case. A case is a line that is neither empty nor starts with #. The program prints one FAIL line N: line per failed case and ends with NAME PASS rows=N, exit 0, or NAME FAIL rows=N failed=F, exit 1. A table with no case fails. A field it cannot read gives exit 2.

The tables hold the old implementation's own answers, written by an outside C driver (an oracle) compiled against the old CUDApp sources and run outside this repository. The oracles are not committed here: they are C. Where they are kept, their sha256 and how to rebuild them are under Oracles. The header lines of each table name its oracle and the CUDApp commit.

Some units are function-mode units: they export their functions with export fn and have no main. The compiler refuses a program that has both export fn and a main. So, when the gate joins the parts, it turns any line that starts export fn into fn . Nothing else in the unit changes, and the function bodies are tested exactly as committed.

The program's dialect is set by its first unit: om2 must be the program's first line that is not a note. An OM-1 unit cannot always be forced into OM-2, because OM-2 reserves words some OM-1 units use as names (gpu/nvidia/om/gdn/admit.om defines fn layout). This is why lib.om is OM-1 and the text-taking helpers live in lib-om2.om.

The gate

tests/gates/run.sh gpu-checks

The gate first checks that seed/out/omc matches seed/out/omc.sha256. Then, for each row of checks.tsv, it:

  1. joins the parts;
  2. compiles them twice and requires identical bytes and empty stderr;
  3. runs the check on its table and requires exit 0;
  4. runs it again on a copy of the table with one byte changed, and requires exit 1 (the table control);
  5. for each row of mutants.tsv that names this check, joins the parts again with the line of the named part that equals FROM replaced by TO, requires that to compile, and requires the check built from it to exit 1 on the true table (a source-mutant control). FROM is matched after the export fn strip, and it must equal exactly one line of the part. A FROM that matches no line or more than one line, a mutant that does not compile, and a mutant the check does not notice each fail the gate. A row may carry two more fields, EXIT (decimal, 1 to 255) and KTABLE, for a known difference that ends the check, such as a trap. Then the check as built must exit EXIT on KTABLE, and the check built with TO (the repair) must exit 0 on KTABLE, so KTABLE holds the pending C's answers and the repaired unit gives each of them. If the unit changes so it no longer exits EXIT, or the recorded answers stop being what the repair gives, the row fails. Such a row is one control.

A wrong-compiler control runs once: a compiler one byte longer must fail the digest check.

Then it checks the inventory: each row of ports.tsv must be the status and detail of its path's row in INVENTORY.tsv, every other row of INVENTORY.tsv must be open, the counts in its last line (files, ported, retired, blocked, open) must be the counts of its rows, and every om_ref and same_stem cell that is not - must name a .om file under gpu/ that exists in this tree. A failure here means INVENTORY.tsv was not regenerated after ports.tsv or the gpu/ tree changed. The gate does not check the CUDApp side of the inventory (paths, kinds, sizes); that needs a CUDApp checkout, see below.

The summary must read OMEGA-GPU-CHECKS PASS checks=N controls=C caught=C hardware=NOT_RUN. N is the number of rows of checks.tsv and C = N + (rows of mutants.tsv) + 1: one table control per check, one control per mutant, and the wrong compiler. run.sh computes both from the two files. The gate checks nothing more than the above. Nothing here opens a device. Any hardware tier of an old test is recorded as NOT_RUN in ports.tsv.

The gate reads its files into memory that grows to fit them, and hashes files of any size; it has no fixed size for them. If the host refuses the memory, the check fails with a message saying so. Paths are held in buffers of Linux PATH_MAX bytes (the host words that take a path cannot take growing memory); a path that does not fit, a check name that with its scratch suffix does not fit Linux NAME_MAX, or a SCRATCH directory too long for both is refused by name (FAIL, or exit 2 for SCRATCH), never cut short.

Regenerating INVENTORY.tsv

INVENTORY.tsv depends on the CUDApp files, which are not in this repository, so the gate does not rebuild it; it only checks that it agrees with ports.tsv. Regenerate it after every change to ports.tsv, from a CUDApp checkout at the commit named in its second line:

seed/out/omc < gpu/nvidia/checks/inventory.om > inventory && chmod 700 inventory
git -C CUDApp ls-files tests tools > list.txt
git -C omega-mv ls-tree -r --name-only HEAD -- gpu > gpulist.txt
cd CUDApp && ../inventory ../list.txt ../gpulist.txt ../omega-mv/gpu/nvidia/checks/ports.tsv "LABEL" > ../omega-mv/gpu/nvidia/checks/INVENTORY.tsv

LABEL is the inputs line, the second line of INVENTORY.tsv: it names the CUDApp commit of the checkout and the omega-mv commit whose gpu/ list was read, so put the commits you actually used there. inventory exits 1 in two cases: a ports.tsv row names no CUDApp path, or a path appears twice. It exits 2 on a malformed row, on a path that does not fit Linux PATH_MAX, or when it cannot read an input or the host refuses the memory; it reads inputs of any size into memory that grows to fit them.

What is still open, by tier and kind, is the line # open by tier/kind: just above the counts at the end of INVENTORY.tsv: inventory.om writes one TIER/KIND=COUNT per tier and file extension of the open rows (none for a file without one), in the order each first appears. Read the figures there; this README does not repeat them.

Why files are retired

A file is retired only when no behaviour of it is left unchecked: it is not a test or tool (prose, session metadata, recorded evidence), or the job it did no longer exists once CUDApp is folded into omega-mv. A test whose behaviour no Omega check covers is never retired; it stays open or is blocked. Every retired row of ports.tsv gives one of these reasons; the rows themselves are the list of files.

Reason (DETAIL begins)Why it is safe
agent breadcrumb (.crumb)Session metadata of the CUDApp lanes. Not a test, a tool or an input to one; nothing reads it.
recorded evidence of a past runA receipt or its log. No .om, .c, .h, .py, .sh, .gate or make file of CUDApp names it, so no test or tool reads it. It records a past run; it checks nothing.
prose (Markdown)Not a test and not an input: nothing runs or reads it. It stays readable in CUDApp history, and each Omega port documents itself in its own README.
tools/extract drift checkdrift.sh failed when Omega's copy of a GPU file moved away from CUDApp after the cutover; test-drift.sh tests only drift.sh, and drift-baseline.tsv is its input. With one copy of each file left there is nothing to drift.
tools/extract history cutScripts, path lists, maps and outputs of the one-time cut of the CUDA++ history out of the Omega and physics repositories into CUDApp. The cut is not repeated, and no test or tool reads these files.

Not retired from tools/extract: audit-scan.sh, its rule files rules-secrets.txt and rules-private.txt, and its self-tests audit-selftest.sh and audit-error-selftest.sh. They scan every object of a repository's history for secrets, private data and binaries; that job still applies to omega-mv, which has no Omega replacement for it, so they stay open.

Oracles

Kept outside the repository by the lane, identified by sha256. Each was run from a CUDApp checkout at 84b524cadaaa8bc9b556adfaea9d6dd2e0d67a66, writing the table to stdout, except bwhz_oracle.c, which was run from an omega-mv checkout at 50feb135306176947a999362dd637d37c907f6fc (its src/omega_bw_hazard.c is the fixed C of 60b5d81e).

Oraclesha256WritesBuild (run with no arguments)
leftovers_oracle.c4a3fb73154fbaf31ccc50badb0902605c113360e97f00908d4b65831a41bd0c1leftovers.tsvgcc -std=gnu11 -O1 -Wall -I<CUDApp>/src -o leftovers_oracle leftovers_oracle.c
gdn_oracle.c7038e63b0e003dbaa4d8f525619eb73f083d02886e12c584d565f3b90a0b117egdn_admit.tsvgcc -std=gnu11 -O1 -Wall -I<CUDApp>/src -I. -o gdn_oracle gdn_oracle.c (with shape_extract.c beside it)
shape_extract.c7b4013331e36ecae3e07e3573e4d156982f618ac6cb517c71dbad4ae5ff20681(included by gdn_oracle.c)omega_gdn_shape, copied unchanged from src/omega_blackwell_codegen_gdn.c lines 206 to 220, because that file does not build alone
streams_oracle.c94fe9d5c9fe6d16f29b54e0fd1035346f072ef05dc992f5511d43ec854e94cf8streams.tsvsh build.sh <CUDApp> (with streams_oracle.c beside it), then ./streams_oracle
streams_extract.c72cf19d81d947b3392e13b358c602543818aa7a48cd07af92b476e56116ebafb(included by streams_oracle.c)written by build.sh: the C side of the streams generator, cut by line range from src/omega_gpu_cmdlist.c (emit_tail, emit_stamp, emit_inline_qmd, emit_chunk_c, the C branch of pair_marker and the defines they use), src/omega_gpu_platform_linux.c (channels_c) and src/omega_gpu_session.c (xq_admit_c)
build.sh41f43913bd00b794841bda1b331c28aa5971b84a66858f0b2c8dc472a9f05af4streams_extract.c, streams_oraclegcc -std=gnu11 -O1 -Wall -I<CUDApp>/src -I<CUDApp>/nvrm -I. -o streams_oracle streams_oracle.c
gemm_policy_oracle.c8f91e612374bf9b431e7dbee52e3d1934f2bba162d090c318b346a155ffc9e6agemm_policy.tsvsh build.sh <CUDApp> (the gemm policy build.sh, with gemm_policy_oracle.c beside it), then ./gemm_policy_oracle
gemm_policy_extract.cfbd9e527279443f0591c410467ed1f7650e020ccfb64ee68bfcc8017d450429d(included by gemm_policy_oracle.c)written by its build.sh: GX_WIN and the CUDAPP_MIGRATION_PENDING_C_GEMM_EX_HOST_POLICY branches of gx_min, gx_arow, gx_bcol, gx_brow and gx_pack, cut by line range from src/omega_gpu_gemm_ex.c
build.sh (gemm policy)e4ce9de9740120aa56aaa97a185aebec4aef4f44ee2b8153782cc6fcb96dc44egemm_policy_extract.c, gemm_policy_oraclegcc -std=gnu11 -O1 -Wall -o gemm_policy_oracle gemm_policy_oracle.c
fmt_table.cb1b6521d7c940de102a4a41f43b19418995d532d92428a18d3f2b2bb7710f3dafmt.tsvsh build.sh <CUDApp> 40000 (the fmt build.sh, with fmt_table.c and fmtt_stub.c beside it)
fmtt_stub.caf6388b9ab4948ba88be3c08ba79ae5bc08fb6f476e42ce1e77660503453eda7(linked into fmt_diff)an omega_fmtt that aborts, so tests/tools-om/fmt_diff.c links for its glibc mode c, which never calls it
build.sh (fmt)7a87435a3327f4942fd3b8c14ed1ee416690e50fe21b565d3e0250df0f905249fmt_diff, fmt_table, fmt.tsvbuilds tests/tools-om/fmt_diff.c unchanged with fmtt_stub.c, runs fmt_diff N c and pipes its lines through fmt_table
api_ew_oracle.c666f2dc3a308f60d5e9212ee53bfbd8fc59ba19337588688020ed018225cef77api_ew.tsvsh build.sh <CUDApp> (the api_ew build.sh, with api_ew_oracle.c beside it; <CUDApp>/build/libomega_gpu.a built first by make)
build.sh (api_ew)3815a2998dcd29402fbf0223d2c3bf46bc53a5159e21e09db5a5b36381748080api_ew_oracle, api_ew.tsvcompiles api_ew_oracle.c with the flags and defines of the CUDApp Makefile, links it with libomega_gpu.a, runs it
plat_policy_oracle.c53a9f6612a861fd2d4abc528d5d56c750bbe4e8a6bbbe9c38079c427ca7422c5plat_policy.tsvsh build.sh <CUDApp> > plat_policy.tsv (the plat policy build.sh, with plat_policy_oracle.c beside it)
plat_policy_cases.cb7d734b074ef88a902b56ef0eebb3ac9ca4556ccb3612b9c680053c7b50363fe(included by plat_policy_oracle.c)written by its build.sh: tests/platform_linux_policy.c less the Omega binding include, the test's one() and its final control, the three parts that call the Omega unit
build.sh (plat policy)3de8d14c862fc231d073d65bad746940805facd6e56d42384cccd77f85fe5a25plat_policy_cases.c, plat_policy_oracle, the rowsgcc -std=gnu11 -O1 -Wall -I<CUDApp>/src -I<CUDApp>/include, then runs the oracle
gx_num_oracle.c6fd7c49cb411e7aea146123f83c890b94377826ef0187af8352dea31ac172f28gemm_num.tsvsh build.sh <CUDApp> 13 20000000 (the gemm num build.sh, with gx_num_oracle.c beside it)
build.sh (gemm num)5a2df0b0dc8ffdeea76acc27be18fa3583adb3e03063622e06f66482567f3a4agemm_ex_om_num_test.c (a copy), gx_num_oracle, the rowsgcc -std=gnu11 -O2 -ffp-contract=off -Wall -Wno-unused-function -o gx_num_oracle gx_num_oracle.c -lm (the flags of the old test), then runs the oracle
sm121dis_oracle.c6dc19013e71786c99ffc729263cab3d320a4a675fa91cdfd3ad7eb44146d905csm121dis.tsvsh build.sh > sm121dis.tsv from the CUDApp root (the sm121dis build.sh, with sm121dis_oracle.c beside it)
build.sh (sm121dis)4a5313f3bb521155ef6531e214d164df67fd9ffc0c42e36470e34f79bd86ae3athe rows, then the old test's own outputcc -O2 -std=c11 -I. -Isrc the oracle and tests/sm121_dis_diff_test.c, each with src/cudapp_om_sm121_dis.c; runs both. The old test's PASS N words must equal the oracle's oracle words N
numhost_oracle.cdfdf17269f430347579db544027b9aa98b559d57bd26381cd70f53ea22dd9e10numhost.tsvsh build.sh > numhost.tsv from the CUDApp root (the numhost build.sh, with numhost_oracle.c beside it)
build.sh (numhost)9070ab8d161bcfd72742774ff126fb951101a247309f5127da812e0417420842the rows, then the old test's own outputcc -O2 -std=gnu11 -I. -Isrc with CUDAPP_MIGRATION_PENDING_C_NUMERIC and CUDAPP_MIGRATION_PENDING_C_NUMERIC_REST, the oracle and tests/ampere_numeric_host_test.c, each with src/omega_numeric.c and src/omega_numeric_reduce.c; the two device builders those files name are left unresolved, never called. Runs both; the old test must print AMPERE NUMERIC HOST PASS
hostrest_oracle.ccb132b68997de7a98954b58175df15868672871d6b1f82a60b8e828eab26be06hostrest.tsvsh build.sh > hostrest.tsv from the CUDApp root (the hostrest build.sh, with hostrest_oracle.c beside it)
build.sh (hostrest)360a87ce2f29993968db46d9595d745b587c7d29c1137567e041097b041319e1the rowscc -O2 -std=c11 -I. -Isrc the oracle alone; it includes src/omega_gpu_api_hostrest.h with CUDAPP_MIGRATION_PENDING_C_API_FP8_GDN_HOST, so no Omega is linked
attnhost_oracle.cc231211ce16c99bf72aedd0dc7aa68dc3484a2d5b02107b4a02e518931d7bcdaattnhost.tsv, attnscan.tsvsh build.sh OUT from the CUDApp root writes both into the directory OUT (the attnhost build.sh, with attnhost_oracle.c beside it)
build.sh (attnhost)0811c942fba3628d8a6870564a3f22c727340fef1924e673ce0f9f70ae0c1d86the rowscc -O2 -std=gnu11 -ffp-contract=off -I. -Isrc the oracle alone; it includes src/omega_attn_host_policy.h with CUDAPP_MIGRATION_PENDING_C_ATTENTION_HOST_POLICY, CUDAPP_MIGRATION_PENDING_C_SCAN_CHECK_REST and CUDAPP_MIGRATION_PENDING_C_CLOCK_SCALARS, so no Omega is linked
bwctl_oracle.c78a8f9d1574706948dbebec0f5dbd423bd8adfaf48cb572900fb6dd0b319ee12bwctl.tsvsh build.sh > bwctl.tsv from the CUDApp root (the bwctl build.sh, with bwctl_oracle.c beside it)
build.sh (bwctl)4ca5127bf178720cd521b14f1d7acd0d6a3ae9541cf45904a38e3d34ab3d7aafthe rowscc -O2 -std=gnu11 -ffp-contract=off -I. -Isrc the oracle with src/omega_blackwell_codegen.c and CUDAPP_MIGRATION_PENDING_C_ENCODER, CUDAPP_MIGRATION_PENDING_C_CODEGEN_BASE, so the C encoder encode_single_insn answers and no Omega is linked
ldgmmio_oracle.cd873a2558771bab307d923e325c626a5d7de1b281fbe0dfbc69a6948087d3ee6ldgmmio.tsvsh build.sh > ldgmmio.tsv from the CUDApp root (the ldgmmio build.sh, with ldgmmio_oracle.c beside it)
build.sh (ldgmmio)d84c0e74fdcee26eeabf71ee9760451fd39501be22f84b6d6a65f7b204f9fdb5the rowsas the bwctl build.sh, with src/omega_sm121_disasm.c and CUDAPP_MIGRATION_PENDING_C_DISASM added, so the C decoder c_sm121_disasm answers too
avpack_oracle.c29cf4e104a420cdac41c8910342a3dde3bf7eb0b2a90df1cb8d2bf8ac95d1f71avpack.tsvsh build.sh > avpack.tsv from the CUDApp root (the avpack build.sh, with avpack_oracle.c beside it)
build.sh (avpack)ab80d23966e9c7772bdcffc475d7f6d93e24a25674fb72a5537b5d3e3cb85d4athe rowscc -O2 -std=gnu11 -ffp-contract=off -Isrc -DCUDAPP_MIGRATION_PENDING_ATTN_VIEWS=1 the oracle alone, so the pending C bodies of src/omega_attn_views.h answer and no Omega is linked
dscalar_oracle.c7d421f8f1fe1a2fd4af16d91734de5e0511eb9031bd20710b9749cc2e0e2c064dscalar.tsvsh build.sh > dscalar.tsv (the dscalar build.sh, with dscalar_oracle.c beside it)
build.sh (dscalar)c798c9d032af692f4f51a87000e247ce957023017797e2ec15bf3c11da66c7e5the rowscc -O2 -std=gnu11 -ffp-contract=off the oracle alone: it holds the test's two reference expressions and needs nothing of CUDApp
nartf_oracle.ca021aada9f39d71eef6c128fe234537afb29b1c67583b61d7937180b981944aanartf.tsvsh build.sh > nartf.tsv from the CUDApp root (the nartf build.sh, with nartf_oracle.c and extra.inc beside it)
extra.inc (nartf)f1030e788676a2c0a4d36a0b3bee13554687b2b9c501457ea110eaa137ff8f74the edge rows and the K rowincluded by nartf_oracle.c
build.sh (nartf)a1d7ab50ef9a8f6adbd4e3209f63bc7e0a0bd1af40674e952c09255b24f77df0the rowscc -std=gnu11 -O2 -ffp-contract=off -ffunction-sections -fdata-sections -Isrc -Itests -DCUDAPP_MIGRATION_PENDING_C_ARTIFACT=1 -DCUDAPP_MIGRATION_PENDING_C_NATIVE_ARTIFACT_REST=1 the oracle, -Wl,--gc-sections: it includes the test's fixture tests/api_rest_art_fixture.c as the c_ build of tests/api_rest_check.py does, so the pending C bodies of src/omega_native_artifact.c answer and no Omega is linked
nmm_oracle.cb62b930054c66f12be31a8af3ba775a372b1c273954f90b3fd6f949713ba8659nmm.tsvsh build.sh > nmm.tsv from the CUDApp root (the nmm build.sh, with nmm_oracle.c beside it)
build.sh (nmm)727a604e67468e15f74059018dff5852e3c54c816a255ba0879d337158847c4dthe rowscc -std=gnu11 -O2 -ffp-contract=off -ffunction-sections -fdata-sections -Isrc -Itests -I. -DCUDAPP_MIGRATION_PENDING_C_ARTIFACT=1 -DCUDAPP_MIGRATION_PENDING_C_MATMUL_ORACLE_GUARD=1 the oracle with src/omega_blackwell_matmul.c and src/cudapp_freest_bw_scalar.c (for omega_bf16_to_fp32, as tests/api_rest_check.py links), -Wl,--gc-sections -lm: it includes the test's fixture tests/api_rest_mm_fixture.c as the c_ build does, so the pending C oracle of src/omega_gpu_matmul_api.c answers and no Omega is linked
nmmq_oracle.c72dfc862d05a6ee31436ea1e595c3b774cde49f60a033a951f21adda233218f0nmmq.tsvsh build.sh > nmmq.tsv (the nmmq build.sh, with nmmq_oracle.c beside it; its first row has a walk, so the gate's table control changes a visit)
build.sh (nmmq)542442e73adebee1eee729bd13f24f7fc49cc8deef8c6e31059fda37ac9e1aefthe rowscc -std=gnu11 -O2 the oracle alone: it restates the loop of the pending C oracle (for i < m, for j < n) and needs nothing of CUDApp
avv_oracle.cff40cd4d701f96ac818e69f63349809a50172aab86ac04324c7ef0ca1be751ceavv-UNIT.tsv (o UNIT writes one table)built and run by the avv build.sh
build.sh (avv)676bc813124c5f7ba27efb40e9e05f958bbcc05d2b415f362e13d43609698584every avv-UNIT.tsvsh build.sh OUTDIR from the CUDApp root: cc -O2 -std=gnu11 -ffp-contract=off -Isrc -DCUDAPP_MIGRATION_PENDING_ATTN_VIEWS=1 the oracle alone, so the pending C bodies of src/omega_attn_views.h answer and no Omega is linked; then one run per unit
avrope_oracle.c7c7271a108d2356d1a5fe11fbeb85322e3b7bc48b218d94df282f0fa1a7b4ecbavrope.tsv; avrope-k.tsv when its argument is kbuilt and run by the avrope build.sh
build.sh (avrope)d8490f4af5c1a56746280d2ab46dda1cc428e77566d1a0b51293617cae4d11cathe rowssh build.sh > avrope.tsv and sh build.sh k > avrope-k.tsv from the CUDApp root: cc -O2 -std=gnu11 -ffp-contract=off -Isrc -DCUDAPP_MIGRATION_PENDING_ATTN_VIEWS=1 -DCUDAPP_MIGRATION_PENDING_C_CORE=1 -DCUDAPP_MIGRATION_PENDING_C_API_PLAN=1 the oracle with src/omega_gpu_hostmath.c, so av_ropegen of src/omega_attn_tables.h and the host math under it are the pending C and no Omega is linked; its arguments are passed to the oracle
avtab_oracle.ce444a1d35700540ae1a15f1c3621b59d9868da2d19a9310c6487e27d64834ef3the rows of avtab.tsv and avtab-k.tsvbuilt and run by the avtab build.sh
build.sh (avtab)ad721f60e8eb5982722a94671567bb0b82bbc1ffae427d09a9b9f8e869a3a998the rowssh build.sh > avtab.tsv from the CUDApp root: cc -O2 -std=gnu11 -ffp-contract=off -Isrc -DCUDAPP_MIGRATION_PENDING_ATTN_VIEWS=1 -DCUDAPP_MIGRATION_PENDING_C_CORE=1 -DCUDAPP_MIGRATION_PENDING_C_API_PLAN=1 the oracle with src/omega_gpu_hostmath.c, so the table calls of src/omega_attn_tables.h and ap_plan of src/omega_api_plan.h under them are the pending C and no Omega is linked. The hmap rows whose mutant flag is set and whose query head count is above 0 and below the kv head count are moved from that output to avtab-k.tsv; the rest is avtab.tsv.
arest_oracle.c41cf29751aa95d133eb91190f7505c34762587f5bfd434bf647f7c658b8603c5every arest-CHECK.tsv and arest-UNIT.tsvbuilt and run by the arest build.sh
arest_pack_extract.c(written by build.sh)(included by arest_oracle.c)the retained C fragment packers, cut by line range from src/omega_blackwell_codegen.c (its CUDAPP_MIGRATION_PENDING_C_PACK branch): g_frag_a_tab, frag_a_tab_init, frag_f32_to_bf16, FRAG_PACK_A_BODY, omega_matmul_frag_pack_a, omega_matmul_frag_pack_a_f32 (lines 2809 to 2850) and omega_matmul_frag_pack_b (lines 2902 to 2917)
build.sh (arest)f9be743bee2689b6679f9557d16fb5ad8da53723b6808f7e6db2f0f03bbed73cevery arest tablesh build.sh OUTDIR from the CUDApp root: cc -O2 -std=gnu11 -ffp-contract=off -Isrc the oracle alone with CUDAPP_MIGRATION_PENDING_C_API_SHELLS, so every omega_api_* of src/omega_api_shells.h is the pending C and no Omega is linked; then one run that writes every table
apish_oracle.cc8ae104d3a097f3d5978af423122fcd1e17a3b65a7ac4927ae2d230dbc7c059aapish.tsv, apish-blk.tsv, apish-fp8x.tsv, apish-fp8xb.tsvbuilt and run by the apish build.sh
build.sh (apish)1924515d50ace7f3f26ca7221f86fac8d8ccfadcef30f0c311b0e13605f063d5the four apish tablessh build.sh OUTDIR from the CUDApp root: cc -std=gnu11 -O2 -ffp-contract=off -ffunction-sections -fdata-sections -Isrc the oracle, the test's own pending C tests/api_shells_oracle.c unchanged, and src/omega_fp8_slot_table.c with CUDAPP_MIGRATION_PENDING_C_API_SHELLS and CUDAPP_MIGRATION_PENDING_API_VIEWS_REST=1 (its pending C branch), linked with --gc-sections so the table's query and stats entries, which the test never calls and which name Omega copy units, are dropped; no Omega is linked
bwhz_oracle.c887d0fa25019178498a0726049a92d2a32d5090a41c496395d9d4891997bb468bwhz.tsv; with the argument k, the whole-check rows bwhz-k.tsvgcc -std=gnu11 -O1 -Wall -fsanitize=undefined -fno-sanitize-recover=all -Isrc -o bwhz_oracle bwhz_oracle.c from the omega-mv root (the oracle includes src/omega_bw_hazard.c, for its static pmin); no Omega is linked. Kept in the DRA-606 lane records (~/handoffs/omega-home-20261116/linear/DRA-606/oracle/ on the Spark)

Which rows are the C's answers:

  • gdn_admit.tsv: every row. gdn_oracle.c calls the pending C src/omega_gpu_gdn_admit.c (CUDAPP_MIGRATION_PENDING_C_GDN_ADMIT) and omega_gdn_shape on the domain of tests/gdn_admit_diff.c.
  • leftovers.tsv: the byte and path rows and the op rows of ops 2, 3 and 4 are answers of the pending C (CUDAPP_MIGRATION_PENDING_LEFTOVERS) in src/omega_path_check.h, src/omega_gpu_q36_native.h (omega_q36_native_record_status, op 2) and src/omega_numeric_lifecycle.h (omega_numeric_native_acquire for op 3, omega_numeric_native_uncertain for op 4). The rows of ops 1, 5 and 6 are the values tests/leftovers_test.c asserts, written as its formulas: the pending C of those ops sits inside functions that need a device context and a lookup result, so there is no standalone C to call.
  • streams.tsv: every row. streams_oracle.c runs the C test's sweep (tests/streams_diff_test.c and omega_gpu_cmdlist_streams_diff_sweep) through the C side only. A chunk row holds, for one wait mask, independence mask, mode and barrier, the chunk count, the word total and an FNV-1a-64 digest of every chunk the C emits over the remaining options, so every word of the sweep is compared without storing each one.
  • gemm_policy.tsv: the rows of ops 0, 1, 2, 3 and 7 are answers of the pending C host policy (gx_min, gx_arow, gx_bcol, gx_brow, gx_pack). The rows of ops 4, 5 and 6 are the values tests/gemm_ex_policy_test.c asserts, written as its formulas, which are the expressions the C branch of gx_conv computes inline. Each distinct case of the test's sweep is one row.
  • fmt.tsv: every row. tests/tools-om/fmt_diff.c itself, in its glibc mode, printed each conversion with snprintf; fmt_table.c only regroups those lines. An s row is one conversion of a special value, its bits read back from %a and checked by printing them again. An r row covers a run of the random doubles: an FNV-1a-64 digest of every byte glibc printed for them, so every byte is compared without storing each one. The doubles are not stored; the check regenerates them from the test's splitmix64 stream, so a wrong regeneration fails the digest too.
  • api_ew.tsv: every row. api_ew_oracle.c includes src/omega_gpu_elementwise_api.c with the two defines of tests/api_kgen_ew_diff_test.c, so the C shape plan ap_c and the retained C generator build_kernel answer over that test's whole domain. A p row covers one mode and row count over every dimension and reconvergence bound of the test: the admitted count and an FNV-1a-64 digest of every return code and planned word. A k row is one generator spec (op, mutant, test path): whether the C accepts it and, when it does, the instruction count, a digest of the 16 fields of every instruction, the virtual register counts and a digest of their widths.
  • plat_policy.tsv: every row. plat_policy_oracle.c runs each case of tests/platform_linux_policy.c through the C oracle plat_c of src/omega_gpu_platform_linux_cpolicy.h and prints the message, the result and the whole reply.
  • gemm_num.tsv: every row. gx_num_oracle.c includes tests/gemm_ex_om_num_test.c whole (its main renamed, its probe never called), so the test's own C formats (h2f, e4m3f, f2bf_rne, f2h_rne, split3, d2f_odd and the non-finite masks) answer over its whole sweep. A row holds one sweep's answer count and their FNV-1a-64 digest.
  • sm121dis.tsv: every row. sm121dis_oracle.c includes src/omega_sm121_disasm.c with CUDAPP_MIGRATION_PENDING_DISASM_DIFF, holds the test's GOLD table and the four loops of its main copied unchanged, and prints for each word the status and text of the retained C decoder c_sm121_disasm. The g rows are the test's golden texts (from nvdisasm), not answers of the C.
  • numhost.tsv: every row. numhost_oracle.c calls the C reference tier (omega_numeric_reference, omega_reduce_reference, with the C bodies selected) on the old test's vectors and then on a grid of FP32 special values (zeros, ones, subnormals, the largest finite, infinities, quiet and signalling NaN, rounding ties). For the old test's vector it also requires the host realization omega_reduce_cpu to give the same bits, as the old test asks of MAX.
  • hostrest.tsv: every row. hostrest_oracle.c runs the two loops of tests/api_hostrest_test.c, copied unchanged, through the frozen C oracle omega_ah_c and prints each call's op, its nine used parameters and the C's answer.
  • attnhost.tsv and attnscan.tsv: every row. attnhost_oracle.c runs the policy, scan and clock loops of tests/attn_host_diff.c (which compared om_plan, om_check and om_clock with the c_ versions linked through tests/attn_host_fixture.c) through the pending C bodies ah_policy, ah_check and ah_clock, with the policy state carried from call to call as in the test. A p row holds the 23 used plan words before and after the call and its answer; the oracle requires the other nine to stay zero. An s row holds the scan length, the case, the op and the answer, not the arrays: the check builds them as the test does. The oracle also requires the test's own scan expectations (a flipped running sum and a broken sort are found, an all-poison array counts every element).
  • bwctl.tsv: every row. bwctl_oracle.c runs the loops of tests/bw_encode_control_test.c (each op from 0 to BW_IR_ATOMG_MIN_U64_STRONG_SYS, the four forms plain, @P0, uniform and both, the two control sentinels) through the C omega_blackwell_encode_one and prints, per encoding, whether it was accepted and its four words. The old test, built the same way, prints 512 encodings checked, 0 ... dropped the control word: PASS.
  • ldgmmio.tsv: every row. ldgmmio_oracle.c encodes the instruction of tests/bw_ldg_mmio_test.c for LDG_MMIO, LDG.E and LDG.E.STRONG.SYS (rows e), and LDG_MMIO's words with word 2 replaced (rows w: the test's red word 0x0c0e1900, then every value of the three NAK memory fields over LDG_MMIO's own word 2), and prints NAK's fields, the test's contract answer and the C decoder's text and answer for each. It requires the test's own expectations: its checks 1 to 4 and the red word breaking the contract.
  • avpack.tsv: every row. avpack_oracle.c calls the pending C av_args, av_layout and av_bfexpand of src/omega_attn_views.h with the test's p: av_args for every NA 0 to 17 and NW 0 to 33 (the test's sweep and its three refusals, widened), av_layout for 80 masks (the fixture's two, edge masks, xorshift masks with high bits), and av_bfexpand for every 61st bfloat16 and eight edge values (the test's two NaNs among them), printing the exact float bits.
  • dscalar.tsv: the r and s rows. dscalar_oracle.c prints the test's raw rounding expression for every sign and exponent, four high payloads and the test's eight low payloads, and the test's perm() for every pair of fourteen edge values (the test's eight among them). The d and v rows carry no answer: the check compares the units over the test's whole domain with its port of the same two expressions, which the r and s rows tie to the C.
  • nartf.tsv: every answer column. nartf_oracle.c calls the test's c_json, c_version, c_layout and c_cubin (the pending C json_str, semver_ge, manifest_layout_ok and cubin_text_matches) on the domain of the artifacts() block: every byte to JSON, the test's twelve version strings and sixteen more, the test's manifest at every prefix length and with every byte set to 0, 13, 10, = or a, the test's 340-byte cubin at every length, with every byte set to the test's eight values, with function names of 0 to 129 bytes and with a changed text, and the first 0 to 8 bytes read as a little-endian word. extra.inc adds edges the test does not reach: manifests of exactly 8191 and 8192 bytes, and cubins whose section names are 3, 121 and 122 bytes after .text.. The k row is the key list the C binding passes to omega_na_layout, copied from src/omega_native_artifact.c. In the K row the C column is the C's answer and the Omega column is recorded (see Known differences).
  • nmm.tsv: every answer column. nmm_oracle.c calls the test's c_oracle (the pending C oracle of src/omega_gpu_matmul_api.c) on the test's sweep (fourteen bfloat16 kinds, k from 0 to 32, 3 x k x 3, c[i] = i), its parity pair and nine values near them, four empty shapes, every shape up to 4 x 9 x 4 with xorshift inputs and three kinds of C (the exact product, raw bits, small integers), and one Z row of 1 x 1000003 x 1, which crosses the 1000000-term split of ar_dot.
  • nmmq.tsv: every row. nmmq_oracle.c restates the pending C walk and prints, per shape, whether any element is visited, the operand lengths it reads and every (i, j) it visits in order; the shapes include empty ones, a 1000003-deep and a 1048576-deep k, and walks of 4096 elements.
  • avv-UNIT.tsv: every row. avv_oracle.c runs the pending C view operations of src/omega_attn_views.h (av_memset, av_memcpy, av_fill32, av_fillf32, av_count32, av_countf32, av_any32, av_compact32, av_routerpoison, av_zero64, av_badids, av_rowtab, av_context, av_bffinite, av_bfexpand) on the calls tests/attn_views_cases.c makes (its explicit arrays as the hex list X), and on sweeps of n over 0, 1, 7, 999999, 1000000, 1000001 and 1000003 with values placed on both sides of the units' 1000000-element block edge. The rows also probe a signalling NaN fill, negative zero and NaN compares, the INT32_MIN edge of the signed tests and a row base that wraps past 2^64. Every C answer and digest equals the unit's, so the views have no known difference.
  • avrope.tsv: every row. avrope_oracle.c runs the pending C av_ropegen on the two calls of tests/attn_views_cases.c, the full decode tables of src/omega_gpu_decode_attn_api.c and src/omega_gpu_decode_attn256_api.c (as many rows as fit 1000003 floats), odd widths, rotary dims of 0, 1, above the width and partial, positions past the documented 131072 and 1.6e6 range, thetas of 1, 0.5, 2, 3e300, 1e-300, the least subnormal, 0, -1, NaN and both infinities; and, as f64 bits, omega_hostmath_log, omega_hostmath_exp, omega_hostmath_pow and omega_hostmath_sincos of src/omega_gpu_hostmath.c on fixed edges (the sqrt(2) fold, subnormals, the overflow and underflow edges of exp and the values one ulp each side, NaN, infinities, zero and negative inputs) and xorshift sweeps. Every C answer equals the unit's.
  • avrope-k.tsv: every row. avrope_oracle.c k runs the pending C omega_hostmath_sincos on fixed angles below -pi/4 (just below it, the multiples of -pi/2 to -2 pi, -100, -131071, -1e6, -2^40, minus infinity) and two xorshift sweeps below -pi/4. The unit traps on the first row; the repaired unit gives every C answer.
  • avtab.tsv: every row. avtab_oracle.c runs the pending C table calls of src/omega_attn_tables.h (av_gentab, av_ranges, av_total, av_best, av_max, av_blocks, av_resfit, av_headmap, av_eff, av_reset, av_gather, av_fold, av_table with av_touch) on the calls of tests/attn_views_cases.c, then on lengths 0, 1, 2, 999999, 1000000, 1000001 and 1000003, which cross the units' 1000000-element block edge, and on fixed edges (words that wrap 32 bits, refused shapes, a segment longer than one block, head maps where every head differs, NaN and infinities in av_fold). A row holds the inputs, the FNV-1a hash of each output array and the call's answer.
  • avtab-k.tsv: every row. The hmap rows of the same oracle output with the mutant flag set and 0 < query heads < kv heads. The unit traps on the first row; the repaired unit gives every C answer.
  • arest-UNIT.tsv and arest-CHECK.tsv: every row. arest_oracle.c is every block of tests/api_rest_diff.c and tests/api_rest_partitions.h with each EQ turned into a row: the inputs of the call and the answers the test expects, from its own expressions, from the pending C of src/omega_api_shells.h it calls (omega_api_tcsp, omega_api_tgspec, omega_api_wok, omega_api_swsrc, omega_api_segend, omega_api_segb, omega_api_lane, omega_api_fp8mt, omega_api_fp8_defaults, omega_api_isnanb, omega_api_xfold, omega_api_xfold16, omega_api_scalef, omega_api_refb, omega_api_slot) and from the retained C fragment packers. A row of a loop the test runs is one call: a steps() row holds the state the loop has before the call, and an arnext or arxnext row with its flag set continues from the state the row before it left, as the test's loop does, so those rows depend on their order. Where the test fills an array by a loop and compares the whole output, the row holds the loop's parameters and one digest of the expected output (FNV-1a over whole elements); the check ports the fill loop and digests what the unit wrote. Where the test's output array is not set before the call, the check fills it first with a value no expected element has (or, for the two byte copies, runs the call into all-0 and into all-255 bytes), so an element the unit leaves unwritten fails; where the test zeroes it first (cg_pkh, arpfrat), so does the check. The test's omega_fp32_to_bf16 is Omega in the default build, so the oracle uses the retained C integer form frag_f32_to_bf16 and stops if the compiler's own (__bf16) cast disagrees on any value that is not a NaN. arest-pfhost.tsv is tests/test_prefill_host_rest.c the same way: its register policy pairs are rows, and its float-class loop is one digest of the counts for every n, with four of the counts as rows of their own.
  • apish.tsv, apish-blk.tsv, apish-fp8x.tsv, apish-fp8xb.tsv: every row. apish_oracle.c is tests/api_shells_diff.c with its Omega side taken out: each eq_u32, eq_i and eq_u64 of the test keeps only the pending C answer (the c_ functions of tests/api_shells_oracle.c) and adds it to the digest of its label. A row is a label, the number of comparisons under it, and the digest of the C answers in the test's order; the last row, total, is the number of all comparisons and the number of labels. Where the test called a C shell over the units (omega_fp8_pack_scan_nan, omega_fp8_pack_scales, the slot table), the oracle runs that shell's pending C branch and stops unless it gives the constant the test expects.
  • bwhz.tsv: every row. bwhz_oracle.c calls omega_bw_decode on the three forged control words of tests/bw_hazard_test.c (barrier 6 in the write field, the read field and both), on every write and read barrier pair 0 to 7 for S2R and LDG, and on random instructions over every opcode the decoder knows and some it does not, with both barrier fields drawn from 0 to 7, and prints whether it refused and, when it did not, the write barrier, read barrier and wait mask (d rows). The j, l and w rows are the C's pc tag expressions of step() and join() (the join, the late reader and the tag an entry keeps after a wait), on the C's own pmin, over tags and masks that cover 0, equal values, both orders and the extremes.

Checks

CheckReplacesUnits under testNot ported
leftoverstests/leftovers_test.cgpu/nvidia/om/components/pathcopy.om, leftovers.omThe NULL-pointer cases (tests/leftovers_test.c lines 41, 42, 47), which exist only in the C binding (omega_path_check.h); Omega has no null view. The acquire, release and poison state changes of lines 57 to 64, which act on the C atomic omega_numeric_native_state: host C state with no Omega unit. Line 54 (omega_q36_native_record_status) is covered by the op 2 rows.
gdn_admittests/gdn_admit_diff.cgpu/nvidia/om/gdn/admit.om (all eight ops: shape, alloc, layer, finite, multi, tokens, prefill layout, move)Nothing: the table holds the C test's whole domain, each case with the C oracle's verdict and outputs. The C test also checks that some but not all cases are admitted; the table holds both kinds.
streamstests/streams_diff_test.cgpu/nvidia/om/streams/streams.om (setup, launch, inline header, finish, channels, pair marker), xq.omThe CUDAPP_STREAMS_DIFF_LOG hook, which only logs in the C binding. The check assembles the chunk as the C binding emit_chunk_om does (launch words, then the inline QMD header and the 96 QMD words when the launch says inline). One mutant was tried and left out because the C domain cannot tell it apart: the inline header's shr va 40 mask (511 to 255) changes nothing for the sweep's QMD addresses, which are below 2^48.
gemm_policytests/gemm_ex_policy_test.cgpu/nvidia/om/gemmex/policy.om (ops 0 to 7)The comparison of the gx_conv copy shell against row-by-row calls and its typed-view refusal: both test the C memcpy shell around the row unit, not the policy. Two mutants were tried and left out because no input can tell them apart: if gt d c to if ge d c (equal widths give the same product) and if le w 65536 to if lt w 65536 (65536 divided by 65536 is the 1 the other branch returns).
fmttests/tools-om/fmt_diff.c, tests/tools-om/fmt.shgpu/nvidia/om/tools/fmt.om (fm_f, fm_g)The om mode of fmt_diff.c, which calls fmt.om through bridge-emitted C; the check calls fmt.om directly. The six mutants of fmt.sh are rows of mutants.tsv, with two more (infinity printed as nan, a comma for the decimal point); its flipped-record control is the gate's table control.
api_ewtests/api_kgen_ew_diff_test.c, tests/api_kgen_ew_mutants.pygpu/nvidia/om/components/api_ew_plan.om, the ew_ir unit (gpu/nvidia/om/kgen/ew_emit.om, ew_scalar.om, ew_reconv.om, ew_prime.om, ew_ir.om), gpu/nvidia/om/codegen/cg_fields.om, cg_replay.omThe comparison after the C replay shell: register allocation, encoded text and packed cubin, which run in C (omega_bw_ir_append, omega_bw_regalloc_solve, the encoder, omega_cubin_pack); the check compares what the Omega units decide (every instruction field, register widths, and acceptance, which the C refuses only where ew_ir refuses). The C test's CUDAPP_API_KGEN_RED control flips one instruction word; here the mutant rows change instruction words, and the gate's table control changes the last dimension of the d row. The five mutants of api_kgen_ew_mutants.py are rows of mutants.tsv, each as the one line it changes, with three more (a dimension cap, the row clamp, the op bound). One more was tried and left out because no input can tell it apart: the row clamp if gt nr 1024 to if gt nr 1023 sets 1024 either way.
plat_policytests/platform_linux_policy.cgpu/nvidia/om/platform-linux/plat_policy.om (every op the test names)Nothing of its cases. The test's final control (the L2 reply word must not be zero) is the table's l2 row, which holds that word. The one-line mutants of plat_policy.om in mutants.tsv each change the answer of at least one case.
gemm_numtests/gemm_ex_om_num_test.cgpu/nvidia/om/gemmex/num.om through probe.om (ops 0 to 6)Nothing of its sweep: the table holds its whole domain at the test's default step. One mutant was tried and left out because no input can tell it apart: if ge a 1199566848 to if gt a 1199566848 in gx_f2h, since at exactly that value the rounding branch also carries into the infinity encoding.
sm121distests/sm121_dis_diff_test.cgpu/nvidia/om/disasm/sm121_dis.om (sm121_dis)Nothing of its word stream: the table holds every word the test decodes, with the same xorshift seed, the golden words and their bit-16 corrupted copies. The test's CUDAPP_DISASM_DIFF_SELFTEST control (the C decoder fed a corrupted word) is the last mutant row, which makes the check stop flipping bit 16. One mutant was tried and left out because the test's stream cannot tell it apart: const HIM ulong 2199023255551 to const HIM ulong 1099511627775 (bit 40 of the high word dropped from the matched body); no word of the stream depends on it, in the old test as here.
numhosttests/ampere_numeric_host_test.cthe numeric_reduce unit (gpu/nvidia/om/numeric/numeric.om, tile.om, rest.om, reduce.om): numeric_ref for FADD, FSUB, FMUL, FFMA, FMNMX min and max, F2I, F32 to F16 and F32 to BF16, and numeric_reduce for SUM, MAX and MIN over one padded stageThe host realization tier: the old test's subject is that omega_numeric_cpu_realize (the C file's inline assembly on the host FPU) equals the reference bit for bit, and its FTZ, DAZ and rounding-mode blocks set the x86-64 MXCSR. Both are host C and assembly with no Omega unit; the check holds the reference answers the realization must equal. On the old test's vector the oracle confirms the realization of MAX, SUM and MIN. Over the grid the realization of SUM lets NaN payloads through where the reference returns the one canonical NaN, so the rows are the reference's.
hostresttests/api_hostrest_test.cgpu/nvidia/om/apiviews/hostrest.om (ah_rest, ops 0 to 24)Nothing of its domain: the table holds every call of both loops with the C oracle's answer, which the old test compared through CUDAPP_API_HOSTREST_DIFF; its CUDAPP_API_HOSTREST_RED control (the Omega answer with bit 0 flipped) is the last mutant row. Five one-line mutants of hostrest.om were tried and left out because the test's domain does not tell them apart: waves = div add gx 383 384 (383 to 384), if gt k mul uint 512 warps (gt to ge), if le get p 2 4096 (le to lt), if gt div bytes per 2147483647 (to 2147483646) and if gt mul mul ks r lb 128 (gt to ge).
attnhost, attnscantests/attn_host_diff.c, tests/attn_host_check.pygpu/nvidia/om/api/attn_host.om (ah_plan, ops 0 to 3) and gpu/nvidia/om/api/clock_ns.om (clock_ns) in attnhost; gpu/nvidia/om/scan/scan_check.om (sc_check, ops 0 to 2) in attnscan. The units all start with om2, and a program has one dialect line, so the scan block is its own check.Nothing of the test's domain. tests/attn_host_check.py built the three units and the fixture twice and ran its nine source mutants; those are rows of mutants.tsv (the five of attn_host.om and the one of clock_ns.om under attnhost, the three of scan_check.om under attnscan), with one eq-to-ne control per check. Where the test passed one array as both scan inputs, attnscan passes it and a copy (one array twice in a call is error 19). The scan arrays hold the test's largest length, 1000001, because a view is cut only from an array of constant size; a longer row is refused as a malformed table (exit 2).
bwctltests/bw_encode_control_test.cgpu/nvidia/om/encoder/bw_enc_sm121.om (bw_enc_sm121, one instruction per call)The BW_SPEC_NATIVE_PROBE mode, which calls omega_sp_native_probe of omega_native.h and has no Omega unit here. The old test checked only that word 3 keeps the control bits; the check compares the refusal and all four words with the C encoder, and keeps that property as a second comparison.
ldgmmiotests/bw_ldg_mmio_test.cgpu/nvidia/om/encoder/bw_enc_sm121.om (bw_enc_sm121) and gpu/nvidia/om/disasm/sm121_dis.om (sm121_dis)Nothing of the test's host domain: its --word mode and the Makefile's red check on 0x0c0e1900 are w rows, and the field sweep widens it. The test's GB10 device tier (the memory order on the chip) stays NOT_RUN.
avpackthe omega_av_pack and omega_av_bfexp blocks of tests/attn_views_diff.c, and the av_layout calls of tests/attn_views_cases.cgpu/nvidia/om/api/attn_args.om (av_pack), gpu/nvidia/om/api/attn_lay.om (av_lay), gpu/nvidia/om/api/attn_bfexp.om (av_bfexp)The fixture's view calls are the avv checks, its ropegen calls are avrope and its table calls are avtab. Both files are blocked in ports.tsv on the three av_stage calls (see avtab). The C binding's NULL, alias and pointer-overflow refusals have no Omega counterpart (a view is never NULL, never aliases and carries its own extent). The test compared NaNs as any NaN; the check compares their exact bits.
dscalarthe scalars() block of tests/api_attn_rest_diff.cgpu/nvidia/om/api/attn_scalar.om (av_drnd, av_perm, av_permf, av_permb; through the roots ds_round, ds_slot, ds_vecf and ds_vecb, which the check calls)The C entries omega_dattn_bf16_rne and omega_dattn256_perm_* are now wrappers of these units, so the test's own expressions are the reference. artifacts() is nartf and matmul() is nmm, nmmi and nmmn. Its build rule was tests/api_rest_check.py, which linked it with tests/api_rest_art_fixture.c and tests/api_rest_mm_fixture.c, built twice (om_ and c_ accessors of the C statics): here the c_ side is the oracles outside the tree and the om_ side is the units, called directly. The nine source mutants of tests/api_rest_check.py are rows of mutants.tsv under dscalar, nartf and nmm, each as the one line it changes. Its missing-unit link control concerns the C build.
nartfthe artifacts() block of tests/api_attn_rest_diff.cgpu/nvidia/om/api/attn_art.om (ar_json, ar_version, ar_layout, ar_cubin, ar_rd, through the roots na_json, na_ver, na_layout, na_cubin, na_read)The strict A.B.C parse before ar_version is C in both of the test's builds (parse_semver); the check ports it to feed the unit. One input is a known difference between the unit and the C (below). One mutant was tried and left out because no input can tell it apart: ret eq pos len b to ret ge pos len b in ar_layout (the scan never moves past the end).
nmm, nmmi, nmmnthe matmul() block of tests/api_attn_rest_diff.cgpu/nvidia/om/api/attn_oracle.om (ar_dot, ar_err) through mm_dot.om and mm_err.om in nmm; mm_init.om in nmmi; mm_next.om in nmmn. The three files each start with om2, and a program has one dialect line, so nmm drives the loop of src/omega_gpu_matmul_api.c (ported in nmrun) with nmm-init.om and nmm-next.om, copies of the two units' words without the dialect line, and nmmi and nmmn (one check, nmmq.om, two compositions) prove each unit on the walk of the pending C, with the other copy beside it.Nothing of the block's domain: the test compared om_oracle with c_oracle on its sweep and parity pair, which are rows of nmm.tsv. The cnt = ulong 1000000 mutant of attn_oracle.om fails only the Z row. One mutant was tried and left out because no input can tell it apart: in ar_err, if not gt scale 0.000001 to 0.00001 (no row has a scale between the two; the floor's value itself is the mutant scale = f64 0.000001). Two more only weaken a check's own comparison and so pass by design: in nmm.om, the parity comparison set to true (parity is the mismatch count being 0, which is compared); in nmmq.om, the final ret eq g 0 set to true (the mm_next mutant lt to le is caught by that comparison). One mutant traps instead of failing and is left out: B's column index read from q[0] in ar_term (rc 103, out of bounds).
avvset, avvbuf, avvfill, avvfillf, avvcount, avvcntf, avvany, avvcomp, avvrpois, avvz64, avvbids, avvrows, avvctx, avvbffin, avvbfexpthe view calls of tests/attn_views_cases.c, the fixture tests/attn_views_diff.c runs through attn_omega and attn_oraclegpu/nvidia/om/api/attn_UNIT.om (av_set, av_copy, av_fill, av_fillf, av_count, av_cntf, av_any, av_comp, av_rpois, av_z64, av_bids, av_rows, av_ctx, av_bffin, av_bfexp), each with its vc_ block body. Each unit starts with om2, so each is its own check.A row's arrays are local arrays of at most 4 MiB, so L is at most 1000003 elements (the fixture's own size), and at most 500001 for av_z64, whose ulong block edge no row reaches; a longer row is refused as a malformed table (exit 2). Each check has a mutant that cuts the units' block to 999999 elements (except avvz64 and avvrows, which never cross it) and a mutant of the operation itself; avvz64 and avvrows also have one of avv.om.
avropethe ropegen calls of tests/attn_views_cases.c (the fixture of tests/attn_views_diff.c)gpu/nvidia/om/api/attn_math.om (av_attnrope through vc_rope, av_rrow, av_pow, av_log, av_exp, av_pow2, av_sinc)rows*width is at most 1000003 (the largest local f32 array), so the unit's 1000000-row block edge is reached only with width 1, which writes nothing, and a block-edge mutant cannot fail. av_sinc is compared only for angles of at least -pi/4 (see the known differences). Mutants that cut the log series from 25 to 21 terms or the exp series from 17 to 15, move the exp edges by one ulp, move the subnormal split of exp or the bounds of av_pow2, or skip the NaN test of av_exp change no f64 value any row gives and are left out; cutting the series further (to 19 and 13) fails.
avtabthe table calls of tests/attn_views_cases.c (av_gentab, av_ranges, av_total, av_best, av_max, av_blocks, av_resfit, av_headmap, av_eff, av_reset, av_gather, av_fold, av_table, av_touch)gpu/nvidia/om/api/attn_UNIT.om for gtab, range, total, best, max, blks, rfit, hmap, eff, reset, gath, cseg, table, touch and tables (av_fold), with gpu/nvidia/om/components/api_at_plan.om under themThe three av_stage calls (gpu/nvidia/om/api/attn_stage.om): its ids parameter is view uint 16777216, and no Omega caller can pass one. A local of that size is refused (error 23, locals over 4 MiB), a global argument is refused (error 19), and an unsized view is refused (error 7). Its inner av_cseg is exercised through av_gath. av_gentab and av_ranges do not reach their 1000000-entry block edge: their arrays are 4 and 2 words per entry and must fit the 8 MiB stack.
arestlaunch, arestgargs, arestginfo, arestargsx, aresttcspec, aresttspec, aresttcinfo, arestcache, arestvictim, arestmstepthe launch(), cache() and steps() blocks of tests/api_rest_diff.cgpu/nvidia/om/apirest/UNIT.om (arlaunch, argargs, arginfo, arargsx, artcsp, artspec, artcinfo, arcache, arvictim, armstep) with the parts gpu/units.tsv composes under themThe test's other blocks are the next row. The test's red check (the low half of word 0 corrupted) is the first arestlaunch mutant. Words of arginfo and artcinfo the test does not compare are not compared.
arestdata, arestpack, aresttile, aresttern, arestcalc, arestbf16, arestcopy, arestgseg, arestsstats, arestxnext, arestgath32, arestgath16, arestpkh, arestmrowthe packing() and prefill() blocks of tests/api_rest_diff.c and the partitions of tests/api_rest_partitions.h (data_parts, tile_parts, state_parts, calc_parts, misc_parts, slot_parts); the window calls of misc_parts are rows of arestmsteparestdata: arfill, arcount, arargs, arpad, aridle, arroute, arperm, arwiden, arnext, arkey, arpfcopy, arpfrat, arsegok, arsegb, argspec, arslot, arsgate over apirest/data.om. arestpack: arnan, arscale, arfold, arfoldh, aracc, armag over apirest/pack.om. aresttile: argroups, arrun, artiles, artile, artg, argtile over apirest/tiledata.om. aresttern: artern, artrits, arrev over apirest/terndata.om. arestcalc: arcalc, ops 0 to 13. arestbf16: ar_bf16, artcperm. arestcopy, arestgseg, arestsstats, arestxnext, arestgath32, arestgath16: the unit of that name. arestpkh: cg_pklen and cg_pkh of gpu/nvidia/om/codegen/. arestmrow: mrow of codegen/cg_mrow.om. Units of one head share a check, because a program has one dialect line.Nothing of the test's calls: every EQ of the two files is a row or part of one. The seven mutants of tests/api_rest_mutants.py are rows of mutants.tsv; two of them are written differently, because as written they end the Omega check with trap 105 (a checked conversion), which the gate does not count as a caught mutant: launch-low-half and slot-pin-wrap drop the low-half mask there, and here the mask loses its lowest bit instead. A row's arrays are local arrays, so the sizes are the test's own (at most 65537 elements, 384 by 384 bytes for the prefill copy); a larger row is refused as a malformed table (exit 2). tests/api_rest_run.sh only built and ran the test.
arestpfhosttests/test_prefill_host_rest.cgpu/nvidia/om/apirest/pfhost.om (pfreg through the root arpfreg of pfreg.om, and pfcount)Nothing: every pair of its register policy loop is a row, and the counts of its float-class loop are one digest row, with four counts as rows of their own.
apish, apishblk, apishfp8x, apishfp8xbtests/api_shells_diff.c (its pending C side is tests/api_shells_oracle.c)apish: gpu/nvidia/om/api/apish_shp.om (apishp, ops 1 to 61), apish_pack.om (apishk, ops 1 to 6), apish_slot.om (apishl), apish_trit.om (apishr), and through the C shells' calls arnan, arscale and arslot of gpu/nvidia/om/apirest/. apishblk: apish_blk.om (apishb), which has its own refb. apishfp8x, apishfp8xb: av_fp8x and av_fp8xb of gpu/nvidia/om/apiviews/, each with its own head.Nothing of the test's comparisons: each is under its label, and the total row of each table holds the number of comparisons and of labels. The op numbers, argument orders and casts of the C header src/omega_api_shells.h are ported in apish.om (xp, xk, as3, asi, as6). The slot table block is ported as the arslot calls src/omega_fp8_slot_table.c makes; its idle test uses op 6 for each slot, the form of that file's pending branch (aridle, which the default build calls, is checked by arestdata). The C table's locks, NULL and range refusals are C-binding only. Two of the test's inputs are weak, and the port keeps them as they are: block and block0 both answer one NaN whatever the weights and the scale (the test's bytes hold NaN codes and non-finite floats), so apishblk shows only that apishb returns that NaN, whose bit pattern is the one AArch64 arithmetic gives; and trit is given a non-trit byte, so only its refusal is seen. The test's neg-control (a flipped answer must differ from the C answer) is kept as the flipped value; the gate's table control does that job. The eight mutants of tests/api_shells_mutants.py are rows of mutants.tsv: five are the same one-line change, and three (lane, slot, dsplit) are stand-in mutants at the same site, changing the condition above the answer line the Python changed, because that answer line is not one unique line of the unit. The apish-lib.om row of mutants.tsv changes the check's own sign extension: it shows the check reads the sign of an answer, and says nothing about a unit.
bwhzthe decode half of tests/bw_hazard_test.c test_controls (the barrier 6 refusal of DRA-606)gpu/nvidia/om/codegen/bw_hazard.om with bw_hazard_dec.om: hz_dec (which is hz_dec1, the decode hz_chk runs on every reachable instruction), and the pc tag rules hz_chk uses for the smallest src_pc of DRA-606: hz_jtag (the join), hz_ltag (a late reader) and hz_wtag (an entry after a wait)hz_chk, the whole check: its wire is a 3203584-word edit view, and a program can neither hold that in local arrays (error 23, locals over 4 MiB) nor pass a global (error 19). The walk around the tag rules is therefore not run here. For DRA-606 it was compared outside the tree: lowered to C by omega-bridge as CUDApp om/units.sh lowers it and linked with CUDApp's wrapper src/omega_bw_hazard.c, it gives the fixed C's answer on all 1205 kernels of bwhz_oracle.c k (findings and their smallest src_pc) once the C is given the port's ATOMG register width (below); the lane records hold the commands and outputs. Known difference, not a K row because the check does not reach it: for ATOMG with size field (word 2 bits 9 to 11) 2 or 3 the port reads and writes two registers for Rd and Rb (hz_atn), the C one.

Known differences. A K row of a check's table is an input on which the unit and the pending C answer differently. It records both answers, and the row passes only while the unit still gives its recorded answer and the recorded C answer still differs from it, so a change on either side fails the gate. The C answer comes from the oracle when the table is made; the unit's answer was recorded when the check first met the input. Nothing here changes either side: which answer is the contract is the unit owner's decision.

CheckInputPending COmega unitWhy
nartfa cubin whose section is named .text.fff, the name ending exactly at the end of its string table with no NUL after it, function fffaccepts (1): cubin_text_matches of src/omega_native_artifact.c measures the name with strnlen, which stops at the table's endrefuses (0): ar_sect of gpu/nvidia/om/api/attn_art.om requires room for the NUL inside the table and the NUL itselfattn_art.om is byte-equal to the unit CUDApp's default build ships, so the refusal is the shipped behaviour
avropeav_sinc of an angle below -pi/4 (for example -1.0)answers: omega_hostmath_sincos takes the quadrant n & 3 of the negative long longtraps 105: q = and ulong n 3 converts the negative quadrant n to ulongThe trap ends the check, so this is not a K row. The six-field avrope row of mutants.tsv asserts it on avrope-k.tsv (the C's sin and cos, as f64 bits, of angles from just below -pi/4 down to -1.1e12 and minus infinity): avrope must exit 105 there, and with q = ulong and n 3 (the quadrant taken before the conversion) it must give every recorded C answer. av_attnrope, the unit's only caller, never asks: its angle is pos * pow(theta, e), which is at least 0 or NaN.
avtabav_headmap with the mutant flag set and 0 < query heads < kv heads (for example 1 and 8)answers: mode 25 of src/omega_api_plan.h takes a[0] % a[2] when the flag is set and never divides by a[1] / a[2]traps 102: mode 25 of api_at_plan.om computes div get a 0 div get a 1 get a 2 before it chooses the mutant branch, and query heads / kv heads is 0The trap ends the check, so this is not a K row. The six-field avtab row of mutants.tsv asserts it on avtab-k.tsv: avtab must exit 102 there, and with v = div get a 0 or div get a 1 get a 2 get a 4 (a divisor that is not 0 when the flag is set) it must give every recorded C answer.

Controls for the K row: setting its recorded Omega answer to 1, or its recorded C answer to 0, makes nartf exit 1; the mutant of mutants.tsv that lets ar_sect accept a name ending at the table's end (if le left add len fnm 6 to if lt ...) fails only that row.

tests/pathcopy_mutants.py became the rows of mutants.tsv for check leftovers whose part is pathcopy.om. Each Python mutant is written as the one line of pathcopy.om it changes; the gate kills each one through the leftovers check, as the Python did through tests/leftovers_test.c.

A path case of leftovers is at most 4095 bytes with a cap of at most 4096. This is a fixed bound of the check, not of pathcopy.om: the units under test take views, a view is cut from an array whose size is a constant (new or a sized global), and a pool that grows cannot be passed as an argument or sliced with part (docs/RUNTIME-POOLS.md, error 19). 4096 is the Linux path limit (PATH_MAX). A longer case is refused as a malformed table (exit 2), so the gate fails loudly; it is never cut short. The test's own cases have caps up to 32.