1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-12 01:42:48 -05:00

Added basic cn/gpu support.

This commit is contained in:
XMRig
2019-09-08 08:59:17 +07:00
parent 3d3a32087f
commit 859626cbe3
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);
};