diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 23:12:31 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 23:12:31 -0500 |
| commit | 68ac20877b90a95b283174ed9ad2c47ed7bd62e7 (patch) | |
| tree | 455c8f7c3c9ff661201ce2a4177f02ca0a3b64a6 /scripts/run_gpu_tests.py | |
| parent | 1d8f1b5f862dae409132caceb4552f28cdf124de (diff) | |
| parent | 4f760c1aed169a75a6f7207871d575f72a29979c (diff) | |
Merge pull request #4225 from 73N1X
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
# docs/design.md
Diffstat (limited to 'scripts/run_gpu_tests.py')
| -rw-r--r-- | scripts/run_gpu_tests.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index 14fab8fa9..0b98d639d 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -400,8 +400,6 @@ def check_bitmask_perm(raw_path: str, msg: str = "") -> tuple[bool | None, str]: | |||
| 400 | first = "" | 400 | first = "" |
| 401 | judged = 0 | 401 | judged = 0 |
| 402 | for i, (lane, v1, v2, v3) in enumerate(px): | 402 | for i, (lane, v1, v2, v3) in enumerate(px): |
| 403 | if lane >= 32: # wave32 test: in a 64-wide subgroup lanes 32-63 hold values it never wrote | ||
| 404 | continue | ||
| 405 | judged += 1 | 403 | judged += 1 |
| 406 | w1 = lane ^ 9 | 404 | w1 = lane ^ 9 |
| 407 | w2 = ((lane & 5) | 16) ^ 1 | 405 | w2 = ((lane & 5) | 16) ^ 1 |
| @@ -409,7 +407,7 @@ def check_bitmask_perm(raw_path: str, msg: str = "") -> tuple[bool | None, str]: | |||
| 409 | if not bad: | 407 | if not bad: |
| 410 | first = f"at ({i%64},{i//64}) lane={lane}: got ({v1},{v2},{v3}), want ({w1},{w2},0)" | 408 | first = f"at ({i%64},{i//64}) lane={lane}: got ({v1},{v2},{v3}), want ({w1},{w2},0)" |
| 411 | bad += 1 | 409 | bad += 1 |
| 412 | return (bad == 0 and judged > 0), (first if bad else f"{judged}/{judged} pixels in lanes 0-31 exact") | 410 | return (bad == 0 and judged > 0), (first if bad else f"{judged}/{judged} pixels exact") |
| 413 | 411 | ||
| 414 | 412 | ||
| 415 | # Pixel shaders that read memory: vk_harness puts this V# in s[0:3] and seeds the heap it points at, as | 413 | # Pixel shaders that read memory: vk_harness puts this V# in s[0:3] and seeds the heap it points at, as |