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.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index 8fdce77d8..a21cfbffd 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -875,6 +875,14 @@ def run_suite(a, work: str) -> int:
875 vals = words[:len(USER_SGPRS_WORDS)] if words else [] 875 vals = words[:len(USER_SGPRS_WORDS)] if words else []
876 results.append((name, rc == 0 and vals == USER_SGPRS_WORDS, 876 results.append((name, rc == 0 and vals == USER_SGPRS_WORDS,
877 " ".join(hex(x) for x in vals) if vals else msg)) 877 " ".join(hex(x) for x in vals) if vals else msg))
878 elif name == "cs_f64_add":
879 rc, msg = run_cmd([vk_compute, spv, "1", "dump"], env=cs_env)
880 if rc == 77:
881 results.append((name, None, "SKIP (no shaderFloat64 on this device)"))
882 else:
883 ok, detail = judge_cs_dump(rc, msg, [0, 0x40040000], wave64=False, partial=False, emulated=False,
884 hexwords=True)
885 results.append((name, ok, detail))
878 elif name == "cs_cvt_f32_sat": 886 elif name == "cs_cvt_f32_sat":
879 # #300's saturating float -> int conversions: one dispatch per input word in s4 (VKC_SGPRS). 887 # #300's saturating float -> int conversions: one dispatch per input word in s4 (VKC_SGPRS).
880 wrong = [] 888 wrong = []