Restore CN-GPU

This commit is contained in:
Tony Butler 2020-06-08 14:58:35 -06:00 committed by MoneroOcean
parent 0ada4ca4ac
commit 32b49797d9
41 changed files with 8648 additions and 5926 deletions

View file

@ -49,6 +49,10 @@
# include "backend/opencl/runners/OclKawPowRunner.h"
#endif
#ifdef XMRIG_ALGO_CN_GPU
# include "backend/opencl/runners/OclRyoRunner.h"
#endif
#include <cassert>
#include <thread>
@ -111,6 +115,12 @@ xmrig::OclWorker::OclWorker(size_t id, const OclLaunchData &data) :
# endif
break;
case Algorithm::CN_GPU:
# ifdef XMRIG_ALGO_CN_GPU
m_runner = new OclRyoRunner(id, data);
# endif
break;
default:
m_runner = new OclCnRunner(id, data);
break;