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

@ -27,11 +27,6 @@
#include "backend/opencl/wrappers/OclLib.h"
xmrig::Cn0Kernel::Cn0Kernel(cl_program program) : OclKernel(program, "cn0")
{
}
bool xmrig::Cn0Kernel::enqueue(cl_command_queue queue, uint32_t nonce, size_t threads)
{
const size_t offset[2] = { nonce, 1 };