Skip to content

Commit

Permalink
huh
Browse files Browse the repository at this point in the history
  • Loading branch information
jdolence committed Nov 2, 2023
1 parent bbef708 commit 362ada9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/block_timer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class BlockTimer {
class BlockTimerHost {
#ifdef ENABLE_LB_TIMERS
public:
BlockTimerHost(const std::vector<double> &cost, const int bs, const int be)
BlockTimerHost(std::vector<double> &cost, const int bs, const int be)
: cost_(cost), bs_(bs), be_(be), start_(Kokkos::Impl::clock_tic()) {}
void Stop() const {
auto stop = Kokkos::Impl::clock_tic();
Expand All @@ -94,7 +94,7 @@ class BlockTimerHost {
}

private:
const std::vector<double> &cost_;
std::vector<double> &cost_;
const int bs_, be_;
const uint64_t start_;
#else // stub out
Expand Down

0 comments on commit 362ada9

Please sign in to comment.