Removing extra header files included in topkv2 files (#3372)
authorShubham Gupta/System SW /SRI-Bangalore/Engineer/삼성전자 <shub98.gupta@samsung.com>
Mon, 29 Oct 2018 11:36:26 +0000 (17:06 +0530)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Mon, 29 Oct 2018 11:36:26 +0000 (20:36 +0900)
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 <shub98.gupta@samsung.com>
libs/ARMComputeEx/arm_compute/core/CL/kernels/CLTopKV2Kernel.h
libs/ARMComputeEx/arm_compute/runtime/CL/functions/CLTopKV2.h
libs/ARMComputeEx/src/core/CL/kernels/CLTopKV2Kernel.cpp
libs/ARMComputeEx/src/runtime/CL/functions/CLTopKV2.cpp

index 058604c..eb2bad2 100644 (file)
 #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 <array>
-
 // 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
index 966e2ad..5327e01 100644 (file)
@@ -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
index d95b485..6fd563f 100644 (file)
 #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 <climits>
-#include <cassert>
 
 namespace arm_compute
 {
index 6426364..1917749 100644 (file)
  * 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 <vector>
-#include <algorithm>
 
 #include "../../topk_v2.h"