Relax cn algorithm constants definition.

This commit is contained in:
XMRig 2019-09-04 13:22:20 +07:00
parent 13daf095d9
commit e7b2b4fc3d
4 changed files with 66 additions and 155 deletions

View file

@ -41,9 +41,16 @@ class CnBranchKernel;
class OclCnRunner : public OclBaseRunner
{
public:
OclCnRunner() = delete;
OclCnRunner(const OclCnRunner &other) = delete;
OclCnRunner(OclCnRunner &&other) = delete;
OclCnRunner(size_t index, const OclLaunchData &data);
~OclCnRunner() override;
OclCnRunner &operator=(const OclCnRunner &other) = delete;
OclCnRunner &operator=(OclCnRunner &&other) = delete;
protected:
bool isReadyToBuild() const override;
bool run(uint32_t nonce, uint32_t *hashOutput) override;