From: Shubham Gupta/System SW /SRI-Bangalore/Engineer/삼성전자 Date: Mon, 29 Oct 2018 11:36:26 +0000 (+0530) Subject: Removing extra header files included in topkv2 files (#3372) X-Git-Tag: 0.3~506 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=079048b3ae445816a73e2779684398b4b301b553;p=platform%2Fcore%2Fml%2Fnnfw.git Removing extra header files included in topkv2 files (#3372) This patch will remove extra unnecessary headers in topkv2 op. Also add CLScheduler.h which was getting included by CLArray ClArray was including headers which were not required, hence it has been removed Signed-off-by: shubham --- diff --git a/libs/ARMComputeEx/arm_compute/core/CL/kernels/CLTopKV2Kernel.h b/libs/ARMComputeEx/arm_compute/core/CL/kernels/CLTopKV2Kernel.h index 058604c..eb2bad2 100644 --- a/libs/ARMComputeEx/arm_compute/core/CL/kernels/CLTopKV2Kernel.h +++ b/libs/ARMComputeEx/arm_compute/core/CL/kernels/CLTopKV2Kernel.h @@ -24,11 +24,8 @@ #ifndef __ARM_COMPUTE_CLTOPKV2KERNEL_H__ #define __ARM_COMPUTE_CLTOPKV2KERNEL_H__ -#include "arm_compute/core/CL/ICLArray.h" #include "arm_compute/core/CL/ICLKernel.h" -#include - // these parameters can be changed #define _ITEMS 16 // number of items in a group #define _GROUPS 4 // the number of virtual processors is _ITEMS * _GROUPS diff --git a/libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLTopKV2.h b/libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLTopKV2.h index 966e2ad..5327e01 100644 --- a/libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLTopKV2.h +++ b/libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLTopKV2.h @@ -25,7 +25,6 @@ #include "arm_compute/core/CL/kernels/CLTopKV2Kernel.h" -#include "arm_compute/runtime/CL/CLArray.h" #include "arm_compute/runtime/IFunction.h" namespace arm_compute diff --git a/libs/ARMComputeEx/src/core/CL/kernels/CLTopKV2Kernel.cpp b/libs/ARMComputeEx/src/core/CL/kernels/CLTopKV2Kernel.cpp index d95b485..6fd563f 100644 --- a/libs/ARMComputeEx/src/core/CL/kernels/CLTopKV2Kernel.cpp +++ b/libs/ARMComputeEx/src/core/CL/kernels/CLTopKV2Kernel.cpp @@ -17,15 +17,8 @@ #include "arm_compute/core/CL/kernels/CLTopKV2Kernel.h" #include "arm_compute/core/CL/CLHelpers.h" -#include "arm_compute/core/CL/CLKernelLibrary.h" #include "arm_compute/core/CL/CLKernelLibraryEx.h" #include "arm_compute/core/CL/ICLTensor.h" -#include "arm_compute/core/Helpers.h" -#include "arm_compute/core/Validate.h" -#include "arm_compute/core/Window.h" - -#include -#include namespace arm_compute { diff --git a/libs/ARMComputeEx/src/runtime/CL/functions/CLTopKV2.cpp b/libs/ARMComputeEx/src/runtime/CL/functions/CLTopKV2.cpp index 6426364..1917749 100644 --- a/libs/ARMComputeEx/src/runtime/CL/functions/CLTopKV2.cpp +++ b/libs/ARMComputeEx/src/runtime/CL/functions/CLTopKV2.cpp @@ -15,12 +15,9 @@ * limitations under the License. */ #include "arm_compute/runtime/CL/functions/CLTopKV2.h" +#include "arm_compute/runtime/CL/CLScheduler.h" #include "arm_compute/core/CL/ICLTensor.h" -#include "arm_compute/core/CL/CLHelpers.h" - -#include -#include #include "../../topk_v2.h"