Skip to content

Commit 373b134

Browse files
Measure hot should not use blocking kernel during warmup
This change follows suite of measure_cold, where it is prompted by deadlock, see #241
1 parent 63ea564 commit 373b134

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

nvbench/detail/measure_hot.cuh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,19 +106,10 @@ private:
106106
// measurement.
107107
void run_warmup()
108108
{
109-
if (!m_disable_blocking_kernel)
110-
{
111-
this->block_stream();
112-
}
113-
114109
m_cuda_timer.start(m_launch.get_stream());
115110
this->launch_kernel();
116111
m_cuda_timer.stop(m_launch.get_stream());
117112

118-
if (!m_disable_blocking_kernel)
119-
{
120-
this->unblock_stream();
121-
}
122113
this->sync_stream();
123114

124115
this->check_skip_time(m_cuda_timer.get_duration());

0 commit comments

Comments
 (0)