diff options
| author | fiestorra <fiestorra@users.noreply.github.com> | 2026-11-29 21:39:36 +0100 |
|---|---|---|
| committer | fiestorra <fiestorra@users.noreply.github.com> | 2026-11-30 15:39:20 +0100 |
| commit | 2afbcef3c0e998cd806461dc07af1b666ea243e0 (patch) | |
| tree | da939b4945e95535f82dc1cd90a2fb339be1ea29 /scripts | |
| parent | b17b22d33155e55ba0d27ea87dd51aac331e5894 (diff) | |
runner: skip the exact exp2 case on Apple's Paravirtual device
That device's OpExp2 lands two ulps low on 2^-125, so the bit-exact fixture cannot
hold there; real Apple hardware returns the exact pattern (M5 Max, MoltenVK 1.4.2,
passes the same case), which is why this skips by device instead of widening the
check for everyone.
The skip reads the device line the harness already prints beside the subgroup line
that wide_pixel_skip reads, so it needs no new plumbing.
Written with an AI assistant.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/run_gpu_tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index c3b73d098..2cc7e3a86 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -56,6 +56,7 @@ from check import barycentric_problem | |||
| 56 | from check import NAN_PAYLOAD_TEST, nan_payload_problem | 56 | from check import NAN_PAYLOAD_TEST, nan_payload_problem |
| 57 | from check import GET_LOD_TESTS, STORE_WORDS, get_lod_test, store_words_problem # TEST-184: image atomics and queries | 57 | from check import GET_LOD_TESTS, STORE_WORDS, get_lod_test, store_words_problem # TEST-184: image atomics and queries |
| 58 | from check import wide_pixel_skip # ps_w64x_readlane: judged only where the fragment stage was required 64-wide | 58 | from check import wide_pixel_skip # ps_w64x_readlane: judged only where the fragment stage was required 64-wide |
| 59 | from check import paravirtual_exp2_skip # ps_exp_f32_denorm_rt: judged only where OpExp2 is exact on 2^-125 | ||
| 59 | from check import FMA_FUSED_ENV, judge_fma_fused # cs_fma_fused: strict under LEONIDA_FMA=khr, fused/split under glsl | 60 | from check import FMA_FUSED_ENV, judge_fma_fused # cs_fma_fused: strict under LEONIDA_FMA=khr, fused/split under glsl |
| 60 | from check import bary_persp_problem # ps_persp_bary's perspective-correct reference | 61 | from check import bary_persp_problem # ps_persp_bary's perspective-correct reference |
| 61 | 62 | ||
| @@ -1655,6 +1656,9 @@ def run_suite(a, work: str) -> int: | |||
| 1655 | if skip := wide_pixel_skip(name, msg): # a 64-wide pixel stage the device could not give: nothing to judge | 1656 | if skip := wide_pixel_skip(name, msg): # a 64-wide pixel stage the device could not give: nothing to judge |
| 1656 | results.append((name, None, str(skip))) | 1657 | results.append((name, None, str(skip))) |
| 1657 | continue | 1658 | continue |
| 1659 | if skip := paravirtual_exp2_skip(name, msg): # Apple Paravirtual: OpExp2 is two ulps low on 2^-125 | ||
| 1660 | results.append((name, None, str(skip))) | ||
| 1661 | continue | ||
| 1658 | if name in const_wants: | 1662 | if name in const_wants: |
| 1659 | if name == "ps_vcmpx_forms" and (skip := vcmpx_forms_narrow_skip(msg)): | 1663 | if name == "ps_vcmpx_forms" and (skip := vcmpx_forms_narrow_skip(msg)): |
| 1660 | ok, detail = None, str(skip) | 1664 | ok, detail = None, str(skip) |