Skip to content

Commit

Permalink
removing trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
august-knox committed Feb 20, 2025
1 parent fe08548 commit 69dd220
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ std::vector<std::vector<double>> run_all(std::unique_ptr<Stream<T>>& 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();
Expand Down Expand Up @@ -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<std::vector<double>> timings = run_all<T>(stream, sum);
Expand Down

0 comments on commit 69dd220

Please sign in to comment.