From 0f3d5971491c83afc01a4208eb42858a4a1ae354 Mon Sep 17 00:00:00 2001 From: Manuel Bottini Date: Tue, 5 Jan 2021 11:36:16 +0000 Subject: Remove OpenCL padding CLTransposeKernel By handling more general NxM blocks (where M and N can be 1,2,4,8,16) instead of only 4x4, 8x8, 16x16 and managing corner left values with partial stores Resolves: COMPMID-3923 Change-Id: I49b1a560c8325e00e061bd04edcf55034d04dcd8 Signed-off-by: Manuel Bottini Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4780 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Reviewed-by: Giorgio Arena Comments-Addressed: Arm Jenkins --- src/runtime/CL/functions/CLTranspose.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/runtime') diff --git a/src/runtime/CL/functions/CLTranspose.cpp b/src/runtime/CL/functions/CLTranspose.cpp index c74503f4c0..67151be9a1 100644 --- a/src/runtime/CL/functions/CLTranspose.cpp +++ b/src/runtime/CL/functions/CLTranspose.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2020 Arm Limited. + * Copyright (c) 2017-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -27,8 +27,8 @@ #include -using namespace arm_compute; - +namespace arm_compute +{ void CLTranspose::configure(const ICLTensor *input, ICLTensor *output) { configure(CLKernelLibrary::get().get_compile_context(), input, output); @@ -45,3 +45,4 @@ Status CLTranspose::validate(const ITensorInfo *input, const ITensorInfo *output { return CLTransposeKernel::validate(input, output); } +} // namespace arm_compute \ No newline at end of file -- cgit v1.2.1