From 597a85666a84c9a9414264966651551564b79299 Mon Sep 17 00:00:00 2001 From: Gian Marco Iodice Date: Wed, 1 Aug 2018 15:06:06 +0100 Subject: COMPMID-872 - Rework NEGEMMConvolutionLayer to use NEGEMM Change-Id: I55f0018ac7214775ebbca63f58a3bf5c93732fec Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/142632 Tested-by: Jenkins Reviewed-by: Anthony Barbier --- src/runtime/CL/functions/CLGEMMConvolutionLayer.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/runtime/CL/functions/CLGEMMConvolutionLayer.cpp') diff --git a/src/runtime/CL/functions/CLGEMMConvolutionLayer.cpp b/src/runtime/CL/functions/CLGEMMConvolutionLayer.cpp index d58f82e9c6..fb90415e31 100644 --- a/src/runtime/CL/functions/CLGEMMConvolutionLayer.cpp +++ b/src/runtime/CL/functions/CLGEMMConvolutionLayer.cpp @@ -224,6 +224,8 @@ void CLGEMMConvolutionLayer::configure(const ICLTensor *input, const ICLTensor * if(!_skip_im2col) { // Calculate im2col shape + // For OpenCL the batch size is on the third dimension + // TODO (giaiod01): Use auto-init COMPMID-1277 TensorShape shape_im2col = input->info()->tensor_shape(); if(shape_im2col.num_dimensions() >= 3) { @@ -399,6 +401,8 @@ Status CLGEMMConvolutionLayer::validate(const ITensorInfo *input, const ITensorI if(!skip_im2col) { // Create tensor info for im2col reshaped inputs + // For OpenCL the batch size is on the third dimension + // TODO (giaiod01): Use auto-init COMPMID-1277 TensorShape shape_im2col = input->tensor_shape(); if(input->tensor_shape().num_dimensions() >= 3) { -- cgit v1.2.1