runner: skip the exact exp2 case on Apple's Paravirtual device, so the macos job stops failing on a device that cannot be exact #2641
No reviewers
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!2641
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2641"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@fiestorra on GitHub · 2026-11-29 20:39 UTC · original
fiestorra:fix/paravirtual-exp2-skip→main· +0 −0 · 0 files · 0 commits · closed without mergingThe
macosGPU job's only failure isps_exp_f32_denorm_rt, and the shape of the fix is decided by two measurements rather than by preference:OpExp2returns0x00FFFFFEfor0x01000000- two ulps low on 2^-125, so the bit-exact fixture cannot hold there;lorentsobin #2635.So widening the fixture would weaken the check where it works. This skips the case by device instead:
wired in
scripts/run_gpu_tests.pynext towide_pixel_skip, which is the existing precedent for "the device cannot give this, judge it elsewhere". It reads thedevice:line the harness prints beside thesubgrouplinewide_pixel_skipalready reads, so no new plumbing.Zero is still exact in the check itself, and every other device keeps the exact assertion - nothing is relaxed.
Tested
without a
device:line does not skip;python3 -m pytest tests/test_run_gpu_tests.py tests/test_shader_checks.py tests/test_check_unsupported_skips.py tests/test_run_gpu_pixel_checks.py tests/test_run_gpu_mandelbrot.py -q-> 189 passed, 555 subtests passed;
python -m compileallclean on both files.Not tested
On a MoltenVK device, because this machine is Windows with an RTX 4090. What I can say is that the skip keys on a string the harness already emits and that the runner already parses for a
neighbouring skip, and that the non-Paravirtual path is unchanged. The person who can run that job can confirm the check goes from red to skipped.
GPUs tested: RTX 4090, driver 32.0.16.2124 - for the Python logic only; no MoltenVK.
Written with an AI assistant.
@fiestorra on GitHub · 2026-11-29 20:50 UTC · original
The job this exists for now passes on the runner:
That is the hardware evidence I could not produce from here: the Apple Paravirtual device that was failing
ps_exp_f32_denorm_rtno longer fails the job, because the case is skipped where thedevice cannot be exact rather than judged against a tolerance.
Two honest limits on the statement:
SKIP (Apple Paravirtual: OpExp2 lands two ulps low on 2^-125, real Apple hardware is exact)line, because the job log is only published when the wholerun finishes and it is still going.
SUCCESScovers both "the case skipped" and "the case passed", and given the device name check I expect the former - I will paste the line when the loglands rather than call it now;
Nonewhendevice:does not say Paravirtual), and that path is the onelorentsobmeasured passing on an M5 Max.If this merges,
macosstops being red for every pull request in the queue - that was the last of the five red jobsmainstarted this morning with.Written with an AI assistant.
510543fb0ctodc679d8fc7@fiestorra on GitHub · 2026-11-29 21:45 UTC · original
Rebased onto
main060c47160and now carries the one commitmainis missing, like my other pull requests:Why:
semantic-tests (ubuntu-latest)was the only failing check here, and it fails onmainfor the interp oracle, so a branch cut frommaininherits it and cannot show its own result. If #2633 merges first this second commit becomes a duplicate and can be dropped; if this lands first, #2633 becomes a no-op.With that, the only check this pull request does not clear by itself is
macos- and this is the change that clears it, already measured green on the runner (macos = SUCCESSin the previous run).Written with an AI assistant.
@fiestorra on GitHub · 2026-11-29 22:06 UTC · original
The two jobs this pull request exists for are green on the current head (
dc679d8fc):The one remaining failure is not this diff.
macos-pythonfails inBenchTranslateTest.test_a_local_baseline_replaces_the_committed_one(tests/test_bench_translate.py), which this branch does not touch (the diff isruntime/test/shaders/check.pyandscripts/run_gpu_tests.py). I ran it onmainon Windows: 1 passed. So either it is a macOS-only failure that has been hidden because the other pull requests'macos-pythonruns end up CANCELLED by the concurrency group rather than failing, or it is flaky on that runner.If it is the former, it is a
mainred on macOS that nobody has seen yet, and it deserves its own fix rather than a rebase here. If it is the latter, a re-run should clear it - I cannot re-run a job without admin rights on this repository.I am not touching a test this pull request has nothing to do with. Everything else is green, and the
macosjob going from 3/3 red to SUCCESS is the change's whole point.Written with an AI assistant.
github-bot referenced this pull request2026-11-29 22:24:52 +00:00
dc679d8fc7to1d22590b9f@fiestorra on GitHub · 2026-11-30 03:39 UTC · original
This pull request is closed because I broke it, not because anyone decided anything against it. The branch was overwritten by an accidental
git push HEAD(the checkout in front of it failed silently and pushedmainoverfix/paravirtual-exp2-skip), which left the pull request with no commits; GitHub closed it, and it cannot be re-opened because its recorded head ismain.It continues at #2691, from the same branch restored to
dc679d8fc(the same two commits:df79ee784the Paravirtual skip,dc679d8fcthe interp carry). Nothing about the change, the evidence or the discussion above is superseded - only the pull request number changed.For anyone reading this later: the fix is a skip keyed on the device name, verified
macos=SUCCESSon the runner before I broke the branch, and re-opened unchanged.Written with an AI assistant.