From f46dda0e81b4a1423bfc798333ca8324f09dcafe Mon Sep 17 00:00:00 2001 From: Allison Vacanti Date: Tue, 16 Feb 2021 12:00:04 -0500 Subject: [PATCH] Use noexcept CUDA_CALL check in destructor. --- nvbench/detail/l2flush.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvbench/detail/l2flush.cuh b/nvbench/detail/l2flush.cuh index 21f9b32..e6627e9 100644 --- a/nvbench/detail/l2flush.cuh +++ b/nvbench/detail/l2flush.cuh @@ -26,7 +26,7 @@ struct l2flush { if (m_l2_buffer) { - NVBENCH_CUDA_CALL(cudaFree(m_l2_buffer)); + NVBENCH_CUDA_CALL_NOEXCEPT(cudaFree(m_l2_buffer)); } }