aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h
diff options
context:
space:
mode:
authorManuel Bottini <manuel.bottini@arm.com>2021-07-14 12:58:54 +0100
committerManuel Bottini <manuel.bottini@arm.com>2021-07-16 11:50:05 +0000
commitd844c08861706803ea7bebe64450e5feaa9b8179 (patch)
tree8467b201c5ceb73b75f5fc7856a20a4dfaf012f4 /arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h
parent0b271330cf12b029148a75af75fa38582848b4f6 (diff)
downloadComputeLibrary-d844c08861706803ea7bebe64450e5feaa9b8179.tar.gz
Port CLIm2ColKernel to ClIm2ColKernel
Resolves: COMPMID-4516 Change-Id: I6a6db66797fa801dfe1238fceca413277241d2ec Signed-off-by: Manuel Bottini <manuel.bottini@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5946 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h')
-rw-r--r--arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h b/arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h
index 564fb1ecde..e262409ee7 100644
--- a/arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h
+++ b/arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h
@@ -41,16 +41,16 @@
namespace arm_compute
{
+class CLWeightsReshapeKernel;
+class ICLTensor;
namespace opencl
{
namespace kernels
{
+class ClIm2ColKernel;
class ClCol2ImKernel;
} // namespace kernels
} // namespace opencl
-class CLIm2ColKernel;
-class CLWeightsReshapeKernel;
-class ICLTensor;
/** Function to reshape and transpose the weights. This function calls the following kernels:
* -# @ref CLWeightsReshapeKernel
@@ -173,7 +173,7 @@ private:
/** Basic function to compute the convolution layer. This function calls the following OpenCL kernels/functions:
*
- * -# @ref CLIm2ColKernel
+ * -# @ref opencl::kernels::ClIm2ColKernel
* -# @ref CLGEMM (if the data type is FP32 or FP16)
* -# @ref CLGEMMLowpMatrixMultiplyCore (if the data type is QASYMM8/QASYMM8_SIGNED)
* -# @ref CLGEMMLowpOutputStage with QUANTIZE_DOWN_FIXEDPOINT type of quantization (if the data type is QASYMM8/QASYMM8_SIGNED)
@@ -321,13 +321,14 @@ private:
IWeightsManager *_weights_manager;
CLConvolutionLayerReshapeWeights _reshape_weights;
weights_transformations::CLConvolutionLayerReshapeWeightsTransform _reshape_weights_managed;
- std::unique_ptr<CLIm2ColKernel> _im2col_kernel;
+ std::unique_ptr<opencl::kernels::ClIm2ColKernel> _im2col_kernel;
CLGEMM _mm_gemm;
CLGEMMLowpMatrixMultiplyCore _mm_gemmlowp;
std::unique_ptr<opencl::kernels::ClCol2ImKernel> _col2im_kernel;
CLActivationLayer _activationlayer_function;
const ICLTensor *_original_weights;
+ const ICLTensor *_input;
const ICLTensor *_gemm_output_to_use;
ICLTensor *_output;