mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 00:15:04 -05:00
Dero HE (astrobwt/v2) OpenCL support
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
|
||||
#ifdef XMRIG_ALGO_ASTROBWT
|
||||
# include "backend/opencl/cl/astrobwt/astrobwt_cl.h"
|
||||
# include "backend/opencl/cl/astrobwt_v2/astrobwt_v2_cl.h"
|
||||
#endif
|
||||
|
||||
#ifdef XMRIG_ALGO_KAWPOW
|
||||
@@ -52,7 +53,7 @@ const char *xmrig::OclSource::get(const Algorithm &algorithm)
|
||||
|
||||
# ifdef XMRIG_ALGO_ASTROBWT
|
||||
if (algorithm.family() == Algorithm::ASTROBWT) {
|
||||
return astrobwt_cl;
|
||||
return (algorithm.id() == Algorithm::ASTROBWT_DERO_2) ? astrobwt_v2_cl : astrobwt_cl;
|
||||
}
|
||||
# endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user