From 7a94007283c1bf4acd0610cedf55f2f1d5eb04b3 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Wed, 23 Jun 2021 14:32:14 +0200 Subject: [PATCH] nvidia/cuda: Don't be so extremely spammy --- source/nvidia/cuda/nvidia-cuda-context.cpp | 2 +- source/nvidia/cuda/nvidia-cuda-stream.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/nvidia/cuda/nvidia-cuda-context.cpp b/source/nvidia/cuda/nvidia-cuda-context.cpp index 144d10d8..e194a07e 100644 --- a/source/nvidia/cuda/nvidia-cuda-context.cpp +++ b/source/nvidia/cuda/nvidia-cuda-context.cpp @@ -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; diff --git a/source/nvidia/cuda/nvidia-cuda-stream.cpp b/source/nvidia/cuda/nvidia-cuda-stream.cpp index 80c9b99d..fcb7a854 100644 --- a/source/nvidia/cuda/nvidia-cuda-stream.cpp +++ b/source/nvidia/cuda/nvidia-cuda-stream.cpp @@ -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); }