#1385 "max-threads-hint" option now also limit RandomX dataset initialization threads.

This commit is contained in:
XMRig 2019-12-07 22:18:06 +07:00
parent 3a75f39935
commit e9e747f0d1
No known key found for this signature in database
GPG key ID: 446A53638BE94409
8 changed files with 21 additions and 14 deletions

View file

@ -234,12 +234,7 @@ public:
# ifdef XMRIG_ALGO_RANDOMX
inline bool initRX()
{
const auto &cpu = controller->config()->cpu();
return Rx::init(job, controller->config()->rx(), cpu.isHugePages(), cpu.isOneGbPages(), cpu.priority());
}
inline bool initRX() { return Rx::init(job, controller->config()->rx(), controller->config()->cpu()); }
# endif