mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-27 22:03:01 +00:00
nvidia/cuda: Don't be so extremely spammy
This commit is contained in:
parent
6fc18faab0
commit
7a94007283
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue