Added classes Rx, RxAlgo, RxCache, RxDataset.

This commit is contained in:
XMRig
2019-07-10 01:53:05 +07:00
parent d84ab8e4bf
commit e1edfa3312
18 changed files with 704 additions and 144 deletions

View File

@@ -32,6 +32,7 @@
#include "crypto/cn/CnAlgo.h"
#include "crypto/common/Algorithm.h"
#include "crypto/rx/RxAlgo.h"
#include "rapidjson/document.h"
@@ -138,12 +139,12 @@ size_t xmrig::Algorithm::memory() const
}
# ifdef XMRIG_ALGO_RANDOMX
if (m_id == RX_WOW) {
return 0x100000;
if (f == RANDOM_X) {
return RxAlgo::l3(m_id);
}
# endif
return 0x200000;
return 0;
}