upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts/run_gpu_tests.py
diff options
context:
space:
mode:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 23:12:54 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 23:12:54 -0500
commit33531bda5b6ee91667fddb6e7745f2ce76d1ef86 (patch)
tree4d779bde6127389bbbdceda6114ff9d3a313d51e /scripts/run_gpu_tests.py
parentd61dfe2b6e5d9d9e3d78e6e57a4893c1e5b77ae9 (diff)
parent87da9327703c24e6c36b6103b5918a61ba03e9d4 (diff)
Merge pull request #4262 from gabsilvs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/run_gpu_tests.py')
-rw-r--r--scripts/run_gpu_tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index b48b03985..cbe00898d 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -355,6 +355,10 @@ def judge_cs_dump(rc: int, msg: str, want: list[int], *, wave64: bool, partial:
355 wave64: it was run with --require-wave64, so exit 77 is a skip and the 64-wide confirmation must be printed. 355 wave64: it was run with --require-wave64, so exit 77 is a skip and the 64-wide confirmation must be printed.
356 partial: a group smaller than a wave, run at subgroup size 64 without full subgroups; skipped when the device 356 partial: a group smaller than a wave, run at subgroup size 64 without full subgroups; skipped when the device
357 reports no subgroup size of 64. emulated: translated with --wave64-emulate, runs on any subgroup size.""" 357 reports no subgroup size of 64. emulated: translated with --wave64-emulate, runs on any subgroup size."""
358 if rc == 77: # the program refused the module and said why ("unsupported: <why>"): a skip with that reason, in every mode
359 why = next((ln for ln in msg.splitlines() if ln.startswith("unsupported:")), None)
360 if why:
361 return None, "SKIP (" + why[len("unsupported:"):].strip() + ")"
358 no64 = partial and not emulated and not any(int(x) >= 64 for x in re.findall(r"subgroup \d+\.\.(\d+)", msg)) 362 no64 = partial and not emulated and not any(int(x) >= 64 for x in re.findall(r"subgroup \d+\.\.(\d+)", msg))
359 if (wave64 and rc == 77) or (no64 and rc == 0): 363 if (wave64 and rc == 77) or (no64 and rc == 0):
360 return None, "SKIP (no 64-wide compute subgroup on this device)" 364 return None, "SKIP (no 64-wide compute subgroup on this device)"