fix wrong indentions by hand after auto conversion

This commit is contained in:
psychocrypt
2017-11-16 12:28:54 +01:00
parent d0b99bb4c6
commit 157dd16574
4 changed files with 14 additions and 12 deletions
+4 -3
View File
@@ -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));
+4 -3
View File
@@ -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));
+1 -2
View File
@@ -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;
+5 -4
View File
@@ -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));