Added basic cn/gpu support.

This commit is contained in:
XMRig
2019-09-08 08:59:17 +07:00
parent 05bd6839aa
commit 7c772d733b
21 changed files with 1544 additions and 91 deletions

View File

@@ -35,7 +35,8 @@ namespace xmrig {
class Cn0Kernel : public OclKernel
{
public:
Cn0Kernel(cl_program program);
inline Cn0Kernel(cl_program program) : OclKernel(program, "cn0") {}
bool enqueue(cl_command_queue queue, uint32_t nonce, size_t threads);
bool setArgs(cl_mem input, cl_mem scratchpads, cl_mem states, uint32_t threads);
};