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 07:08:01 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 07:08:01 -0500
commit497597353c2138adb922dfd5ba96923f6466d5ff (patch)
tree1dd95a1a5a31592115ec4c63e45f89ce395fc5f6 /scripts/run_gpu_tests.py
parent9c2717fe76b3b12e8ff2f4263692ea5070adbe62 (diff)
parent6d642f40f993262b195d2ade4c74524840241b91 (diff)
Merge pull request #1521 from Luiz Neves
Diffstat (limited to 'scripts/run_gpu_tests.py')
-rw-r--r--scripts/run_gpu_tests.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index f2d64b333..f512cd5b4 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -812,7 +812,7 @@ def run_suite(a, work: str) -> int:
812 # Whole-wave mask test, as in check.py: needs a 64-wide subgroup, skipped where the device has none. 812 # Whole-wave mask test, as in check.py: needs a 64-wide subgroup, skipped where the device has none.
813 # With LEONIDA_W64_EMULATE=1 it was translated with --wave64-emulate and runs on any subgroup size. 813 # With LEONIDA_W64_EMULATE=1 it was translated with --wave64-emulate and runs on any subgroup size.
814 results.append((name,) + wavemask_check(vk_compute, spv, cs_env, w64_emulated())) 814 results.append((name,) + wavemask_check(vk_compute, spv, cs_env, w64_emulated()))
815 elif name in ("cs_store", "cs_smem_soffset_imm", "cs_w32_lane_wrap", "cs_movrelsd_2", "cs_w32_permute", "cs_exec_const", "cs_w32_mask_imm", "cs_w64_mask_imm", "cs_w32_lds_u8_d16", "cs_w32_int_ext", "cs_wave64_ballot", "cs_wm_half_ops", "cs_wm_half_cmp", "cs_wm_bfm64", "cs_wm_scc_rfl", "cs_wqm_w64", "cs_wqm_w32", "cs_wqm_w64_half", 815 elif name in ("cs_store", "cs_smem_soffset_imm", "cs_w32_lane_wrap", "cs_movrelsd_2", "cs_w32_permute", "cs_exec_const", "cs_w32_mask_imm", "cs_w64_mask_imm", "cs_w32_lds_u8_d16", "cs_w32_int_ext", "cs_w32_salu64", "cs_wave64_ballot", "cs_wm_half_ops", "cs_wm_half_cmp", "cs_wm_bfm64", "cs_wm_scc_rfl", "cs_wqm_w64", "cs_wqm_w32", "cs_wqm_w64_half",
816 "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", "cs_dpp_ops", "cs_dpp_bank", "cs_dpp_fi", 816 "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", "cs_dpp_ops", "cs_dpp_bank", "cs_dpp_fi",
817 "cs_dpp_bound", "cs_dpp_w64", 817 "cs_dpp_bound", "cs_dpp_w64",
818 "cs_w64_mask_detect", 818 "cs_w64_mask_detect",
@@ -835,6 +835,8 @@ def run_suite(a, work: str) -> int:
835 "cs_w32_permute": [218, 29, 8, 211, 0, 15, 99, 15], 835 "cs_w32_permute": [218, 29, 8, 211, 0, 15, 99, 15],
836 # integer ops with CPU-only checks until now (cs_w32_int_ext.asm) 836 # integer ops with CPU-only checks until now (cs_w32_int_ext.asm)
837 "cs_w32_int_ext": [1, 27, 1, 0x33332222, 0xC0000000, 0x4000, 18, 0x20304050], 837 "cs_w32_int_ext": [1, 27, 1, 0x33332222, 0xC0000000, 0x4000, 18, 0x20304050],
838 # 64-bit scalar data ops and v_mad_u64_u32 (cs_w32_salu64.asm)
839 "cs_w32_salu64": [0x1E6A2C48, 0x1234, 0xFFFFFFFF, 0x100, 47, 48, 0xFFFF8000, 0xFFFFFFFE],
838 # SHADER-85: ds_read_u8/i8_d16[_hi] (cs_w32_lds_u8_d16.asm header) 840 # SHADER-85: ds_read_u8/i8_d16[_hi] (cs_w32_lds_u8_d16.asm header)
839 "cs_w32_lds_u8_d16": [0xBEEF00FF, 0x00FF1234, 0xBEEFFF80, 0xFF801234, 0xBEEF007F, 0x007F1234, 0xBEEF0080, 0xFFFF1234], 841 "cs_w32_lds_u8_d16": [0xBEEF00FF, 0x00FF1234, 0xBEEFFF80, 0xFF801234, 0xBEEF007F, 0x007F1234, 0xBEEF0080, 0xFFFF1234],
840 # constant EXEC masks (cs_exec_const.asm): each lane takes its own bit of the constant 842 # constant EXEC masks (cs_exec_const.asm): each lane takes its own bit of the constant
@@ -890,8 +892,8 @@ def run_suite(a, work: str) -> int:
890 } 892 }
891 want = cs_dump_wants[name] 893 want = cs_dump_wants[name]
892 # Every dump but cs_store / cs_smem_soffset_imm / cs_w32_lane_wrap / cs_movrelsd_2 / cs_w32_permute / 894 # Every dump but cs_store / cs_smem_soffset_imm / cs_w32_lane_wrap / cs_movrelsd_2 / cs_w32_permute /
893 # cs_w32_lds_u8_d16 / cs_w32_int_ext, the wave32 cs_wqm_w32 / cs_bpermute32 and the DPP tests is a whole-wave (wave64) 895 # cs_w32_lds_u8_d16 / cs_w32_int_ext / cs_w32_salu64, the wave32 cs_wqm_w32 / cs_bpermute32 and the DPP
894 # mask test: ask for a 64-wide subgroup and skip, as check.py does, where the device has none 896 # tests is a whole-wave (wave64) mask test: ask for a 64-wide subgroup and skip, as check.py does, where the device has none
895 # (vk_compute_test exits 77) instead of reporting a failure. With LEONIDA_W64_EMULATE=1 they were 897 # (vk_compute_test exits 77) instead of reporting a failure. With LEONIDA_W64_EMULATE=1 they were
896 # translated with --wave64-emulate and run on any subgroup size. 898 # translated with --wave64-emulate and run on any subgroup size.
897 # cs_w64x_partial and cs_w64x_partial_scmp (40-thread groups) can't have full subgroups: they ask for 899 # cs_w64x_partial and cs_w64x_partial_scmp (40-thread groups) can't have full subgroups: they ask for
@@ -900,7 +902,7 @@ def run_suite(a, work: str) -> int:
900 partial = name in ("cs_w64x_partial", "cs_w64x_partial_scmp") 902 partial = name in ("cs_w64x_partial", "cs_w64x_partial_scmp")
901 wave64 = name not in ("cs_store", "cs_smem_soffset_imm", "cs_wqm_w32", "cs_w32_lane_wrap", "cs_movrelsd_2", 903 wave64 = name not in ("cs_store", "cs_smem_soffset_imm", "cs_wqm_w32", "cs_w32_lane_wrap", "cs_movrelsd_2",
902 "cs_w32_permute", "cs_barrier_divergent", "cs_barrier_early_end", "cs_barrier_loop", 904 "cs_w32_permute", "cs_barrier_divergent", "cs_barrier_early_end", "cs_barrier_loop",
903 "cs_w32_lds_u8_d16", "cs_w32_int_ext", "cs_bpermute32", "cs_w32_partial_scmp", 905 "cs_w32_lds_u8_d16", "cs_w32_int_ext", "cs_w32_salu64", "cs_bpermute32", "cs_w32_partial_scmp",
904 "cs_exec_const", "cs_w32_mask_imm", "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", 906 "cs_exec_const", "cs_w32_mask_imm", "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8",
905 "cs_dpp_ops", "cs_dpp_bound", "cs_dpp_bank", "cs_dpp_fi") and not emulated and not partial 907 "cs_dpp_ops", "cs_dpp_bound", "cs_dpp_bank", "cs_dpp_fi") and not emulated and not partial
906 if partial and not emulated: 908 if partial and not emulated: