From 8c3c0e7b117723bc98b6acc85565ffa521b10c0d Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Thu, 3 Dec 2020 20:11:53 +0000 Subject: Remove (NE/CL)ComputeAllAnchors function ComputeAllAnchors is used as part of GenerateProposals and not standalone thus removes function exposure. Partially Resolves: COMPMID-3996 Signed-off-by: Georgios Pinitas Change-Id: I729010b48d747ec40d3ce2c7d0e907e8ec5cd55f Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4661 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio --- tests/validation/CL/GenerateProposalsLayer.cpp | 5 ++++- tests/validation/NEON/GenerateProposalsLayer.cpp | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/validation/CL/GenerateProposalsLayer.cpp b/tests/validation/CL/GenerateProposalsLayer.cpp index d0ceef5106..646a0e0530 100644 --- a/tests/validation/CL/GenerateProposalsLayer.cpp +++ b/tests/validation/CL/GenerateProposalsLayer.cpp @@ -22,12 +22,13 @@ * SOFTWARE. */ #include "arm_compute/runtime/CL/CLScheduler.h" -#include "arm_compute/runtime/CL/functions/CLComputeAllAnchors.h" #include "arm_compute/runtime/CL/functions/CLGenerateProposalsLayer.h" #include "arm_compute/runtime/CL/functions/CLPermute.h" #include "arm_compute/runtime/CL/functions/CLSlice.h" +#include "src/core/CL/kernels/CLGenerateProposalsLayerKernel.h" #include "tests/CL/CLAccessor.h" #include "tests/CL/CLArrayAccessor.h" +#include "tests/CL/Helper.h" #include "tests/Globals.h" #include "tests/framework/Macros.h" #include "tests/framework/datasets/Datasets.h" @@ -43,6 +44,8 @@ namespace validation { namespace { +using CLComputeAllAnchors = CLSynthetizeFunction; + template inline void fill_tensor(U &&tensor, const std::vector &v) { diff --git a/tests/validation/NEON/GenerateProposalsLayer.cpp b/tests/validation/NEON/GenerateProposalsLayer.cpp index d14b8cb8c4..6a28fecf7f 100644 --- a/tests/validation/NEON/GenerateProposalsLayer.cpp +++ b/tests/validation/NEON/GenerateProposalsLayer.cpp @@ -22,13 +22,14 @@ * SOFTWARE. */ #include "arm_compute/runtime/NEON/NEScheduler.h" -#include "arm_compute/runtime/NEON/functions/NEComputeAllAnchors.h" #include "arm_compute/runtime/NEON/functions/NEGenerateProposalsLayer.h" #include "arm_compute/runtime/NEON/functions/NEPermute.h" #include "arm_compute/runtime/NEON/functions/NESlice.h" +#include "src/core/NEON/kernels/NEGenerateProposalsLayerKernel.h" #include "tests/Globals.h" #include "tests/NEON/Accessor.h" #include "tests/NEON/ArrayAccessor.h" +#include "tests/NEON/Helper.h" #include "tests/framework/Macros.h" #include "tests/framework/datasets/Datasets.h" #include "tests/validation/Validation.h" @@ -43,6 +44,8 @@ namespace validation { namespace { +using NEComputeAllAnchors = NESynthetizeFunction; + template inline void fill_tensor(U &&tensor, const std::vector &v) { -- cgit v1.2.1