cn/r part 2 of 2.

This commit is contained in:
XMRig 2019-09-04 11:23:04 +07:00
parent b9e15389ca
commit 57f82f7504
16 changed files with 287 additions and 139 deletions

View file

@ -42,10 +42,10 @@ class IOclRunner;
class OclCnR
{
public:
constexpr static size_t kPrecompilationDepth = 1;
constexpr static size_t kHeightChunkSize = 10;
constexpr static size_t kHeightChunkSize = 10;
static cl_program get(const IOclRunner &runner, uint64_t height, bool background = false);
static cl_program get(const IOclRunner &runner, uint64_t height);
static void clear();
};