mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-12-01 12:23:57 +01:00
fix wrong indentions by hand after auto conversion
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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));
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user