From 76faef88284e6fd51f53b23063374d3d3a884e4f Mon Sep 17 00:00:00 2001 From: Gian Marco Date: Mon, 29 Jan 2018 12:15:32 +0000 Subject: COMPMID-855 - Optimizing im2col on OpenCL (DCHW) Introduced optimizations for 1x1, 3x3, 5x5 and 11x11 Change-Id: Ibb7f7a9fbec01a7684746ed8513634078126e452 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/118107 Tested-by: Jenkins Reviewed-by: Michalis Spyrou --- arm_compute/core/CL/kernels/CLIm2ColKernel.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'arm_compute/core/CL/kernels/CLIm2ColKernel.h') diff --git a/arm_compute/core/CL/kernels/CLIm2ColKernel.h b/arm_compute/core/CL/kernels/CLIm2ColKernel.h index 88de1ba002..e38e7e8a49 100644 --- a/arm_compute/core/CL/kernels/CLIm2ColKernel.h +++ b/arm_compute/core/CL/kernels/CLIm2ColKernel.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -25,11 +25,11 @@ #define __ARM_COMPUTE_CLIM2COLKERNEL_H__ #include "arm_compute/core/CL/ICLKernel.h" +#include "arm_compute/core/Size2D.h" namespace arm_compute { class ICLTensor; -class Size2D; /** Interface for the im2col reshape kernel. * @@ -117,6 +117,7 @@ private: std::pair _convolved_dims; unsigned int _num_elems_processed_per_iteration; Im2ColFunction _run_func; + Size2D _kernel_dims; }; } // namespace arm_compute #endif /*__ARM_COMPUTE_CLIM2COLKERNEL_H__ */ -- cgit v1.2.1