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:
Diffstat (limited to 'scripts/run_gpu_tests.py')
-rw-r--r--scripts/run_gpu_tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index fa69a5f1e..aac6efeee 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -38,6 +38,7 @@ from check import cbv_modulate_test
38from check import HEAP_INIT_EXPECTED, heap_init_env # cs_heap_init: vk_compute_test's VKC_HEAP_INIT 38from check import HEAP_INIT_EXPECTED, heap_init_env # cs_heap_init: vk_compute_test's VKC_HEAP_INIT
39from check import shift64_test # dynamic 64-bit vector shifts and overlapping destinations 39from check import shift64_test # dynamic 64-bit vector shifts and overlapping destinations
40from check import cmp_f64_test # the 32 binary64 vector compares on memory-fed operands 40from check import cmp_f64_test # the 32 binary64 vector compares on memory-fed operands
41from check import round_f64_test # the four binary64 roundings on memory-fed inputs
41from check import judged_words, words_match # dump words not judged on some devices (cs_signed_zero_nan) 42from check import judged_words, words_match # dump words not judged on some devices (cs_signed_zero_nan)
42from check import TEXOFF_ARGS, texoff_problem # ps_texoff's expected words and arguments live in check.py 43from check import TEXOFF_ARGS, texoff_problem # ps_texoff's expected words and arguments live in check.py
43from check import TEXOFF_FALLBACK, texoff_env # LEONIDA_TEXOFF_FALLBACK=1: texel offsets without maintenance8 44from check import TEXOFF_FALLBACK, texoff_env # LEONIDA_TEXOFF_FALLBACK=1: texel offsets without maintenance8
@@ -992,6 +993,10 @@ def run_suite(a, work: str) -> int:
992 detail = cmp_f64_test(a.build, spirv_dir, cs_env) 993 detail = cmp_f64_test(a.build, spirv_dir, cs_env)
993 results.append((name, None if isinstance(detail, Skip) else not detail, 994 results.append((name, None if isinstance(detail, Skip) else not detail,
994 detail or "1536 words exact (256 operand pairs and unchanged inputs)")) 995 detail or "1536 words exact (256 operand pairs and unchanged inputs)"))
996 elif name == "cs_w32_round_f64":
997 detail = round_f64_test(a.build, spirv_dir, cs_env)
998 results.append((name, None if isinstance(detail, Skip) else not detail,
999 detail or "1152 words judged (64 inputs, eight roundings each, and unchanged inputs)"))
995 elif name == "cs_workgroup_yz": 1000 elif name == "cs_workgroup_yz":
996 rc, msg = run_cmd([vk_compute, spv, "2x3x4", "workgroup_yz"], env=cs_env) 1001 rc, msg = run_cmd([vk_compute, spv, "2x3x4", "workgroup_yz"], env=cs_env)
997 results.append((name,) + compute_result(rc, msg, rc == 0 and "2x3x4 workgroup Y/Z: 0 mismatches" 1002 results.append((name,) + compute_result(rc, msg, rc == 0 and "2x3x4 workgroup Y/Z: 0 mismatches"