File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
devops/scripts/benchmarks/benches Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ def setup(self):
70
70
f"-DALLOW_WARNINGS=ON" ,
71
71
]
72
72
73
+ if options .ur_adapter == "cuda" :
74
+ configure_command += ["-DBUILD_SYCL_WITH_CUDA=ON" ]
75
+
73
76
if options .ur is not None :
74
77
configure_command += [
75
78
f"-DBUILD_UR=ON" ,
@@ -112,13 +115,17 @@ def enabled_runtimes(self, supported_runtimes=None):
112
115
if options .ur is None :
113
116
runtimes = [r for r in runtimes if r != RUNTIMES .UR ]
114
117
118
+ # Filter out L0 if cuda backend
119
+ if options .ur_adapter == "cuda" :
120
+ runtimes = [r for r in runtimes if r != RUNTIMES .LEVEL_ZERO ]
121
+
115
122
return runtimes
116
123
117
124
def benchmarks (self ) -> list [Benchmark ]:
118
125
if options .sycl is None :
119
126
return []
120
127
121
- if options .ur_adapter == "cuda" or options . ur_adapter == " hip" :
128
+ if options .ur_adapter == "hip" :
122
129
return []
123
130
124
131
benches = []
You can’t perform that action at this time.
0 commit comments