From 0c19cbd5800e830fa67cdd3b725efe796b211899 Mon Sep 17 00:00:00 2001 From: Michele Di Giorgio Date: Tue, 11 May 2021 17:41:32 +0100 Subject: Move memory management out of CpuPooling Change-Id: Idae4fc687942f61a1f63f23c9e5538df28888d93 Signed-off-by: Michele Di Giorgio Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5632 Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas Comments-Addressed: Arm Jenkins --- arm_compute/runtime/NEON/functions/NEPoolingLayer.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'arm_compute/runtime/NEON/functions/NEPoolingLayer.h') diff --git a/arm_compute/runtime/NEON/functions/NEPoolingLayer.h b/arm_compute/runtime/NEON/functions/NEPoolingLayer.h index 851dc0ca32..1de587b444 100644 --- a/arm_compute/runtime/NEON/functions/NEPoolingLayer.h +++ b/arm_compute/runtime/NEON/functions/NEPoolingLayer.h @@ -27,6 +27,7 @@ #include "arm_compute/core/Types.h" #include "arm_compute/runtime/IFunction.h" #include "arm_compute/runtime/IMemoryManager.h" +#include "arm_compute/runtime/MemoryGroup.h" #include @@ -38,9 +39,7 @@ class ITensorInfo; /** Basic function to simulate a pooling layer with the specified pooling operation. This function calls the following kernels: * - * -# @ref NEFillBorderKernel (executed if padding size is different from zero) - * -# @ref cpu::kernels::CpuPoolingKernel - * -# @ref cpu::CpuPoolingAssemblyDispatch + * -# @ref cpu::CpuPooling */ class NEPoolingLayer : public IFunction { @@ -96,6 +95,8 @@ public: void run() override; private: + MemoryGroup _memory_group; + struct Impl; std::unique_ptr _impl; }; -- cgit v1.2.1