Skip to content

Commit 2ba73e1

Browse files
committed
Address PR review comments
Made-with: Cursor
1 parent ceb8c23 commit 2ba73e1

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

mlir/utils/performance/perfRunner.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -765,11 +765,9 @@ def benchmark_external(cls, commandline, paths: Paths, arch, num_cu, num_chiplet
765765
# "Elapsed: " (note the space at the end) and "ms"
766766
match = ELAPSED_TIME_RE.search(outs)
767767
if not match:
768-
raise RuntimeError(
769-
"Failed to parse elapsed time from MIOpenDriver output.\n"
770-
"Failing command: " + ' '.join(miopen_driver_cmd) + "\n"
771-
"Output:\n" + outs
772-
)
768+
raise RuntimeError("Failed to parse elapsed time from MIOpenDriver output.\n"
769+
"Failing command: " + ' '.join(miopen_driver_cmd) + "\n"
770+
"Output:\n" + outs)
773771
elapsed_time_in_ms = match.group(1)
774772
nanoseconds = float(elapsed_time_in_ms) * 1.0e6
775773
return config.table_entry(nanoseconds)

0 commit comments

Comments
 (0)