Added Cn0Kernel and OclKernel classes.

This commit is contained in:
XMRig 2019-08-28 08:57:55 +07:00
parent aa294ff066
commit b755218837
9 changed files with 254 additions and 1 deletions

View file

@ -32,6 +32,9 @@
namespace xmrig {
class Cn0Kernel;
class OclCnRunner : public OclBaseRunner
{
public:
@ -40,7 +43,9 @@ public:
protected:
bool isReadyToBuild() const override;
bool selfTest() const override;
bool set(const Job &job, uint8_t *blob) override;
void build() override;
private:
cl_mem m_blake256 = nullptr;
@ -49,6 +54,7 @@ private:
cl_mem m_scratchpads = nullptr;
cl_mem m_skein512 = nullptr;
cl_mem m_states = nullptr;
Cn0Kernel *m_cn0 = nullptr;
};