mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-23 06:38:43 +02:00
Merge pull request #1013 from psychocrypt/topic-improveAmdAeonAutosuggestion
improve AMD auto suggestion for AEON
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user