From ab04ee0939dd8ea5aaf6e5ac0ba60d9e742134b6 Mon Sep 17 00:00:00 2001 From: Insanemal Date: Fri, 16 Aug 2024 10:01:12 +1000 Subject: [PATCH] Update cuda.cpp Remove log lines as fix works --- src/platform/linux/cuda.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/linux/cuda.cpp b/src/platform/linux/cuda.cpp index afb95d83894..10a858cc8cc 100644 --- a/src/platform/linux/cuda.cpp +++ b/src/platform/linux/cuda.cpp @@ -574,7 +574,7 @@ namespace cuda { if (func.nvFBCBindContext(handle, ¶ms)) { BOOST_LOG(error) << "Couldn't bind NvFBC context to current thread: " << func.nvFBCGetLastErrorStr(handle); } - BOOST_LOG(error) << "Bound context"sv; + this->handle = handle; } @@ -584,7 +584,7 @@ namespace cuda { if (func.nvFBCReleaseContext(handle, ¶ms)) { BOOST_LOG(error) << "Couldn't release NvFBC context from current thread: " << func.nvFBCGetLastErrorStr(handle); } - BOOST_LOG(error) << "Released context"sv; + } NVFBC_SESSION_HANDLE handle;