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
parent 6fc18faab0
commit 7a94007283
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() 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 #ifdef ENABLE_STACK_CHECKS
::streamfx::nvidia::cuda::context_t ctx; ::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() 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) { if (auto res = _cuda->cuStreamSynchronize(_stream); res != ::streamfx::nvidia::cuda::result::SUCCESS) {
throw ::streamfx::nvidia::cuda::cuda_error(res); throw ::streamfx::nvidia::cuda::cuda_error(res);
} }