summaryrefslogtreecommitdiffstats
path: root/xmrstak
diff options
context:
space:
mode:
authorpsychocrypt <psychocryptHPC@gmail.com>2018-01-30 20:32:09 +0100
committerpsychocrypt <psychocryptHPC@gmail.com>2018-01-30 20:32:09 +0100
commit2bc5a055e1416a852b23eb33ac7ad0a0d96d8de5 (patch)
tree579f06af1e0d1af244c5afdd2e0cb6cb7c0efed7 /xmrstak
parenta8e83eec94288cf00d5003071d24221b29f30cab (diff)
downloadxmr-stak-2bc5a055e1416a852b23eb33ac7ad0a0d96d8de5.zip
xmr-stak-2bc5a055e1416a852b23eb33ac7ad0a0d96d8de5.tar.gz
improve AMD auto suggestion for AEON
increase the intensity limit for AEON
Diffstat (limited to 'xmrstak')
-rw-r--r--xmrstak/backend/amd/autoAdjust.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmrstak/backend/amd/autoAdjust.hpp b/xmrstak/backend/amd/autoAdjust.hpp
index 93b71ba..afedb5c 100644
--- a/xmrstak/backend/amd/autoAdjust.hpp
+++ b/xmrstak/backend/amd/autoAdjust.hpp
@@ -117,6 +117,9 @@ private:
*/
maxThreads = 2024u;
}
+ // increase all intensity limits by two for aeon
+ if(!::jconf::inst()->IsCurrencyMonero())
+ maxThreads *= 2u;
// keep 128MiB memory free (value is randomly chosen)
size_t availableMem = ctx.freeMem - (128u * byteToMiB);
OpenPOWER on IntegriCloud