File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ void measure_cold_base::record_measurements()
8787{
8888 if (!m_run_once)
8989 {
90- auto peak_clock_rate = static_cast <float >(m_state.get_device ()->get_sm_peak_clock_rate ());
90+ auto peak_clock_rate = static_cast <float >(m_state.get_device ()->get_sm_default_clock_rate ());
9191
9292 if (m_gpu_frequency.has_throttled (peak_clock_rate, m_throttle_threshold))
9393 {
Original file line number Diff line number Diff line change @@ -148,12 +148,6 @@ struct device_info
148148 return static_cast <std::size_t >(m_prop.memoryClockRate ) * 1000 ;
149149 }
150150
151- // / @return The peak clock rate of the SM in Hz.
152- [[nodiscard]] std::size_t get_sm_peak_clock_rate () const
153- { // kHz -> Hz
154- return static_cast <std::size_t >(m_prop.clockRate ) * 1000 ;
155- }
156-
157151 // / @return The width of the global memory bus in bits.
158152 [[nodiscard]] int get_global_memory_bus_width () const { return m_prop.memoryBusWidth ; }
159153
You can’t perform that action at this time.
0 commit comments