#1385 "max-threads-hint" option now also limit RandomX dataset initialization threads.
This commit is contained in:
parent
3a75f39935
commit
e9e747f0d1
8 changed files with 21 additions and 14 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue