Skip to content

Commit 0ed10fc

Browse files
committed
Format error message for power sampling initialization in energy profiler
1 parent 822aec7 commit 0ed10fc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

profiling/energy-profiler/kp_energy_profiler.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ void kokkosp_init_library(const int loadSeq, const uint64_t interfaceVer,
171171
KokkosTools::EnergyProfiler::g_power_sampler->start_sampling();
172172
std::cout << "Kokkos Energy Profiler: Power sampling started" << std::endl;
173173
} else {
174-
std::cout << "Kokkos Energy Profiler: Power sampling initialization failed" << std::endl;
174+
std::cout << "Kokkos Energy Profiler: Power sampling initialization failed"
175+
<< std::endl;
175176
}
176177
}
177178

profiling/energy-profiler/timing_utils.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ class EnergyProfilerState {
5555
}
5656

5757
// Delete copy and move operations
58-
EnergyProfilerState(const EnergyProfilerState&) = delete;
58+
EnergyProfilerState(const EnergyProfilerState&) = delete;
5959
EnergyProfilerState& operator=(const EnergyProfilerState&) = delete;
6060
EnergyProfilerState(EnergyProfilerState&&) = delete;
61-
EnergyProfilerState& operator=(EnergyProfilerState&&) = delete;
61+
EnergyProfilerState& operator=(EnergyProfilerState&&) = delete;
6262

6363
// Accessors for state
6464
std::mutex& get_mutex() { return mutex_; }

0 commit comments

Comments
 (0)