Skip to content

Commit

Permalink
[mlir] Add explicit call to flush
Browse files Browse the repository at this point in the history
ClangTidy performance suggested to use '\n' instead of std::endl, but it
seems the flushing behavior was intended here (tests started failing).
  • Loading branch information
akuegel committed Jan 8, 2024
1 parent ca20c99 commit 2642240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/include/mlir/ExecutionEngine/RunnerUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ void printMemRef(const DynamicMemRefType<T> &m) {
m.sizes, m.strides);
if (m.rank == 0)
std::cout << "]";
std::cout << '\n';
std::cout << '\n' << std::flush;
}

template <typename T, int N>
Expand Down

0 comments on commit 2642240

Please sign in to comment.