Commit Graph

4 Commits

Author SHA1 Message Date
cd88d57800 tools: close hardware oracle in ds_permute_probe (PROBE-DSPERMUTE-ORACLE-CLOSE)
Ensure tools/ds_permute_probe.py closes the opened hardware oracle on all
exit paths (non-GFX10 exit 77, mismatch return 1, report write error, and
exceptions) using a try ... finally block with hasattr(oracle, 'close').

Added unit tests in tests/test_ds_permute_probe.py verifying close() is
invoked on all variants.

Item: PROBE-DSPERMUTE-ORACLE-CLOSE

agent: yes
AI-assisted: yes
2026-11-24 12:47:43 +03:00
624175dbfc fix(tools): validate --waves and --json up front in ds_permute_probe 2026-11-22 20:29:12 +02:00
37dfb03ef2 ds_permute_probe: set newline='\n' on JSON output 2026-11-22 17:19:10 +01:00
99bdb70ac9 hw_oracle: native RDNA2 measurement of ds_permute_b32 (SHADER-133) 2026-11-22 17:12:31 +01:00