Merge pull request #1013 from psychocrypt/topic-improveAmdAeonAutosuggestion

improve AMD auto suggestion for AEON
This commit is contained in:
fireice-uk
2018-02-03 10:31:06 +00:00
committed by GitHub
+3
View File
@@ -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);