From 94f799e8f6f605333d40472860fb472e8ba6d83d Mon Sep 17 00:00:00 2001 From: Manuel Bottini Date: Wed, 9 Jun 2021 16:37:32 +0100 Subject: Fix incorrect memory handling in ported functions Details of the functions: - ClSoftmax - CpuSoftmax - CpuPool2d Change-Id: Icd2c14d5df010c3b2301e2693ce6f414d7c61916 Resolves: COMPMID-4404 Signed-off-by: Manuel Bottini Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5797 Reviewed-by: Georgios Pinitas Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins --- arm_compute/runtime/CL/functions/CLSoftmaxLayer.h | 3 --- arm_compute/runtime/NEON/functions/NEPoolingLayer.h | 2 -- arm_compute/runtime/NEON/functions/NESoftmaxLayer.h | 3 +-- 3 files changed, 1 insertion(+), 7 deletions(-) (limited to 'arm_compute') diff --git a/arm_compute/runtime/CL/functions/CLSoftmaxLayer.h b/arm_compute/runtime/CL/functions/CLSoftmaxLayer.h index 721a47144e..687f8ff6d8 100644 --- a/arm_compute/runtime/CL/functions/CLSoftmaxLayer.h +++ b/arm_compute/runtime/CL/functions/CLSoftmaxLayer.h @@ -106,9 +106,6 @@ public: private: struct Impl; std::unique_ptr _impl; - - /** Allocate workspace required by the operator */ - void allocate_workspace(); }; using CLSoftmaxLayer = CLSoftmaxLayerGeneric; diff --git a/arm_compute/runtime/NEON/functions/NEPoolingLayer.h b/arm_compute/runtime/NEON/functions/NEPoolingLayer.h index b5366fa1c1..9398e1fce9 100644 --- a/arm_compute/runtime/NEON/functions/NEPoolingLayer.h +++ b/arm_compute/runtime/NEON/functions/NEPoolingLayer.h @@ -95,8 +95,6 @@ public: void run() override; private: - MemoryGroup _memory_group; - struct Impl; std::unique_ptr _impl; }; diff --git a/arm_compute/runtime/NEON/functions/NESoftmaxLayer.h b/arm_compute/runtime/NEON/functions/NESoftmaxLayer.h index efe959f14e..02d0cc15b2 100644 --- a/arm_compute/runtime/NEON/functions/NESoftmaxLayer.h +++ b/arm_compute/runtime/NEON/functions/NESoftmaxLayer.h @@ -25,7 +25,7 @@ #define ARM_COMPUTE_NESOFTMAXLAYER_H #include "arm_compute/runtime/IFunction.h" -#include "arm_compute/runtime/MemoryGroup.h" +#include "src/core/helpers/MemoryHelpers.h" #include namespace arm_compute @@ -88,7 +88,6 @@ public: void run() override; private: - MemoryGroup _memory_group; struct Impl; std::unique_ptr _impl; }; -- cgit v1.2.1