Skip to content

Commit afb1e05

Browse files
comeyrdalliepiper
andauthored
Apply suggestions from code review
Co-authored-by: Allison Piper <[email protected]>
1 parent 0bddd65 commit afb1e05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nvbench/detail/measure_cold.cuh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ struct measure_cold_base::kernel_launch_timer
158158
{
159159
m_measure.gpu_frequency_start();
160160
}
161-
if (!m_run_once)
161+
if (m_run_once)
162162
{
163163
m_measure.profiler_start();
164164
}
@@ -180,7 +180,7 @@ struct measure_cold_base::kernel_launch_timer
180180
m_measure.gpu_frequency_stop();
181181
}
182182
m_measure.sync_stream();
183-
if (!m_run_once)
183+
if (m_run_once)
184184
{
185185
m_measure.profiler_stop();
186186
}

0 commit comments

Comments
 (0)