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, 3 insertions, 3 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index 455700a40..ccfc488b0 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -895,7 +895,7 @@ def run_suite(a, work: str) -> int:
895 ]) 895 ])
896 elif name in ("ms_tri", "ms_w64x_ballot", "ms_wave_info_s3", "ms_f16_pack"): 896 elif name in ("ms_tri", "ms_w64x_ballot", "ms_wave_info_s3", "ms_f16_pack"):
897 dxbc = make_dxbc([(b"PSV0", make_ms_psv0(128, 64, 64, 2))]) 897 dxbc = make_dxbc([(b"PSV0", make_ms_psv0(128, 64, 64, 2))])
898 elif name == "ms_w64x_wave_votes": # vertex 64 comes from the second wave: 128 output vertices 898 elif name in ("ms_w64x_wave_votes", "ms_w64x_wave_loops"): # vertex 64 comes from the second wave: 128 output vertices
899 dxbc = make_dxbc([(b"PSV0", make_ms_psv0(128, 128, 64, 2))]) 899 dxbc = make_dxbc([(b"PSV0", make_ms_psv0(128, 128, 64, 2))])
900 elif name == "ms_v5_workgroup": 900 elif name == "ms_v5_workgroup":
901 dxbc = make_dxbc([(b"PSV0", make_ms_psv0(32, 3, 1, group_shared=128))]) 901 dxbc = make_dxbc([(b"PSV0", make_ms_psv0(32, 3, 1, group_shared=128))])
@@ -1636,13 +1636,13 @@ def run_suite(a, work: str) -> int:
1636 problem = mesh_v5_test(a.build, spirv_dir, Path(raw_dir) / f"{name}.raw") 1636 problem = mesh_v5_test(a.build, spirv_dir, Path(raw_dir) / f"{name}.raw")
1637 results.append((name, None if isinstance(problem, Skip) else not problem, 1637 results.append((name, None if isinstance(problem, Skip) else not problem,
1638 problem or "24/24 workgroup coordinates exact (2 x 3 x 4)")) 1638 problem or "24/24 workgroup coordinates exact (2 x 3 x 4)"))
1639 elif name in ("ms_tri", "ms_w64x_ballot", "ms_wave_info_s3", "ms_w64x_wave_votes"): 1639 elif name in ("ms_tri", "ms_w64x_ballot", "ms_wave_info_s3", "ms_w64x_wave_votes", "ms_w64x_wave_loops"):
1640 raw = os.path.join(raw_dir, f"{name}.raw") 1640 raw = os.path.join(raw_dir, f"{name}.raw")
1641 env = mesh_env(spirv_dir, name, gfx_env) 1641 env = mesh_env(spirv_dir, name, gfx_env)
1642 rc, msg = run_readback(raw, run_cmd, [vk_harness, spv, fs_passthru, raw], env=env) 1642 rc, msg = run_readback(raw, run_cmd, [vk_harness, spv, fs_passthru, raw], env=env)
1643 # ms_w64x_ballot needs exact wave64 (a 64-wide subgroup, or --wave64-emulate): skip it elsewhere, as 1643 # ms_w64x_ballot needs exact wave64 (a 64-wide subgroup, or --wave64-emulate): skip it elsewhere, as
1644 # the wave64 compute dumps are. 1644 # the wave64 compute dumps are.
1645 no64 = (name in ("ms_w64x_ballot", "ms_w64x_wave_votes") and not w64_emulated() and 1645 no64 = (name in ("ms_w64x_ballot", "ms_w64x_wave_votes", "ms_w64x_wave_loops") and not w64_emulated() and
1646 not any(int(x) >= 64 for x in re.findall(r"subgroup \d+\.\.(\d+)", msg))) 1646 not any(int(x) >= 64 for x in re.findall(r"subgroup \d+\.\.(\d+)", msg)))
1647 if rc == UNSUPPORTED: 1647 if rc == UNSUPPORTED:
1648 results.append((name, None, unsupported_skip(msg))) 1648 results.append((name, None, unsupported_skip(msg)))