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:
Diffstat (limited to 'scripts/run_gpu_tests.py')
-rw-r--r--scripts/run_gpu_tests.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index e8fce4277..b90de6bdf 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -431,8 +431,10 @@ def judge_cs_dump(rc: int, msg: str, want: list[int], *, wave64: bool, partial:
431 return None, "SKIP (no 64-wide compute subgroup on this device)" 431 return None, "SKIP (no 64-wide compute subgroup on this device)"
432 if rc == 0 and wave64 and "compute subgroup size: 64" not in msg.splitlines(): 432 if rc == 0 and wave64 and "compute subgroup size: 64" not in msg.splitlines():
433 return False, "64-wide subgroup was not confirmed (rebuild vk_compute_test)" 433 return False, "64-wide subgroup was not confirmed (rebuild vk_compute_test)"
434 if rc != 0:
435 return False, f"exit {rc}: {msg or 'no test output'}"
434 words = dump_words(msg) 436 words = dump_words(msg)
435 if rc != 0 or words is None: 437 if words is None:
436 return False, msg 438 return False, msg
437 vals = words[:len(want)] 439 vals = words[:len(want)]
438 return words_match(vals, want), " ".join((hex if hexwords else str)(x) for x in vals) 440 return words_match(vals, want), " ".join((hex if hexwords else str)(x) for x in vals)
@@ -1316,7 +1318,7 @@ def run_suite(a, work: str) -> int:
1316 continue 1318 continue
1317 if rc == 0: 1319 if rc == 0:
1318 skip = wave32_lane_skip(msg) 1320 skip = wave32_lane_skip(msg)
1319 if skip is None and name in WAVE32_PIN_DUMPS: 1321 if rc == 0 and skip is None and name in WAVE32_PIN_DUMPS:
1320 # the device may not be able to run the wave size this fixture was written for (a 64-only device 1322 # the device may not be able to run the wave size this fixture was written for (a 64-only device
1321 # can't pin 32, so cs_barrier_loop's words mean nothing); check.py skips it too 1323 # can't pin 32, so cs_barrier_loop's words mean nothing); check.py skips it too
1322 skip = subgroup_pin_skip(msg, cs_env) 1324 skip = subgroup_pin_skip(msg, cs_env)