Implemented OpenCL JIT mode.

This commit is contained in:
XMRig 2019-09-12 13:10:50 +07:00
parent db79911c4b
commit 04a4a6cadc
10 changed files with 322 additions and 60 deletions

View file

@ -35,6 +35,9 @@
#include "crypto/common/Algorithm.h"
struct RandomX_ConfigurationBase;
namespace xmrig
{
@ -43,6 +46,7 @@ class RxAlgo
{
public:
static Algorithm::Id apply(Algorithm::Id algorithm);
static RandomX_ConfigurationBase *base(Algorithm::Id algorithm);
static uint32_t programCount(Algorithm::Id algorithm);
static uint32_t programIterations(Algorithm::Id algorithm);
static uint32_t programSize(Algorithm::Id algorithm);