From 079048b3ae445816a73e2779684398b4b301b553 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Shubham=20Gupta/System=20SW=20/SRI-Bangalore/Engineer/?= =?utf8?q?=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Mon, 29 Oct 2018 17:06:26 +0530 Subject: [PATCH] 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 --- libs/ARMComputeEx/arm_compute/core/CL/kernels/CLTopKV2Kernel.h | 3 --- libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLTopKV2.h | 1 - libs/ARMComputeEx/src/core/CL/kernels/CLTopKV2Kernel.cpp | 7 ------- libs/ARMComputeEx/src/runtime/CL/functions/CLTopKV2.cpp | 5 +---- 4 files changed, 1 insertion(+), 15 deletions(-) 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" -- 2.7.4