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:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 17:02:03 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 17:02:03 -0500
commiteab0ac15ef59cc6527f299edd37449aea5b4ac71 (patch)
tree40296456d2023141752b5bb79f96aba9d95d6039 /scripts/run_gpu_tests.py
parent30471031123f678e346a3eda9ab91a062d790a09 (diff)
parent0db72c42a55825b90a3b3f8d89fd0463e9071aba (diff)
Merge pull request #3442 from Vonsek
Diffstat (limited to 'scripts/run_gpu_tests.py')
-rw-r--r--scripts/run_gpu_tests.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index c18de538f..789ec5ad4 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -1315,9 +1315,8 @@ def run_suite(a, work: str) -> int:
1315 problem = ij_computed_problem(list(struct.iter_unpack("<4I", source.read()))) 1315 problem = ij_computed_problem(list(struct.iter_unpack("<4I", source.read())))
1316 ok, detail = not problem, problem or "computed I/J pair words and v/2 within 1e-6" 1316 ok, detail = not problem, problem or "computed I/J pair words and v/2 within 1e-6"
1317 elif name == "ps_mandelbrot": 1317 elif name == "ps_mandelbrot":
1318 with open(raw, "rb") as source: 1318 px = read_raw_u32(raw) if os.path.isfile(raw) else []
1319 px = list(struct.iter_unpack("<4I", source.read())) 1319 problem = frame_problem(px) or mandelbrot_problem(px)
1320 problem = mandelbrot_problem(px)
1321 ok, detail = not problem, problem or f"{len(px)}/{len(px)} iteration counts match the float32 model" 1320 ok, detail = not problem, problem or f"{len(px)}/{len(px)} iteration counts match the float32 model"
1322 else: 1321 else:
1323 ok, detail = False, "no checker defined" 1322 ok, detail = False, "no checker defined"