summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-11-16 12:28:54 +0100
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-11-16 12:28:54 +0100
commit157dd16574c04cb78b704bd809c8919527bd7b61 (patch)
treef63ed5aff6ddeefbfcd6c828b9688008e4017893 /xmrstak/backend
parentd0b99bb4c69565b2a53f783f88314a1a1955e999 (diff)
downloadxmr-stak-157dd16574c04cb78b704bd809c8919527bd7b61.zip
xmr-stak-157dd16574c04cb78b704bd809c8919527bd7b61.tar.gz
fix wrong indentions by hand after auto conversion
Diffstat (limited to 'xmrstak/backend')
-rw-r--r--xmrstak/backend/amd/minethd.cpp7
-rw-r--r--xmrstak/backend/cpu/minethd.cpp7
-rw-r--r--xmrstak/backend/nvidia/autoAdjust.hpp3
-rw-r--r--xmrstak/backend/nvidia/minethd.cpp9
4 files changed, 14 insertions, 12 deletions
diff --git a/xmrstak/backend/amd/minethd.cpp b/xmrstak/backend/amd/minethd.cpp
index 07c60eb..1582872 100644
--- a/xmrstak/backend/amd/minethd.cpp
+++ b/xmrstak/backend/amd/minethd.cpp
@@ -195,9 +195,10 @@ void minethd::work_main()
{
if (oWork.bStall)
{
- /* We are stalled here because the executor didn't find a job for us yet,
- either because of network latency, or a socket problem. Since we are
- raison d'etre of this software it us sensible to just wait until we have something*/
+ /* We are stalled here because the executor didn't find a job for us yet,
+ * either because of network latency, or a socket problem. Since we are
+ * raison d'etre of this software it us sensible to just wait until we have something
+ */
while (globalStates::inst().iGlobalJobNo.load(std::memory_order_relaxed) == iJobNo)
std::this_thread::sleep_for(std::chrono::milliseconds(100));
diff --git a/xmrstak/backend/cpu/minethd.cpp b/xmrstak/backend/cpu/minethd.cpp
index 9529058..933b476 100644
--- a/xmrstak/backend/cpu/minethd.cpp
+++ b/xmrstak/backend/cpu/minethd.cpp
@@ -364,9 +364,10 @@ void minethd::work_main()
{
if (oWork.bStall)
{
- /* We are stalled here because the executor didn't find a job for us yet,
- either because of network latency, or a socket problem. Since we are
- raison d'etre of this software it us sensible to just wait until we have something*/
+ /* We are stalled here because the executor didn't find a job for us yet,
+ * either because of network latency, or a socket problem. Since we are
+ * raison d'etre of this software it us sensible to just wait until we have something
+ */
while (globalStates::inst().iGlobalJobNo.load(std::memory_order_relaxed) == iJobNo)
std::this_thread::sleep_for(std::chrono::milliseconds(100));
diff --git a/xmrstak/backend/nvidia/autoAdjust.hpp b/xmrstak/backend/nvidia/autoAdjust.hpp
index 053a0f1..fbc9f49 100644
--- a/xmrstak/backend/nvidia/autoAdjust.hpp
+++ b/xmrstak/backend/nvidia/autoAdjust.hpp
@@ -40,7 +40,6 @@ public:
if(cuda_get_devicecount(&deviceCount) == 0)
return false;
// evaluate config parameter for if auto adjustment is needed
- // evaluate config parameter for if auto adjustment is needed
for(int i = 0; i < deviceCount; i++)
{
@@ -51,7 +50,7 @@ public:
ctx.device_blocks = -1;
ctx.device_threads = -1;
- // set all evice option those marked as auto (-1) to a valid value
+ // set all evice option those marked as auto (-1) to a valid value
#ifndef _WIN32
ctx.device_bfactor = 0;
ctx.device_bsleep = 0;
diff --git a/xmrstak/backend/nvidia/minethd.cpp b/xmrstak/backend/nvidia/minethd.cpp
index db18a0a..5e8b3c4 100644
--- a/xmrstak/backend/nvidia/minethd.cpp
+++ b/xmrstak/backend/nvidia/minethd.cpp
@@ -113,7 +113,7 @@ bool minethd::self_test()
//if(!bResult)
// printer::inst()->print_msg(L0,
- // "Cryptonight hash self-test failed. This might be caused by bad compiler optimizations.");
+ // "Cryptonight hash self-test failed. This might be caused by bad compiler optimizations.");
return bResult;
}
@@ -232,9 +232,10 @@ void minethd::work_main()
{
if (oWork.bStall)
{
- /* We are stalled here because the executor didn't find a job for us yet,
- either because of network latency, or a socket problem. Since we are
- raison d'etre of this software it us sensible to just wait until we have something*/
+ /* We are stalled here because the executor didn't find a job for us yet,
+ * either because of network latency, or a socket problem. Since we are
+ * raison d'etre of this software it us sensible to just wait until we have something
+ */
while (globalStates::inst().iGlobalJobNo.load(std::memory_order_relaxed) == iJobNo)
std::this_thread::sleep_for(std::chrono::milliseconds(100));
OpenPOWER on IntegriCloud