Minor correction

This commit is contained in:
Yunsong Wang
2022-02-04 16:35:55 -05:00
parent 86708ec793
commit 439ffec1c8

View File

@@ -42,7 +42,7 @@ struct cuda_stream
// destroy the stream if it's owning
void destroy()
{
if (m_owning and m_stream != cudaStreamDefault)
if (m_owning)
{
NVBENCH_CUDA_CALL_NOEXCEPT(cudaStreamDestroy(m_stream));
}