diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2018-02-03 10:31:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-03 10:31:06 +0000 |
commit | b55fa7e3248b97a9913275e9965d4e2acaf00913 (patch) | |
tree | 97237eb47c74dedbeb5181867958d02230bc2225 | |
parent | 8bef63c913cdd6871a1306bc5fc62ecff9308c2e (diff) | |
parent | 2bc5a055e1416a852b23eb33ac7ad0a0d96d8de5 (diff) | |
download | xmr-stak-b55fa7e3248b97a9913275e9965d4e2acaf00913.zip xmr-stak-b55fa7e3248b97a9913275e9965d4e2acaf00913.tar.gz |
Merge pull request #1013 from psychocrypt/topic-improveAmdAeonAutosuggestion
improve AMD auto suggestion for AEON
-rw-r--r-- | xmrstak/backend/amd/autoAdjust.hpp | 3 |
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); |