Commit Graph

6 Commits

Author SHA1 Message Date
378b165f39 Merge pull request #1998 from Ch1mpleo/fix/buffer-store-probe-atomic-json
tools/buffer_store_probe: write --json report atomically (BUFFER-STORE-PROBE-ATOMIC-JSON)
2026-11-28 11:48:23 +01:00
cac1f1fe99 tools/buffer_store_probe: write --json report atomically (BUFFER-STORE-PROBE-ATOMIC-JSON) 2026-11-26 00:53:07 +07:00
3aa4f7243a tools: close hardware oracle in buffer_store_probe (PROBE-BUFFERSTORE-ORACLE-CLOSE)
Claimed in the coordination issue as: PROBE-BUFFERSTORE-ORACLE-CLOSE (#14)

Wrap hardware oracle execution in tools/buffer_store_probe.py in a
try/finally block so oracle.close() is called on normal completion,
non-GFX10 exit (code 77), report write errors, and probe exceptions.

Add unit tests in tests/test_buffer_store_probe.py exercising oracle
closure on success, non-GFX10 skip, and probe exceptions.

AI-assisted: yes
agent: yes
2026-11-24 12:16:25 +03:00
9f72b1faab buffer_store_probe, mode_round_probe: print the measured norm and transcendental counts
The per-wave summary line said 'norm exact across 5 formats + snorm2 ties' and
'7/7 f16 transcendentals 0/65536 RNE/RTZ diffs' whatever the hardware returned.
Count the exact UNORM/SNORM sweeps, the SNORM2 ties and the transcendentals from
the results, and print one line per failing sweep or op. Tests drive main() with
a fake oracle that answers from the probes' own tables and models.
2026-11-23 03:37:20 +00:00
e8e4f45bf7 fix(tools): validate --waves and --json up front in buffer_store_probe 2026-11-22 20:28:11 +02:00
0ead0a6030 rdna2spirv: single-rounded UNORM/SNORM stores and 2-comp DST_SEL swizzle (SHADER-364) 2026-11-22 17:07:27 +01:00