nvidia/cuda: Don't be so extremely spammy

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2021-06-23 14:32:14 +02:00 committed by Xaymar
parent dce5c6b644
commit d5bd34da08
2 changed files with 2 additions and 2 deletions

View file

@ -150,7 +150,7 @@ void streamfx::nvidia::cuda::context::pop()
void streamfx::nvidia::cuda::context::synchronize()
{
D_LOG_DEBUG("Synchronizing... (Addr: 0x%" PRIuPTR ")", this);
//D_LOG_DEBUG("Synchronizing... (Addr: 0x%" PRIuPTR ")", this);
#ifdef ENABLE_STACK_CHECKS
::streamfx::nvidia::cuda::context_t ctx;

View file

@ -68,7 +68,7 @@ streamfx::nvidia::cuda::stream::stream(::streamfx::nvidia::cuda::stream_flags fl
void streamfx::nvidia::cuda::stream::synchronize()
{
D_LOG_DEBUG("Synchronizing... (Addr: 0x%" PRIuPTR ")", this);
//D_LOG_DEBUG("Synchronizing... (Addr: 0x%" PRIuPTR ")", this);
if (auto res = _cuda->cuStreamSynchronize(_stream); res != ::streamfx::nvidia::cuda::result::SUCCESS) {
throw ::streamfx::nvidia::cuda::cuda_error(res);
}