Fixed memory allocation checks.

This commit is contained in:
XMRig
2019-12-25 04:39:21 +07:00
parent bea37f59c8
commit e7c4b1d0c2
9 changed files with 72 additions and 21 deletions

View File

@@ -45,6 +45,7 @@ class IRxStorage
public:
virtual ~IRxStorage() = default;
virtual bool isAllocated() const = 0;
virtual HugePagesInfo hugePages() const = 0;
virtual RxDataset *dataset(const Job &job, uint32_t nodeId) const = 0;
virtual void init(const RxSeed &seed, uint32_t threads, bool hugePages, bool oneGbPages, RxConfig::Mode mode, int priority) = 0;