Skip to content

Commit

Permalink
#5: Fixed clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
mperrinel authored and cz4rs committed Mar 9, 2023
1 parent e9c968c commit 4fc7908
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static void run(benchmark::State& state) {

for (auto _ : state) {
// do a warm up run of dot:
KokkosBlas::dot(result, x, y);
KokkosBlas::dot(result, x, y);

// The live test of dot:

Expand All @@ -126,7 +126,7 @@ static void run(benchmark::State& state) {
size_t flopsPerRun = (size_t)2 * m * n;
printf("Avg DOT time: %f s.\n", avg);
printf("Avg DOT FLOP/s: %.3e\n", flopsPerRun / avg);
state.SetIterationTime(timer.seconds());
state.SetIterationTime(timer.seconds());

state.counters["Avg DOT time (s):"] =
benchmark::Counter(avg, benchmark::Counter::kDefaults);
Expand Down

0 comments on commit 4fc7908

Please sign in to comment.