diff options
author | Manuel Bottini <manuel.bottini@arm.com> | 2021-01-05 11:36:16 +0000 |
---|---|---|
committer | Manuel Bottini <manuel.bottini@arm.com> | 2021-01-14 16:15:59 +0000 |
commit | 0f3d5971491c83afc01a4208eb42858a4a1ae354 (patch) | |
tree | a5e262ac042e91e05332917ab1e7112321519383 /src/runtime/CL/functions/CLTranspose.cpp | |
parent | e9aaacd452b3c4e9967e1732490bd206cdefb4eb (diff) | |
download | ComputeLibrary-0f3d5971491c83afc01a4208eb42858a4a1ae354.tar.gz |
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 <manuel.bottini@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4780
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-by: Giorgio Arena <giorgio.arena@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/CL/functions/CLTranspose.cpp')
-rw-r--r-- | src/runtime/CL/functions/CLTranspose.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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 <utility> -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 |