diff options
| author | ubiquitarianism <283527159+ubiquitarianism@users.noreply.github.com> | 2026-11-24 07:47:23 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-24 07:47:23 -0500 |
| commit | 51f31609236a952badeb9c9aba9efc2a6e4dc2ff (patch) | |
| tree | beb544a73c9f3356eb89d4221daa424f591103d8 /scripts/run_gpu_tests.py | |
| parent | 43bbd572bc26f6e190febc70f5408e1c34c38cce (diff) | |
| parent | 49d904fef62f5cbde9796d688d378df6d62b124a (diff) | |
Merge pull request #590 from JiyouProt/codex/gpu-valu64-shifts
tests: GPU readback for dynamic 64-bit vector shifts (GPU-VALU64-SHIFTS)
Diffstat (limited to 'scripts/run_gpu_tests.py')
| -rw-r--r-- | scripts/run_gpu_tests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index 936ae639c..80b380d9e 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -36,6 +36,7 @@ from check import (CMPX_CLASS_WORDS, CVT_F32_SAT_CASES, CVT_PK_U8_WORDS, PK_MUL_ | |||
| 36 | from check import SIGNED_MIP_TEST, UINT_MIP_TEST | 36 | from check import SIGNED_MIP_TEST, UINT_MIP_TEST |
| 37 | from check import cbv_modulate_test | 37 | from check import cbv_modulate_test |
| 38 | from check import HEAP_INIT_EXPECTED, heap_init_env # cs_heap_init: vk_compute_test's VKC_HEAP_INIT | 38 | from check import HEAP_INIT_EXPECTED, heap_init_env # cs_heap_init: vk_compute_test's VKC_HEAP_INIT |
| 39 | from check import shift64_test # dynamic 64-bit vector shifts and overlapping destinations | ||
| 39 | from check import judged_words, words_match # dump words not judged on some devices (cs_signed_zero_nan) | 40 | from check import judged_words, words_match # dump words not judged on some devices (cs_signed_zero_nan) |
| 40 | from check import TEXOFF_ARGS, texoff_problem # ps_texoff's expected words and arguments live in check.py | 41 | from check import TEXOFF_ARGS, texoff_problem # ps_texoff's expected words and arguments live in check.py |
| 41 | from check import TEXOFF_FALLBACK, texoff_env # LEONIDA_TEXOFF_FALLBACK=1: texel offsets without maintenance8 | 42 | from check import TEXOFF_FALLBACK, texoff_env # LEONIDA_TEXOFF_FALLBACK=1: texel offsets without maintenance8 |
| @@ -980,6 +981,10 @@ def run_suite(a, work: str) -> int: | |||
| 980 | if name in CLIP_CASES: | 981 | if name in CLIP_CASES: |
| 981 | detail = clip_test(a.build, spirv_dir, name) | 982 | detail = clip_test(a.build, spirv_dir, name) |
| 982 | results.append((name, None if isinstance(detail, Skip) else not detail, detail or "four pixel masks exact")) | 983 | results.append((name, None if isinstance(detail, Skip) else not detail, detail or "four pixel masks exact")) |
| 984 | elif name == "cs_w32_shift64": | ||
| 985 | detail = shift64_test(a.build, spirv_dir, cs_env) | ||
| 986 | results.append((name, None if isinstance(detail, Skip) else not detail, | ||
| 987 | detail or "640 words exact (64 shift cases and unchanged inputs)")) | ||
| 983 | elif name == "cs_workgroup_yz": | 988 | elif name == "cs_workgroup_yz": |
| 984 | rc, msg = run_cmd([vk_compute, spv, "2x3x4", "workgroup_yz"], env=cs_env) | 989 | rc, msg = run_cmd([vk_compute, spv, "2x3x4", "workgroup_yz"], env=cs_env) |
| 985 | results.append((name,) + compute_result(rc, msg, rc == 0 and "2x3x4 workgroup Y/Z: 0 mismatches" | 990 | results.append((name,) + compute_result(rc, msg, rc == 0 and "2x3x4 workgroup Y/Z: 0 mismatches" |