upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlex Arenas <106154424+al3xar@users.noreply.github.com>2026-11-22 17:43:25 +0100
committerAlex Arenas <106154424+al3xar@users.noreply.github.com>2026-11-22 17:43:25 +0100
commitee376e572333d7619a4c461cbea8eb150b7b7f07 (patch)
treece3704a1f41edb723d9197e17861ac7c7e5813c3 /scripts
parent49475796c226c8511b9470bf97a4daf57b8af323 (diff)
scripts/bench_wave64.py: match Linux Mesa RADV (*amd*,*radeon*) in VK_LOADER_DRIVERS_SELECT
Use a comma-separated glob list (*amd*,*radeon*) for the AMD configurations in scripts/bench_wave64.py so the Vulkan Loader selects Linux Mesa RADV (radeon_icd.x86_64.json) in addition to Windows AMD (amd-vulkan64.json) and AMDVLK (amd_icd64.json). Addresses @ddm-j's finding in #2300.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bench_wave64.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bench_wave64.py b/scripts/bench_wave64.py
index 14b397f97..2e4d5c7d8 100644
--- a/scripts/bench_wave64.py
+++ b/scripts/bench_wave64.py
@@ -3,7 +3,7 @@
3 python -I scripts/bench_wave64.py [--build DIR] [--llvm-mc PATH] [--groups N] [--reps N] [--procs N] [--shader NAME] 3 python -I scripts/bench_wave64.py [--build DIR] [--llvm-mc PATH] [--groups N] [--reps N] [--procs N] [--shader NAME]
4 4
5Three configurations: AMD with its native 64-wide subgroup (no flag), AMD with --wave64-emulate, NVIDIA with 5Three configurations: AMD with its native 64-wide subgroup (no flag), AMD with --wave64-emulate, NVIDIA with
6--wave64-emulate (the GPU is chosen with VK_LOADER_DRIVERS_SELECT='*amd*' / '*nv*'). Each runs `procs` processes of 6--wave64-emulate (the GPU is chosen with VK_LOADER_DRIVERS_SELECT='*amd*,*radeon*' / '*nv*'). Each runs `procs` processes of
7vk_compute_test with VKC_BENCH=`reps` timed dispatches of `groups` workgroups; the table gives the median over all 7vk_compute_test with VKC_BENCH=`reps` timed dispatches of `groups` workgroups; the table gives the median over all
8dispatches, the spread of the per-process medians (other programs share the GPU, so look at it), the number of 8dispatches, the spread of the per-process medians (other programs share the GPU, so look at it), the number of
9translated segments (static: blocks + continuation segments; every continuation segment is one more workgroup barrier 9translated segments (static: blocks + continuation segments; every continuation segment is one more workgroup barrier
@@ -20,7 +20,7 @@ import tempfile
20 20
21ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 21ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
22BUILD_PY = os.path.join(ROOT, "runtime", "test", "shaders", "build.py") 22BUILD_PY = os.path.join(ROOT, "runtime", "test", "shaders", "build.py")
23CONFIGS = [("AMD native", "*amd*", False), ("AMD --wave64-emulate", "*amd*", True), 23CONFIGS = [("AMD native", "*amd*,*radeon*", False), ("AMD --wave64-emulate", "*amd*,*radeon*", True),
24 ("NVIDIA --wave64-emulate", "*nv*", True)] 24 ("NVIDIA --wave64-emulate", "*nv*", True)]
25 25
26 26