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-23 17:30:03 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-23 17:30:03 -0500
commit21714399e81761503bb2728c4eae743edb5598ed (patch)
tree565f6df98f8f38fa6e93898ee445725bd27da73a /scripts/run_gpu_tests.py
parentf7b3afcda95b5689a57e17e30acbd77148b104d1 (diff)
parentd578b4806ef1c04eec77d811dce2c60103c32db6 (diff)
Merge remote-tracking branch 'origin/pr/9761'
# Conflicts: # runtime/test/shaders/check.py # scripts/run_gpu_tests.py
Diffstat (limited to 'scripts/run_gpu_tests.py')
-rw-r--r--scripts/run_gpu_tests.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index 938675a5e..4c8dcac9b 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -1158,7 +1158,7 @@ def run_suite(a, work: str) -> int:
1158 "cs_w64x_lds_war", "cs_w64x_partial", "cs_w64x_sbarrier", "cs_w64x_load_ballot_load", 1158 "cs_w64x_lds_war", "cs_w64x_partial", "cs_w64x_sbarrier", "cs_w64x_load_ballot_load",
1159 "cs_w64x_mask_reuse", "cs_w64x_mask_reuse2", "cs_w64x_chain_barrier", "cs_barrier_divergent", 1159 "cs_w64x_mask_reuse", "cs_w64x_mask_reuse2", "cs_w64x_chain_barrier", "cs_barrier_divergent",
1160 "cs_bpermute32", "cs_w64x_partial_scmp", "cs_w32_partial_scmp", "cs_w32_partial_permute", "cs_barrier_early_end", 1160 "cs_bpermute32", "cs_w64x_partial_scmp", "cs_w32_partial_scmp", "cs_w32_partial_permute", "cs_barrier_early_end",
1161 "cs_barrier_loop", "cs_w64x_andn2_exec", "cs_w64x_saveexec_b64", "cs_lds_b64_cmpst", "cs_w32_andn2_exec", 1161 "cs_barrier_loop", "cs_w64x_andn2_exec", "cs_w64x_saveexec_b64", "cs_lds_b64_cmpst", "cs_lds_xchg64_ext", "cs_w32_andn2_exec",
1162 "cs_mask_vgpr_exec"): 1162 "cs_mask_vgpr_exec"):
1163 cs_dump_wants = { 1163 cs_dump_wants = {
1164 "cs_store": [0x400080FF, 0xE00003FF, 0x3C004000, 0xEEEEEEEE, 0x40003C00, 0xBC003800, 0x40FF8000, 0x3FF00000], 1164 "cs_store": [0x400080FF, 0xE00003FF, 0x3C004000, 0xEEEEEEEE, 0x40003C00, 0xBC003800, 0x40FF8000, 0x3FF00000],
@@ -1193,6 +1193,9 @@ def run_suite(a, work: str) -> int:
1193 # ds_cmpst_b32 and the b64 2-address forms (cs_lds_b64_cmpst.asm header) 1193 # ds_cmpst_b32 and the b64 2-address forms (cs_lds_b64_cmpst.asm header)
1194 "cs_lds_b64_cmpst": [0x11110001, 0x22220002, 0x33330003, 0x44440004, 1194 "cs_lds_b64_cmpst": [0x11110001, 0x22220002, 0x33330003, 0x44440004,
1195 0xCCCC000C, 0x44440004, 0xBBBB000B, 0x3579BADC], 1195 0xCCCC000C, 0x44440004, 0xBBBB000B, 0x3579BADC],
1196 # ds_wrxchg*_rtn_b64, ds_or_rtn_b64, ds_min_f32, ds_max_rtn_f32 (cs_lds_xchg64_ext.asm header)
1197 "cs_lds_xchg64_ext": [0x11110003, 0x33333333, 0xF00FF000, 0x04030201,
1198 0x40302010, 0x70500705, 0x3FC00000, 0x80000000],
1196 # constant EXEC masks (cs_exec_const.asm): each lane takes its own bit of the constant 1199 # constant EXEC masks (cs_exec_const.asm): each lane takes its own bit of the constant
1197 "cs_exec_const": [16, 8, 2, 16, 0, 16], 1200 "cs_exec_const": [16, 8, 2, 16, 0, 16],
1198 # constant lane masks: lane L takes bit L (cs_w32_mask_imm.asm / cs_w64_mask_imm.asm headers) 1201 # constant lane masks: lane L takes bit L (cs_w32_mask_imm.asm / cs_w64_mask_imm.asm headers)
@@ -1274,7 +1277,7 @@ def run_suite(a, work: str) -> int:
1274 "cs_w32_lds_u8_d16", "cs_w32_int_ext", "cs_w32_salu64", "cs_w32_misc_ext", "cs_w32_new_ops", 1277 "cs_w32_lds_u8_d16", "cs_w32_int_ext", "cs_w32_salu64", "cs_w32_misc_ext", "cs_w32_new_ops",
1275 "cs_w32_lds_subdword", "cs_w32_lds_wide", 1278 "cs_w32_lds_subdword", "cs_w32_lds_wide",
1276 "cs_bpermute32", "cs_w32_partial_scmp", "cs_w32_partial_permute", "cs_w32_permlane_fi", "cs_w32_sincos", "cs_w32_buffer_sub16", "cs_w32_buffer_store_sub", "cs_w32_fcmpswap", 1279 "cs_bpermute32", "cs_w32_partial_scmp", "cs_w32_partial_permute", "cs_w32_permlane_fi", "cs_w32_sincos", "cs_w32_buffer_sub16", "cs_w32_buffer_store_sub", "cs_w32_fcmpswap",
1277 "cs_lds_b64_cmpst", "cs_exec_const", "cs_w32_mask_imm", "cs_mask_vgpr_exec", 1280 "cs_lds_b64_cmpst", "cs_lds_xchg64_ext", "cs_exec_const", "cs_w32_mask_imm", "cs_mask_vgpr_exec",
1278 "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", 1281 "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8",
1279 "cs_dpp_ops", "cs_dpp_bound", "cs_dpp_bank", "cs_dpp_fi", "cs_w32_andn2_exec") and not emulated and not partial 1282 "cs_dpp_ops", "cs_dpp_bound", "cs_dpp_bank", "cs_dpp_fi", "cs_w32_andn2_exec") and not emulated and not partial
1280 if partial and not emulated: 1283 if partial and not emulated:
@@ -1300,7 +1303,7 @@ def run_suite(a, work: str) -> int:
1300 ok, detail = judge_cs_dump(rc, msg, want, wave64=wave64, partial=partial, emulated=emulated, 1303 ok, detail = judge_cs_dump(rc, msg, want, wave64=wave64, partial=partial, emulated=emulated,
1301 hexwords=name in ("cs_store", "cs_smem_soffset_imm", "cs_w32_lds_u8_d16", 1304 hexwords=name in ("cs_store", "cs_smem_soffset_imm", "cs_w32_lds_u8_d16",
1302 "cs_w32_lds_subdword", "cs_w32_lds_wide", 1305 "cs_w32_lds_subdword", "cs_w32_lds_wide",
1303 "cs_lds_b64_cmpst", "cs_signed_zero_nan")) 1306 "cs_lds_b64_cmpst", "cs_lds_xchg64_ext", "cs_signed_zero_nan"))
1304 if ok and None in want: 1307 if ok and None in want:
1305 unjudged = ", ".join(str(i) for i, w in enumerate(want) if w is None) 1308 unjudged = ", ".join(str(i) for i, w in enumerate(want) if w is None)
1306 detail += f" (words {unjudged} not judged on this device: UNJUDGED_WORDS in check.py)" 1309 detail += f" (words {unjudged} not judged on this device: UNJUDGED_WORDS in check.py)"