@@ -72,6 +72,8 @@ def setup(self):
72
72
f"-S { self .src_dir } " ,
73
73
f"-B { self .build_dir } " ,
74
74
f"-DCMAKE_PREFIX_PATH={ options .sycl } " ,
75
+ "-DCMAKE_CXX_COMPILER=clang++" ,
76
+ "-DCMAKE_C_COMPILER=clang" ,
75
77
"-DCMAKE_BUILD_TYPE=Release" ,
76
78
"-DDNNL_BUILD_TESTS=ON" ,
77
79
"-DDNNL_BUILD_EXAMPLES=OFF" ,
@@ -165,7 +167,7 @@ def run(self, env_vars):
165
167
]
166
168
167
169
# example output:
168
- # Output template: perf, %engine%,%-time %,%-ops%,%-MB%,%-pr
170
+ # Output template: perf,%engine%,%0time %,%-ops%,%-MB%,%-pr
169
171
# perf,gpu,0.000000,0.000000,0.000000,0
170
172
# perf,gpu,0.000000,0.000000,0.000000,0
171
173
def _extract_time (self , output ):
@@ -176,7 +178,7 @@ def _extract_time(self, output):
176
178
if line .startswith ("Output template:" ):
177
179
template = line .replace ("Output template: " , "" ).strip ().split ("," )
178
180
try :
179
- idx_time = template .index ("%-time %" )
181
+ idx_time = template .index ("%0time %" )
180
182
except ValueError :
181
183
return 0.0
182
184
continue
0 commit comments