mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-20 06:48:53 +00:00
Minor correction
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user