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

@ -61,6 +61,10 @@ extern bool ocl_generic_astrobwt_generator(const OclDevice& device, const Algori
extern bool ocl_generic_kawpow_generator(const OclDevice& device, const Algorithm& algorithm, OclThreads& threads);
#endif
#ifdef XMRIG_ALGO_CN_GPU
extern bool ocl_generic_cn_gpu_generator(const OclDevice &device, const Algorithm &algorithm, OclThreads &threads);
#endif
extern bool ocl_vega_cn_generator(const OclDevice &device, const Algorithm &algorithm, OclThreads &threads);
extern bool ocl_generic_cn_generator(const OclDevice &device, const Algorithm &algorithm, OclThreads &threads);
@ -74,6 +78,9 @@ static ocl_gen_config_fun generators[] = {
# endif
# ifdef XMRIG_ALGO_KAWPOW
ocl_generic_kawpow_generator,
# endif
# ifdef XMRIG_ALGO_CN_GPU
ocl_generic_cn_gpu_generator,
# endif
ocl_vega_cn_generator,
ocl_generic_cn_generator