diff --git a/devops/scripts/benchmarks/benches/compute.py b/devops/scripts/benchmarks/benches/compute.py index 290b635ca4638..39eb658878de3 100644 --- a/devops/scripts/benchmarks/benches/compute.py +++ b/devops/scripts/benchmarks/benches/compute.py @@ -70,6 +70,9 @@ def setup(self): f"-DALLOW_WARNINGS=ON", ] + if options.ur_adapter == "cuda": + configure_command += ["-DBUILD_SYCL_WITH_CUDA=ON"] + if options.ur is not None: configure_command += [ f"-DBUILD_UR=ON", @@ -112,13 +115,17 @@ def enabled_runtimes(self, supported_runtimes=None): if options.ur is None: runtimes = [r for r in runtimes if r != RUNTIMES.UR] + # Filter out L0 if cuda backend + if options.ur_adapter == "cuda": + runtimes = [r for r in runtimes if r != RUNTIMES.LEVEL_ZERO] + return runtimes def benchmarks(self) -> list[Benchmark]: if options.sycl is None: return [] - if options.ur_adapter == "cuda" or options.ur_adapter == "hip": + if options.ur_adapter == "hip": return [] benches = []