1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-11 17:32:47 -05:00

Implemented cn0 kernel launch.

This commit is contained in:
XMRig
2019-09-01 07:05:49 +07:00
parent ce3e2401cb
commit b541960611
15 changed files with 108 additions and 49 deletions

View File

@@ -29,9 +29,6 @@
#include "backend/opencl/wrappers/OclKernel.h"
typedef struct _cl_mem *cl_mem;
namespace xmrig {
@@ -39,6 +36,7 @@ class Cn0Kernel : public OclKernel
{
public:
Cn0Kernel(cl_program program);
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);
};