diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 15:09:38 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 15:09:38 -0500 |
| commit | 58024a3a6fdf264bcf9a88b999d703286cc34d37 (patch) | |
| tree | 0a950ece0916d0f85045a5c94c3e46b7373231c0 /scripts/run_gpu_tests.py | |
| parent | 6c92d8e9987dbdbdbab96e96647c5573ce1ae511 (diff) | |
| parent | a922e9edd4958fa063f1cee327bda7bba2192fd4 (diff) | |
Merge pull request #896 from DiazE117
Diffstat (limited to 'scripts/run_gpu_tests.py')
| -rw-r--r-- | scripts/run_gpu_tests.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index 7cd0e9dbf..7ed073707 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -919,7 +919,7 @@ def run_suite(a, work: str) -> int: | |||
| 919 | # Whole-wave mask test, as in check.py: needs a 64-wide subgroup, skipped where the device has none. | 919 | # Whole-wave mask test, as in check.py: needs a 64-wide subgroup, skipped where the device has none. |
| 920 | # With LEONIDA_W64_EMULATE=1 it was translated with --wave64-emulate and runs on any subgroup size. | 920 | # With LEONIDA_W64_EMULATE=1 it was translated with --wave64-emulate and runs on any subgroup size. |
| 921 | results.append((name,) + wavemask_check(vk_compute, spv, cs_env, w64_emulated())) | 921 | results.append((name,) + wavemask_check(vk_compute, spv, cs_env, w64_emulated())) |
| 922 | elif name in ("cs_store", "cs_signed_zero_nan", "cs_smem_soffset_imm", "cs_w32_lane_wrap", "cs_movrelsd_2", "cs_w32_permute", "cs_w32_sincos", "cs_exec_const", "cs_w32_mask_imm", "cs_w64_mask_imm", "cs_w32_lds_u8_d16", "cs_w32_int_ext", "cs_w32_salu64", "cs_w32_misc_ext", "cs_w32_new_ops", "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", | 922 | elif name in ("cs_store", "cs_signed_zero_nan", "cs_smem_soffset_imm", "cs_w32_lane_wrap", "cs_movrelsd_2", "cs_w32_permute", "cs_w32_sincos", "cs_exec_const", "cs_w32_mask_imm", "cs_w64_mask_imm", "cs_w32_lds_u8_d16", "cs_w32_lds_subdword", "cs_w32_lds_wide", "cs_w32_int_ext", "cs_w32_salu64", "cs_w32_misc_ext", "cs_w32_new_ops", "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", |
| 923 | "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", "cs_dpp_ops", "cs_dpp_bank", "cs_dpp_fi", | 923 | "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", "cs_dpp_ops", "cs_dpp_bank", "cs_dpp_fi", |
| 924 | "cs_dpp_bound", "cs_dpp_w64", | 924 | "cs_dpp_bound", "cs_dpp_w64", |
| 925 | "cs_w64_mask_detect", | 925 | "cs_w64_mask_detect", |
| @@ -951,6 +951,9 @@ def run_suite(a, work: str) -> int: | |||
| 951 | "cs_w32_salu64": [0x1E6A2C48, 0x1234, 0xFFFFFFFF, 0x100, 47, 48, 0xFFFF8000, 0xFFFFFFFE], | 951 | "cs_w32_salu64": [0x1E6A2C48, 0x1234, 0xFFFFFFFF, 0x100, 47, 48, 0xFFFF8000, 0xFFFFFFFE], |
| 952 | # SHADER-85: ds_read_u8/i8_d16[_hi] (cs_w32_lds_u8_d16.asm header) | 952 | # SHADER-85: ds_read_u8/i8_d16[_hi] (cs_w32_lds_u8_d16.asm header) |
| 953 | "cs_w32_lds_u8_d16": [0xBEEF00FF, 0x00FF1234, 0xBEEFFF80, 0xFF801234, 0xBEEF007F, 0x007F1234, 0xBEEF0080, 0xFFFF1234], | 953 | "cs_w32_lds_u8_d16": [0xBEEF00FF, 0x00FF1234, 0xBEEFFF80, 0xFF801234, 0xBEEF007F, 0x007F1234, 0xBEEF0080, 0xFFFF1234], |
| 954 | # 8/16-bit and 64/96/128-bit LDS accesses (cs_w32_lds_subdword.asm / cs_w32_lds_wide.asm headers) | ||
| 955 | "cs_w32_lds_subdword": [0x11B2D444, 0xA1B2C3D4, 0xFFFFFFB2, 0x000000B2, 0x00000011, 0xFFFFA1B2, 0x0000A1B2, 0xFFFFC3D4], | ||
| 956 | "cs_w32_lds_wide": [0xCAFEF00D, 0xFEEDFACE, 0x600DD00D, 0x00000000, 0x8BADF00D, 0xDEADC0DE, 0x12345678, 0x9ABCDEF0], | ||
| 954 | # ds_cmpst_b32 and the b64 2-address forms (cs_lds_b64_cmpst.asm header) | 957 | # ds_cmpst_b32 and the b64 2-address forms (cs_lds_b64_cmpst.asm header) |
| 955 | "cs_lds_b64_cmpst": [0x11110001, 0x22220002, 0x33330003, 0x44440004, | 958 | "cs_lds_b64_cmpst": [0x11110001, 0x22220002, 0x33330003, 0x44440004, |
| 956 | 0xCCCC000C, 0x44440004, 0xBBBB000B, 0x3579BADC], | 959 | 0xCCCC000C, 0x44440004, 0xBBBB000B, 0x3579BADC], |
| @@ -1028,6 +1031,7 @@ def run_suite(a, work: str) -> int: | |||
| 1028 | wave64 = name not in ("cs_store", "cs_signed_zero_nan", "cs_smem_soffset_imm", "cs_wqm_w32", "cs_w32_lane_wrap", "cs_movrelsd_2", | 1031 | wave64 = name not in ("cs_store", "cs_signed_zero_nan", "cs_smem_soffset_imm", "cs_wqm_w32", "cs_w32_lane_wrap", "cs_movrelsd_2", |
| 1029 | "cs_w32_permute", "cs_barrier_divergent", "cs_barrier_early_end", "cs_barrier_loop", | 1032 | "cs_w32_permute", "cs_barrier_divergent", "cs_barrier_early_end", "cs_barrier_loop", |
| 1030 | "cs_w32_lds_u8_d16", "cs_w32_int_ext", "cs_w32_salu64", "cs_w32_misc_ext", "cs_w32_new_ops", | 1033 | "cs_w32_lds_u8_d16", "cs_w32_int_ext", "cs_w32_salu64", "cs_w32_misc_ext", "cs_w32_new_ops", |
| 1034 | "cs_w32_lds_subdword", "cs_w32_lds_wide", | ||
| 1031 | "cs_bpermute32", "cs_w32_partial_scmp", "cs_w32_sincos", | 1035 | "cs_bpermute32", "cs_w32_partial_scmp", "cs_w32_sincos", |
| 1032 | "cs_lds_b64_cmpst", "cs_exec_const", "cs_w32_mask_imm", "cs_mask_vgpr_exec", | 1036 | "cs_lds_b64_cmpst", "cs_exec_const", "cs_w32_mask_imm", "cs_mask_vgpr_exec", |
| 1033 | "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", | 1037 | "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", |
| @@ -1048,6 +1052,7 @@ def run_suite(a, work: str) -> int: | |||
| 1048 | want = judged_words(name, msg, want) # cs_signed_zero_nan on Apple and llvmpipe (check.py) | 1052 | want = judged_words(name, msg, want) # cs_signed_zero_nan on Apple and llvmpipe (check.py) |
| 1049 | ok, detail = judge_cs_dump(rc, msg, want, wave64=wave64, partial=partial, emulated=emulated, | 1053 | ok, detail = judge_cs_dump(rc, msg, want, wave64=wave64, partial=partial, emulated=emulated, |
| 1050 | hexwords=name in ("cs_store", "cs_smem_soffset_imm", "cs_w32_lds_u8_d16", | 1054 | hexwords=name in ("cs_store", "cs_smem_soffset_imm", "cs_w32_lds_u8_d16", |
| 1055 | "cs_w32_lds_subdword", "cs_w32_lds_wide", | ||
| 1051 | "cs_lds_b64_cmpst", "cs_signed_zero_nan")) | 1056 | "cs_lds_b64_cmpst", "cs_signed_zero_nan")) |
| 1052 | if ok and None in want: | 1057 | if ok and None in want: |
| 1053 | unjudged = ", ".join(str(i) for i, w in enumerate(want) if w is None) | 1058 | unjudged = ", ".join(str(i) for i, w in enumerate(want) if w is None) |