From baef34ba8c60c6f2f9ea74aa80e92c035bae1451 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Wed, 16 Mar 2022 10:15:38 +0100 Subject: [PATCH] Fixed AstroBWT OpenCL config generation --- src/backend/opencl/OclConfig_gen.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/opencl/OclConfig_gen.h b/src/backend/opencl/OclConfig_gen.h index bbe65c50..aedd3983 100644 --- a/src/backend/opencl/OclConfig_gen.h +++ b/src/backend/opencl/OclConfig_gen.h @@ -139,7 +139,8 @@ size_t inline generate(Threads& threads, const count += threads.move(Algorithm::kASTROBWT_DERO_2, OclThreads(devices, Algorithm::ASTROBWT_DERO_2)); } - return generate(Algorithm::kASTROBWT, threads, Algorithm::ASTROBWT_DERO, devices); + count += generate(Algorithm::kASTROBWT, threads, Algorithm::ASTROBWT_DERO, devices); + return count; } #endif