mirror of
https://github.com/xmrig/xmrig.git
synced 2026-06-24 20:42:39 -04:00
#1385 "max-threads-hint" option now also limit RandomX dataset initialization threads.
This commit is contained in:
@@ -37,6 +37,7 @@ namespace xmrig
|
||||
|
||||
|
||||
class Algorithm;
|
||||
class CpuConfig;
|
||||
class IRxListener;
|
||||
class Job;
|
||||
class RxConfig;
|
||||
@@ -46,7 +47,7 @@ class RxDataset;
|
||||
class Rx
|
||||
{
|
||||
public:
|
||||
static bool init(const Job &job, const RxConfig &config, bool hugePages, bool oneGbPages, int priority);
|
||||
static bool init(const Job &job, const RxConfig &config, const CpuConfig &cpu);
|
||||
static bool isReady(const Job &job);
|
||||
static RxDataset *dataset(const Job &job, uint32_t nodeId);
|
||||
static std::pair<uint32_t, uint32_t> hugePages();
|
||||
|
||||
Reference in New Issue
Block a user