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:
authorAlxcBTW <187763517+AlxcBTW@users.noreply.github.com>2026-11-21 22:10:37 +0100
committerAlxcBTW <187763517+AlxcBTW@users.noreply.github.com>2026-11-21 22:52:35 +0100
commit047d4d9b606d30dc26fdd067bebc6bcce319e583 (patch)
treebf2346e5c4055a4f7d8dfeaae1b91e0a2a88b8d6 /scripts/run_gpu_tests.py
parentcdaef79a7d9cdc5179fb21c38ff518c1ab0b31a4 (diff)
Wave64 emulation: guard the chained voted branch, more tests, bench reference
Raise Unsupported when a voted branch's segment was not started by the vote's own round. New tests cs_w64x_mask_reuse2 (EXEC reuse, read after a store, half of a mask pair rewritten, chained successor starting with a conflicting load) and cs_w64x_chain_barrier (chained successor starting with s_barrier), plus a translation test counting mask exchanges. bench_wave64.py reports a missing bench line readably and compares against the native AMD output. design.md: how the rules were confirmed, current GPU counts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/run_gpu_tests.py')
-rw-r--r--scripts/run_gpu_tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index 7da402afe..3ec52a788 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -474,7 +474,7 @@ def run_suite(a, work: str) -> int:
474 "cs_w64x_readlane", "cs_w64x_writelane", "cs_w64x_readfirstlane", "cs_w64x_bpermute", 474 "cs_w64x_readlane", "cs_w64x_writelane", "cs_w64x_readfirstlane", "cs_w64x_bpermute",
475 "cs_w64x_branch", "cs_w64x_ballot", "cs_w64x_wg128_branches", "cs_w64x_lds_raw", 475 "cs_w64x_branch", "cs_w64x_ballot", "cs_w64x_wg128_branches", "cs_w64x_lds_raw",
476 "cs_w64x_lds_war", "cs_w64x_partial", "cs_w64x_sbarrier", "cs_w64x_load_ballot_load", 476 "cs_w64x_lds_war", "cs_w64x_partial", "cs_w64x_sbarrier", "cs_w64x_load_ballot_load",
477 "cs_w64x_mask_reuse"): 477 "cs_w64x_mask_reuse", "cs_w64x_mask_reuse2", "cs_w64x_chain_barrier"):
478 cs_dump_wants = { 478 cs_dump_wants = {
479 "cs_store": [0x400080FF, 0xE00003FF, 0x3C004000, 0xEEEEEEEE, 0x40003C00, 0xBC003800], 479 "cs_store": [0x400080FF, 0xE00003FF, 0x3C004000, 0xEEEEEEEE, 0x40003C00, 0xBC003800],
480 # base + soffset + imm (cs_smem_soffset_imm.asm); out[4..7] are seeds the shader leaves alone 480 # base + soffset + imm (cs_smem_soffset_imm.asm); out[4..7] are seeds the shader leaves alone
@@ -492,6 +492,8 @@ def run_suite(a, work: str) -> int:
492 "cs_w64x_bpermute": [36, 316, 253, 218, 435, 225, 0, 442], 492 "cs_w64x_bpermute": [36, 316, 253, 218, 435, 225, 0, 442],
493 "cs_w64x_branch": [0, 0, 0, 0, 5, 5, 9, 9], 493 "cs_w64x_branch": [0, 0, 0, 0, 5, 5, 9, 9],
494 "cs_w64x_mask_reuse": [8, 40, 8, 40, 2, 20, 10, 64], 494 "cs_w64x_mask_reuse": [8, 40, 8, 40, 2, 20, 10, 64],
495 "cs_w64x_mask_reuse2": [10, 20, 8, 8, 5, 2, 132, 131],
496 "cs_w64x_chain_barrier": [564, 563, 500, 627],
495 "cs_w64x_ballot": [2053, 2061, 2069, 2077, 2085, 2093, 2101, 2109], 497 "cs_w64x_ballot": [2053, 2061, 2069, 2077, 2085, 2093, 2101, 2109],
496 "cs_w64x_wg128_branches": [121, 121, 343, 343, 14, 31, 19812, 22728], 498 "cs_w64x_wg128_branches": [121, 121, 343, 343, 14, 31, 19812, 22728],
497 "cs_w64x_lds_raw": [132, 137, 100, 108, 131, 101, 149, 118], 499 "cs_w64x_lds_raw": [132, 137, 100, 108, 131, 101, 149, 118],