From 69dd220d4e9988c86687520fc4227cbea9709aae Mon Sep 17 00:00:00 2001 From: august-knox Date: Thu, 20 Feb 2025 11:26:02 -0800 Subject: [PATCH] removing trailing whitespaces --- src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 4cabeef2..089eb866 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -161,7 +161,7 @@ std::vector> run_all(std::unique_ptr>& stream, T& case BenchId::Add: return stream->add(); case BenchId::Triad: return stream->triad(); case BenchId::Dot: sum = stream->dot(); return; - case BenchId::Nstream: return stream->nstream(); + case BenchId::Nstream: return stream->nstream(); default: std::cerr << "Unimplemented benchmark: " << b.label << std::endl; abort(); @@ -302,7 +302,8 @@ void run() auto initElapsedS = time([&] { stream->init_arrays(startA, startB, startC); }); #ifdef ENABLE_CALIPER CALI_MARK_END("init_arrays"); -#endif +#endif + // Result of the Dot kernel, if used. T sum{}; std::vector> timings = run_all(stream, sum);