mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-31 15:42:40 -05:00
Added basic cn/gpu support.
This commit is contained in:
@@ -35,7 +35,8 @@ namespace xmrig {
|
||||
class Cn2Kernel : public OclKernel
|
||||
{
|
||||
public:
|
||||
Cn2Kernel(cl_program program);
|
||||
inline Cn2Kernel(cl_program program) : OclKernel(program, "cn2") {}
|
||||
|
||||
bool enqueue(cl_command_queue queue, uint32_t nonce, size_t threads);
|
||||
bool setArgs(cl_mem scratchpads, cl_mem states, const std::vector<cl_mem> &branches, uint32_t threads);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user