RandomX dataset specific code moved into OclSharedData class.

This commit is contained in:
XMRig 2019-09-30 06:59:44 +07:00
parent f4943b77f3
commit 77eecdd2c2
16 changed files with 90 additions and 173 deletions

View file

@ -35,11 +35,6 @@
#include "crypto/common/Nonce.h"
#ifdef XMRIG_ALGO_RANDOMX
# include "backend/opencl/runners/tools/OclRxDataset.h"
#endif
using cl_context = struct _cl_context *;
@ -72,10 +67,6 @@ public:
const OclDevice device;
const OclPlatform platform;
const OclThread thread;
# ifdef XMRIG_ALGO_RANDOMX
OclRxDatasetPtr dataset;
# endif
};