aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/NEON/functions/NEPoolingLayer.h
diff options
context:
space:
mode:
authorMichele Di Giorgio <michele.digiorgio@arm.com>2021-05-11 17:41:32 +0100
committerMichele Di Giorgio <michele.digiorgio@arm.com>2021-05-17 09:33:02 +0000
commit0c19cbd5800e830fa67cdd3b725efe796b211899 (patch)
tree450f5e33d482207d77355aa094d27e148588f42e /arm_compute/runtime/NEON/functions/NEPoolingLayer.h
parent538a076aae14dbc1940c52057e135f8a1872aa11 (diff)
downloadComputeLibrary-0c19cbd5800e830fa67cdd3b725efe796b211899.tar.gz
Move memory management out of CpuPooling
Change-Id: Idae4fc687942f61a1f63f23c9e5538df28888d93 Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5632 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEPoolingLayer.h')
-rw-r--r--arm_compute/runtime/NEON/functions/NEPoolingLayer.h7
1 files changed, 4 insertions, 3 deletions
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 <memory>
@@ -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> _impl;
};