summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/autoAdjust.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'xmrstak/backend/amd/autoAdjust.hpp')
-rw-r--r--xmrstak/backend/amd/autoAdjust.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/xmrstak/backend/amd/autoAdjust.hpp b/xmrstak/backend/amd/autoAdjust.hpp
index c6f2ed7..dac0cfb 100644
--- a/xmrstak/backend/amd/autoAdjust.hpp
+++ b/xmrstak/backend/amd/autoAdjust.hpp
@@ -44,7 +44,6 @@ public:
*/
bool printConfig()
{
-
int platformIndex = getAMDPlatformIdx();
if(platformIndex == -1)
@@ -58,13 +57,12 @@ public:
int deviceCount = devVec.size();
- if(deviceCount == 0)
+ if(deviceCount == 0)
return false;
-
+
generateThreadConfig(platformIndex);
return true;
-
}
private:
OpenPOWER on IntegriCloud