From 256c0b9d5d66d35d52c7eee3599a4d91e7887ec8 Mon Sep 17 00:00:00 2001 From: Manuel Bottini Date: Tue, 21 Apr 2020 13:29:30 +0100 Subject: COMPMID-3280: Make all ML primitives for CL use the new interface - Part1 - Fix1 - const fix in the CLKernels part 1 Change-Id: I17340cb6ff26afd52b14b46645efedbe07aef1b6 Signed-off-by: Manuel Bottini Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3067 Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- arm_compute/core/CL/kernels/CLAccumulateKernel.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'arm_compute/core/CL/kernels/CLAccumulateKernel.h') diff --git a/arm_compute/core/CL/kernels/CLAccumulateKernel.h b/arm_compute/core/CL/kernels/CLAccumulateKernel.h index d7cb09fdd3..f639148e25 100644 --- a/arm_compute/core/CL/kernels/CLAccumulateKernel.h +++ b/arm_compute/core/CL/kernels/CLAccumulateKernel.h @@ -52,7 +52,7 @@ public: * @param[in] input Source tensor. Data types supported: U8. * @param[out] accum Destination tensor. Data types supported: S16. */ - void configure(CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *accum); + void configure(const CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *accum); }; /** Interface for the accumulate weighted kernel. @@ -81,7 +81,7 @@ public: * @param[in] alpha Scalar value in the range [0, 1.0]. Data types supported: F32. * @param[in,out] accum Accumulated tensor. Data types supported: U8. */ - void configure(CLCompileContext &compile_context, const ICLTensor *input, float alpha, ICLTensor *accum); + void configure(const CLCompileContext &compile_context, const ICLTensor *input, float alpha, ICLTensor *accum); }; /** Interface for the accumulate squared kernel. @@ -108,7 +108,7 @@ public: * @param[in] shift Shift value in the range of [0, 15]. Data types supported: U32. * @param[in,out] accum Accumulated tensor. Data types supported: S16. */ - void configure(CLCompileContext &compile_context, const ICLTensor *input, uint32_t shift, ICLTensor *accum); + void configure(const CLCompileContext &compile_context, const ICLTensor *input, uint32_t shift, ICLTensor *accum); }; } // namespace arm_compute #endif /*ARM_COMPUTE_CLACCUMULATEKERNEL_H */ -- cgit v1.2.1