diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-23 17:36:51 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-23 17:36:51 -0500 |
| commit | c925ac7f7997f0731d50db6b729218bfe3125dde (patch) | |
| tree | 47e7b3d619099d9d592b4ccb85824f3207f6b5c1 /scripts/run_gpu_tests.py | |
| parent | 0f42088d21da55d91d908e9e6068750c29337df6 (diff) | |
| parent | a443ab557408b0929d32094d4bd2b0afaaf6dd56 (diff) | |
Merge remote-tracking branch 'origin/pr/9494'
# Conflicts:
# docs/design.md
# 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.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index e59928c77..08f92437c 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -1159,7 +1159,7 @@ def run_suite(a, work: str) -> int: | |||
| 1159 | "cs_w64x_lds_war", "cs_w64x_partial", "cs_w64x_sbarrier", "cs_w64x_load_ballot_load", | 1159 | "cs_w64x_lds_war", "cs_w64x_partial", "cs_w64x_sbarrier", "cs_w64x_load_ballot_load", |
| 1160 | "cs_w64x_mask_reuse", "cs_w64x_mask_reuse2", "cs_w64x_chain_barrier", "cs_barrier_divergent", | 1160 | "cs_w64x_mask_reuse", "cs_w64x_mask_reuse2", "cs_w64x_chain_barrier", "cs_barrier_divergent", |
| 1161 | "cs_bpermute32", "cs_w64x_partial_scmp", "cs_w32_partial_scmp", "cs_w32_partial_permute", "cs_barrier_early_end", | 1161 | "cs_bpermute32", "cs_w64x_partial_scmp", "cs_w32_partial_scmp", "cs_w32_partial_permute", "cs_barrier_early_end", |
| 1162 | "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_barrier_loop", "cs_w64x_andn2_exec", "cs_w64x_saveexec_b64", "cs_lds_b64_cmpst", "cs_lds_xchg64_ext", "cs_lds_atomics_ext", "cs_w32_andn2_exec", |
| 1163 | "cs_mask_vgpr_exec"): | 1163 | "cs_mask_vgpr_exec"): |
| 1164 | cs_dump_wants = { | 1164 | cs_dump_wants = { |
| 1165 | "cs_store": [0x400080FF, 0xE00003FF, 0x3C004000, 0xEEEEEEEE, 0x40003C00, 0xBC003800, 0x40FF8000, 0x3FF00000], | 1165 | "cs_store": [0x400080FF, 0xE00003FF, 0x3C004000, 0xEEEEEEEE, 0x40003C00, 0xBC003800, 0x40FF8000, 0x3FF00000], |
| @@ -1197,6 +1197,9 @@ def run_suite(a, work: str) -> int: | |||
| 1197 | # ds_wrxchg*_rtn_b64, ds_or_rtn_b64, ds_min_f32, ds_max_rtn_f32 (cs_lds_xchg64_ext.asm header) | 1197 | # ds_wrxchg*_rtn_b64, ds_or_rtn_b64, ds_min_f32, ds_max_rtn_f32 (cs_lds_xchg64_ext.asm header) |
| 1198 | "cs_lds_xchg64_ext": [0x11110003, 0x33333333, 0xF00FF000, 0x04030201, | 1198 | "cs_lds_xchg64_ext": [0x11110003, 0x33333333, 0xF00FF000, 0x04030201, |
| 1199 | 0x40302010, 0x70500705, 0x3FC00000, 0x80000000], | 1199 | 0x40302010, 0x70500705, 0x3FC00000, 0x80000000], |
| 1200 | # ds_mskor, ds_and/xor_b64, ds_add_rtn_f32, ds_inc/dec/rsub_u32 (cs_lds_atomics_ext.asm header) | ||
| 1201 | "cs_lds_atomics_ext": [0xF0F11234, 0xAB34CD78, 0x12345678, 0xF0F00F0F, | ||
| 1202 | 0xA5A55A5A, 0x00AA00AA, 0x7FB00000, 0xFE090700], | ||
| 1200 | # constant EXEC masks (cs_exec_const.asm): each lane takes its own bit of the constant | 1203 | # constant EXEC masks (cs_exec_const.asm): each lane takes its own bit of the constant |
| 1201 | "cs_exec_const": [16, 8, 2, 16, 0, 16], | 1204 | "cs_exec_const": [16, 8, 2, 16, 0, 16], |
| 1202 | # constant lane masks: lane L takes bit L (cs_w32_mask_imm.asm / cs_w64_mask_imm.asm headers) | 1205 | # constant lane masks: lane L takes bit L (cs_w32_mask_imm.asm / cs_w64_mask_imm.asm headers) |
| @@ -1278,7 +1281,7 @@ def run_suite(a, work: str) -> int: | |||
| 1278 | "cs_w32_lds_u8_d16", "cs_w32_int_ext", "cs_w32_salu64", "cs_w32_misc_ext", "cs_w32_new_ops", | 1281 | "cs_w32_lds_u8_d16", "cs_w32_int_ext", "cs_w32_salu64", "cs_w32_misc_ext", "cs_w32_new_ops", |
| 1279 | "cs_w32_lds_subdword", "cs_w32_lds_wide", | 1282 | "cs_w32_lds_subdword", "cs_w32_lds_wide", |
| 1280 | "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", | 1283 | "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", |
| 1281 | "cs_lds_b64_cmpst", "cs_lds_xchg64_ext", "cs_exec_const", "cs_w32_mask_imm", "cs_mask_vgpr_exec", | 1284 | "cs_lds_b64_cmpst", "cs_lds_xchg64_ext", "cs_lds_atomics_ext", "cs_exec_const", "cs_w32_mask_imm", "cs_mask_vgpr_exec", |
| 1282 | "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", | 1285 | "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", |
| 1283 | "cs_dpp_ops", "cs_dpp_bound", "cs_dpp_bank", "cs_dpp_fi", "cs_w32_andn2_exec") and not emulated and not partial | 1286 | "cs_dpp_ops", "cs_dpp_bound", "cs_dpp_bank", "cs_dpp_fi", "cs_w32_andn2_exec") and not emulated and not partial |
| 1284 | if partial and not emulated: | 1287 | if partial and not emulated: |
| @@ -1304,7 +1307,7 @@ def run_suite(a, work: str) -> int: | |||
| 1304 | ok, detail = judge_cs_dump(rc, msg, want, wave64=wave64, partial=partial, emulated=emulated, | 1307 | ok, detail = judge_cs_dump(rc, msg, want, wave64=wave64, partial=partial, emulated=emulated, |
| 1305 | hexwords=name in ("cs_store", "cs_smem_soffset_imm", "cs_w32_lds_u8_d16", | 1308 | hexwords=name in ("cs_store", "cs_smem_soffset_imm", "cs_w32_lds_u8_d16", |
| 1306 | "cs_w32_lds_subdword", "cs_w32_lds_wide", | 1309 | "cs_w32_lds_subdword", "cs_w32_lds_wide", |
| 1307 | "cs_lds_b64_cmpst", "cs_lds_xchg64_ext", "cs_signed_zero_nan")) | 1310 | "cs_lds_b64_cmpst", "cs_lds_xchg64_ext", "cs_lds_atomics_ext", "cs_signed_zero_nan")) |
| 1308 | if ok and None in want: | 1311 | if ok and None in want: |
| 1309 | unjudged = ", ".join(str(i) for i, w in enumerate(want) if w is None) | 1312 | unjudged = ", ".join(str(i) for i, w in enumerate(want) if w is None) |
| 1310 | detail += f" (words {unjudged} not judged on this device: UNJUDGED_WORDS in check.py)" | 1313 | detail += f" (words {unjudged} not judged on this device: UNJUDGED_WORDS in check.py)" |