KawPow WIP

This commit is contained in:
SChernykh
2020-05-24 23:57:41 +02:00
parent 287bb16776
commit f24da62db0
88 changed files with 11004 additions and 8383 deletions

View File

@@ -28,10 +28,6 @@
#include "base/crypto/Algorithm.h"
#ifdef XMRIG_ALGO_CN_GPU
# include "backend/opencl/cl/cn/cryptonight_gpu_cl.h"
#endif
#ifdef XMRIG_ALGO_RANDOMX
# include "backend/opencl/cl/rx/randomx_cl.h"
#endif
@@ -40,6 +36,11 @@
# include "backend/opencl/cl/astrobwt/astrobwt_cl.h"
#endif
#ifdef XMRIG_ALGO_KAWPOW
# include "backend/opencl/cl/kawpow/kawpow_cl.h"
# include "backend/opencl/cl/kawpow/kawpow_dag_cl.h"
#endif
const char *xmrig::OclSource::get(const Algorithm &algorithm)
{
@@ -55,9 +56,9 @@ const char *xmrig::OclSource::get(const Algorithm &algorithm)
}
# endif
# ifdef XMRIG_ALGO_CN_GPU
if (algorithm == Algorithm::CN_GPU) {
return cryptonight_gpu_cl;
# ifdef XMRIG_ALGO_KAWPOW
if (algorithm.family() == Algorithm::KAWPOW) {
return kawpow_dag_cl;
}
# endif