Skip to content

Commit e7ab07d

Browse files
[CI][Benchmark] Switch off L0 for computeBench on SYCL for CUDA (#18487)
Currently L0/opencl benchmarks is still built on computeBench even when we specify that we need to benchmark sycl on top of cuda that creates an error sometimes when the execution environment doesn't have L0 setup. That PR will close building L0/opencl benchmarks on computeBench when we specify cuda target for benchmarking.
1 parent 011854a commit e7ab07d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

devops/scripts/benchmarks/benches/compute.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@ def setup(self):
7474
]
7575

7676
if options.ur_adapter == "cuda":
77-
configure_command += ["-DBUILD_SYCL_WITH_CUDA=ON"]
77+
configure_command += [
78+
"-DBUILD_SYCL_WITH_CUDA=ON",
79+
"-DBUILD_L0=OFF",
80+
"-DBUILD_OCL=OFF",
81+
]
7882

7983
if options.ur is not None:
8084
configure_command += [

0 commit comments

Comments
 (0)