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:
authorAGInformatique81 <327468329+AGInformatique81@users.noreply.github.com>2026-11-23 20:03:13 +0100
committerTanmaySatyam <lavidivwaker@gmail.com>2026-11-24 22:52:34 +0530
commitbdfb03cfd1f152f6c83b8e2fd41046b1c8b59dc9 (patch)
tree16689645fa14a77dafffbd7db2db6be1a280cc4b /scripts
parent32950551e83760c6ccf1564cd22737dfe4852d78 (diff)
Report skipped Wave64 benchmark fixtures
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bench_wave64.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/bench_wave64.py b/scripts/bench_wave64.py
index e6fd59737..57253cb57 100644
--- a/scripts/bench_wave64.py
+++ b/scripts/bench_wave64.py
@@ -44,7 +44,13 @@ def build(work, name, emulate, llvm_mc):
44 r = subprocess.run([sys.executable, "-I", BUILD_PY, out, name], env=env, capture_output=True, text=True) 44 r = subprocess.run([sys.executable, "-I", BUILD_PY, out, name], env=env, capture_output=True, text=True)
45 if r.returncode: 45 if r.returncode:
46 sys.exit(r.stdout + r.stderr) 46 sys.exit(r.stdout + r.stderr)
47 return os.path.join(out, "spirv", name + ".spv") 47 spv = os.path.join(out, "spirv", name + ".spv")
48 if not os.path.isfile(spv):
49 mode = "emulated" if emulate else "native"
50 message = f"{name}: {mode} build did not produce a SPIR-V module"
51 reason = (r.stdout + r.stderr).strip()
52 sys.exit(f"{message}\n{reason}" if reason else message)
53 return spv
48 54
49 55
50def segments(spv: str) -> tuple[int, int] | None: 56def segments(spv: str) -> tuple[int, int] | None: