Skip to content

Commit 6d54d64

Browse files
committed
Enable computeBench for cuda
1 parent a1bfa4b commit 6d54d64

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

devops/scripts/benchmarks/benches/compute.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ def setup(self):
7070
f"-DALLOW_WARNINGS=ON",
7171
]
7272

73+
if options.ur_adapter == "cuda":
74+
configure_command += ["-DBUILD_SYCL_WITH_CUDA=ON"]
75+
7376
if options.ur is not None:
7477
configure_command += [
7578
f"-DBUILD_UR=ON",
@@ -118,7 +121,7 @@ def benchmarks(self) -> list[Benchmark]:
118121
if options.sycl is None:
119122
return []
120123

121-
if options.ur_adapter == "cuda" or options.ur_adapter == "hip":
124+
if options.ur_adapter == "hip":
122125
return []
123126

124127
benches = []

0 commit comments

Comments
 (0)