From 7e20e29904c98adae5a91c6492fd78da88b7a9bf Mon Sep 17 00:00:00 2001 From: Sheri Zhang Date: Tue, 2 Feb 2021 11:49:34 +0000 Subject: Make memset/copy functions state-less Port following functions: - CLCopy - CLFill - CLPermute - CLReshapeLayer - CLCropResize Resolves: COMPMID-4002 Signed-off-by: Sheri Zhang Change-Id: I8392aa515aaeb5b44dab6122be6a795d08376d5f Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5003 Comments-Addressed: Arm Jenkins Reviewed-by: Michele Di Giorgio Tested-by: Arm Jenkins --- arm_compute/runtime/CL/functions/CLMaxUnpoolingLayer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'arm_compute/runtime/CL/functions/CLMaxUnpoolingLayer.h') diff --git a/arm_compute/runtime/CL/functions/CLMaxUnpoolingLayer.h b/arm_compute/runtime/CL/functions/CLMaxUnpoolingLayer.h index 693862fb89..24d620d372 100644 --- a/arm_compute/runtime/CL/functions/CLMaxUnpoolingLayer.h +++ b/arm_compute/runtime/CL/functions/CLMaxUnpoolingLayer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 Arm Limited. + * Copyright (c) 2020-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -25,6 +25,7 @@ #define ARM_COMPUTE_CLMAXUNPOOLINGLAYER_H #include "arm_compute/core/Error.h" +#include "arm_compute/runtime/CL/functions/CLFill.h" #include "arm_compute/runtime/IFunction.h" #include @@ -35,12 +36,11 @@ class CLCompileContext; class ICLTensor; class ITensorInfo; class CLMaxUnpoolingLayerKernel; -class CLMemsetKernel; struct PoolingLayerInfo; /** Function to perform MaxUnpooling. This function calls the following OpenCL kernels: * - * -# @ref CLMemsetKernel + * -# @ref CLFill * -# @ref CLMaxUnpoolingLayerKernel */ class CLMaxUnpoolingLayer : public IFunction @@ -99,7 +99,7 @@ public: void run() override; private: - std::unique_ptr _memset_kernel; + CLFill _fill; std::unique_ptr _unpooling_layer_kernel; }; } -- cgit v1.2.1