From 991663feff26f1caa005809aed625f6a30a6042a Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 18 Jan 2024 22:42:32 -0500 Subject: [PATCH] Avoid (harmless) errors when shutting down the GPU. --- lib/gpu/geryon/nvd_device.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/gpu/geryon/nvd_device.h b/lib/gpu/geryon/nvd_device.h index e63a1f56b2..e627a7ca60 100644 --- a/lib/gpu/geryon/nvd_device.h +++ b/lib/gpu/geryon/nvd_device.h @@ -138,7 +138,7 @@ class UCL_Device { /** \note You cannot delete the default stream **/ inline void pop_command_queue() { if (_cq.size()<2) return; - CU_SAFE_CALL_NS(cuStreamDestroy(_cq.back())); + cuStreamDestroy(_cq.back()); _cq.pop_back(); } @@ -426,8 +426,8 @@ void UCL_Device::clear() { if (_device>-1) { for (int i=1; i