diff options
| author | Dominik <55330408+Dom-in@users.noreply.github.com> | 2026-11-22 08:37:04 +0000 |
|---|---|---|
| committer | Dominik <55330408+Dom-in@users.noreply.github.com> | 2026-11-22 08:37:04 +0000 |
| commit | 4f7ce665f7c3f6c96668c56685321b1bc1e12f03 (patch) | |
| tree | 64845990b1d72bc6e3075c9114bcc80d2f558710 /runtime/src/pe_loader.cpp | |
| parent | 0d61c357656d92334eef97facec1ae4f7b2b60b1 (diff) | |
hw_oracle: run on RDNA4 (gfx12xx); an unknown architecture is unavailable, not a traceback
On a gfx1201 card asm.family() raised ValueError out of Oracle(), so runner.py and salu_diff --oracle hw
crashed and tests/test_hw_oracle.py errored in setUpClass on any RDNA4 machine with the tools installed.
- family() accepts gfx12xx. The kernels use GFX11's spellings there (s_load_b64, global_store_b128).
- GFX12_REMOVED adds the twelve SOPK compares, which AMD clang (rocm-sdk-core 10.0.0) assembles for gfx1150
and rejects for gfx1201. They are now named skips, not generic assembler rejections.
- Oracle() turns an unsupported architecture into Unavailable (exit 77), as the module docstring promises.
Measured on a Radeon RX 9070 (gfx1201, driver 26.11.2): salu_diff --oracle hw, 10,000 programs, 0 mismatches.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions