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:
authorDadaCap <167002618+DadaCap@users.noreply.github.com>2026-11-28 12:52:59 +0100
committerGitHub <noreply@github.com>2026-11-28 12:52:59 +0100
commit87f12b9dcc6e48fc0a169d7fcda7e6828583dc79 (patch)
tree159f436c145e49a4f6d367e1010eba2b6b5fd5b7 /scripts/run_gpu_tests.py
parent3ad4c651bdb709c922b7f8e019179a6754faf165 (diff)
parenteb39d2765eae88793b5caf9523f5d95a1effeb44 (diff)
Merge pull request #1587 from exoticLgk/fix-exp-f32-denorm
rdna2spirv: flush v_exp_f32 denormal results (SHADER-EXP-F32-DENORM)
Diffstat (limited to 'scripts/run_gpu_tests.py')
-rw-r--r--scripts/run_gpu_tests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index 5738e6e71..d2054fc5f 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -50,7 +50,7 @@ from check import run_readback
50from check import MESH_COMPUTE, mesh_env # LEONIDA_MESH_COMPUTE=1: mesh shaders as compute + a generated VS 50from check import MESH_COMPUTE, mesh_env # LEONIDA_MESH_COMPUTE=1: mesh shaders as compute + a generated VS
51from check import (WAVE32_LANE_DUMPS, WAVE32_LANE_ENV, bitmask_perm_narrow_skip, narrow_subgroup_skip, 51from check import (WAVE32_LANE_DUMPS, WAVE32_LANE_ENV, bitmask_perm_narrow_skip, narrow_subgroup_skip,
52 unpinned_subgroup_skip, vcmpx_forms_narrow_skip, wave32_lane_skip) # as in check.py 52 unpinned_subgroup_skip, vcmpx_forms_narrow_skip, wave32_lane_skip) # as in check.py
53from check import PIXEL_VERTEX, VINT_ENV, interp_f16_high_problem, ij_computed_problem, mandelbrot_problem # pixel producers and checks 53from check import PIXEL_VERTEX, VINT_ENV, interp_f16_high_problem, ij_computed_problem, mandelbrot_problem, exp_f32_denorm_problem # pixel producers and checks
54from check import barycentric_problem 54from check import barycentric_problem
55from check import NAN_PAYLOAD_TEST, nan_payload_problem 55from check import NAN_PAYLOAD_TEST, nan_payload_problem
56from check import GET_LOD_TESTS, STORE_WORDS, get_lod_test, store_words_problem # TEST-184: image atomics and queries 56from check import GET_LOD_TESTS, STORE_WORDS, get_lod_test, store_words_problem # TEST-184: image atomics and queries
@@ -1532,6 +1532,7 @@ def run_suite(a, work: str) -> int:
1532 "ps_ops7": (0x00FF8077, 0xFF0000FF, 0x89ABCDEF, 0x00070003), 1532 "ps_ops7": (0x00FF8077, 0xFF0000FF, 0x89ABCDEF, 0x00070003),
1533 "ps_ops8": (0x80000000, 0xBFFFFFFF, 0x000F100E, 0x0F0F0F1F), 1533 "ps_ops8": (0x80000000, 0xBFFFFFFF, 0x000F100E, 0x0F0F0F1F),
1534 "ps_f32_mods": (0xC0256A01, 0x3F800000, 0x41E00000, 0x3FC00000), 1534 "ps_f32_mods": (0xC0256A01, 0x3F800000, 0x41E00000, 0x3FC00000),
1535 "ps_exp_f32_denorm": (0x01000000, 0x00800000, 0x00000000, 0x00000000),
1535 "ps_vcc_x2": (0x11223344, 0x55667788, 0, 0), 1536 "ps_vcc_x2": (0x11223344, 0x55667788, 0, 0),
1536 "ps_vcmpx_forms": (0xF05B2A48, 0xF05E8A12, 0xB174BE18, 0x15550000), # 14 v_cmpx forms (.asm header) 1537 "ps_vcmpx_forms": (0xF05B2A48, 0xF05E8A12, 0xB174BE18, 0x15550000), # 14 v_cmpx forms (.asm header)
1537 "ps_vcmp_int32": (0x963E52E8, 0x984DCEE8, 0xB9458EE8, 0xB73612E8), # u32/i32 compares (.asm header) 1538 "ps_vcmp_int32": (0x963E52E8, 0x984DCEE8, 0xB9458EE8, 0xB73612E8), # u32/i32 compares (.asm header)
@@ -1623,6 +1624,9 @@ def run_suite(a, work: str) -> int:
1623 elif name == "ps_ij_computed": 1624 elif name == "ps_ij_computed":
1624 problem = ij_computed_problem(read_raw_u32(raw) if os.path.isfile(raw) else []) 1625 problem = ij_computed_problem(read_raw_u32(raw) if os.path.isfile(raw) else [])
1625 ok, detail = not problem, problem or "computed I/J pair words and v/2 within 1e-6" 1626 ok, detail = not problem, problem or "computed I/J pair words and v/2 within 1e-6"
1627 elif name == "ps_exp_f32_denorm_rt":
1628 problem = exp_f32_denorm_problem(read_raw_u32(raw) if os.path.isfile(raw) else [])
1629 ok, detail = not problem, problem or "4096 pixels exact across 64 runtime-dependent inputs"
1626 elif name == "ps_mandelbrot": 1630 elif name == "ps_mandelbrot":
1627 px = read_raw_u32(raw) if os.path.isfile(raw) else [] 1631 px = read_raw_u32(raw) if os.path.isfile(raw) else []
1628 problem = frame_problem(px) or mandelbrot_problem(px) 1632 problem = frame_problem(px) or mandelbrot_problem(px)