mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-24 13:32:46 -05:00
#1385 "max-threads-hint" option now also limit RandomX dataset initialization threads.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user