mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-20 06:48:53 +00:00
Use noexcept CUDA_CALL check in destructor.
This commit is contained in:
@@ -26,7 +26,7 @@ struct l2flush
|
|||||||
{
|
{
|
||||||
if (m_l2_buffer)
|
if (m_l2_buffer)
|
||||||
{
|
{
|
||||||
NVBENCH_CUDA_CALL(cudaFree(m_l2_buffer));
|
NVBENCH_CUDA_CALL_NOEXCEPT(cudaFree(m_l2_buffer));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user