tools/bvh_tri_probe.py: PR's --kernel expansion, validate_json_path, family check and r.get('lane') kept with main's --write-kernels check, skipped-row count and skip note; write_report now writes through main's _write_text_atomic; the skipped count reads r.get("status") like the PR's r.get("lane").
Co-authored-by: abnalstlll-byte <284980532+abnalstlll-byte@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tests/semantic/test_image_bvh_tri_hw.py: the data block now also holds the 256 single-lane rows of the tie
measurement (RX 6800, gfx1030, AMD 26.11.2, 2026-11-23; hand-built nodes and rays, the words the instruction
returned, both forms equal), written by work-bvhtri/ties/export_hw_table_ties.py; the #4202 rows are unchanged.
The translator before the tie rule change fails 46 of the new rows (92 subtests) and none of the old ones.
tools/bvh_tri_probe.py: builds the eight tie kernels too (tri_t1..t7 x / y dominant and equal |d|, tri_t8 the z
bridge); their lines are those of the reviewed specs the RX 6800 ran (module_sha256 matches). rule_words follows
the new tie rule. tests/test_bvh_tri_probe.py pins tri_t1 and tri_t8 and expects 564 single-lane cases.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Builds the 14 tools/hw_oracle raw kernels of the RX 6800 measurement (308 single-lane cases, 7 cases on 64 lanes in
wave32 and wave64, NSA and contiguous operands), runs them one dispatch each through the in-tree runner and compares
both forms with the measured rule and, with --oracle translator,hw, with the translator on the mini interpreter. The
lines are the ones that ran: built into a module by asm.module_text they hash to the reviewed specs.
What a kernel may do is the measurement's safety review: nodes only in whole 64-byte slots of the node region inside
the oracle's buffer, with a guard band after it; a run-time check that the region is 256-byte aligned before any
BVH instruction; triangle node types only (no box nodes, no types 6/7, no extent rows) and one descriptor (w2 =
0xFFFFFFFF, w3 = 0x81000000); outputs refused when the control word is missing, a destination was never written or
everything is prefill. The DRM launcher's 4096-dword limit skips the lane kernels on Linux. The docstring has the
WSL clang-21 command lines the measurement assembled with (not tried through the tool itself).
tests/test_bvh_tri_probe.py (no GPU): the cases equal the rows of test_image_bvh_tri_hw.py, the rule gives their
measured words, three kernels' text is pinned, the safety checks refuse bad kernels, and a stand-in oracle with the
measured outputs passes (one planted word fails, prefill or a missing control word stops the run).
Co-Authored-By: Claude Opus <noreply@anthropic.com>