Repository navigation
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
Conversation
|
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 Two honest limits on the statement:
If this merges, Written with an AI assistant. |
510543f to
dc679d8
Compare
|
Rebased onto Why: With that, the only check this pull request does not clear by itself is Written with an AI assistant. |
|
The two jobs this pull request exists for are green on the current head ( The one remaining failure is not this diff. If it is the former, it is a I am not touching a test this pull request has nothing to do with. Everything else is green, and the Written with an AI assistant. |
dc679d8 to
1d22590
Compare
|
This pull request is closed because I broke it, not because anyone decided anything against it. The branch was overwritten by an accidental It continues at #2691, from the same branch restored to For anyone reading this later: the fix is a skip keyed on the device name, verified Written with an AI assistant. |
test_a_local_baseline_replaces_the_committed_one asks that a locally written baseline replaces the committed one; the 5x limit was incidental to that, and on a shared runner it turned the case into a performance test whose only observed failure was a contended box (macos-python on ProjectLeonida#2641: returncode 1 with empty stderr, i.e. the tool's own over-limit verdict). The over-limit behaviour keeps its deterministic coverage: --max-slowdown 0.01 must report one, and that case asserts it. Written with an AI assistant.
runner: skip the exact exp2 case on Apple's Paravirtual device (re-opened #2641, closed by an accidental push)
The
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 shaders: allow two ulps of OpExp2 in the denorm fixture (the macOS GPU job's last red) #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.