From 9b43b98e02cbdd8ab4cf517e9246a16238175aa2 Mon Sep 17 00:00:00 2001 From: Jan Willem Penterman Date: Fri, 25 Sep 2015 13:19:48 +0200 Subject: [PATCH] routed CUDA_LOG to stdout instead of stderr --- libethash-cuda/ethash_cuda_miner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethash-cuda/ethash_cuda_miner.cpp b/libethash-cuda/ethash_cuda_miner.cpp index 9c6f4a3d9..9c2c5886d 100644 --- a/libethash-cuda/ethash_cuda_miner.cpp +++ b/libethash-cuda/ethash_cuda_miner.cpp @@ -64,7 +64,7 @@ static std::atomic_flag s_logSpin = ATOMIC_FLAG_INIT; ss << _contents; \ while (s_logSpin.test_and_set(std::memory_order_acquire)) {} \ OutputDebugStringA(ss.str().c_str()); \ - cerr << ss.str() << endl << flush; \ + cout << ss.str() << endl << flush; \ s_logSpin.clear(std::memory_order_release); \ } while (false) #else