diff options
| author | Alex Arenas <106154424+al3xar@users.noreply.github.com> | 2026-11-22 17:43:25 +0100 |
|---|---|---|
| committer | Alex Arenas <106154424+al3xar@users.noreply.github.com> | 2026-11-22 17:43:25 +0100 |
| commit | ee376e572333d7619a4c461cbea8eb150b7b7f07 (patch) | |
| tree | ce3704a1f41edb723d9197e17861ac7c7e5813c3 /scripts/bench_wave64.py | |
| parent | 49475796c226c8511b9470bf97a4daf57b8af323 (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/bench_wave64.py')
| -rw-r--r-- | scripts/bench_wave64.py | 4 |
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 | ||
| 5 | Three configurations: AMD with its native 64-wide subgroup (no flag), AMD with --wave64-emulate, NVIDIA with | 5 | Three 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 |
| 7 | vk_compute_test with VKC_BENCH=`reps` timed dispatches of `groups` workgroups; the table gives the median over all | 7 | vk_compute_test with VKC_BENCH=`reps` timed dispatches of `groups` workgroups; the table gives the median over all |
| 8 | dispatches, the spread of the per-process medians (other programs share the GPU, so look at it), the number of | 8 | dispatches, the spread of the per-process medians (other programs share the GPU, so look at it), the number of |
| 9 | translated segments (static: blocks + continuation segments; every continuation segment is one more workgroup barrier | 9 | translated segments (static: blocks + continuation segments; every continuation segment is one more workgroup barrier |
| @@ -20,7 +20,7 @@ import tempfile | |||
| 20 | 20 | ||
| 21 | ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | 21 | ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) |
| 22 | BUILD_PY = os.path.join(ROOT, "runtime", "test", "shaders", "build.py") | 22 | BUILD_PY = os.path.join(ROOT, "runtime", "test", "shaders", "build.py") |
| 23 | CONFIGS = [("AMD native", "*amd*", False), ("AMD --wave64-emulate", "*amd*", True), | 23 | CONFIGS = [("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 | ||