diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-02-13 19:57:31 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:47:18 +0000 |
commit | 59716fa47f43b2e85e12fb52d9d56794f7c8e41c (patch) | |
tree | 8d92a6ff80fc76242d240f5b36be1c3164c3bbf4 /src/core/CL/kernels/CLDeconvolutionLayerUpsampleKernel.cpp | |
parent | 7df35411251c2b8c3eca429447873858e42188b0 (diff) | |
download | ComputeLibrary-59716fa47f43b2e85e12fb52d9d56794f7c8e41c.tar.gz |
COMPMID-765: Fix CLDeconvolutionLayerUpsampleKernel access window.
Change-Id: I4893060ee2fe46db16aac6ee762c45dd30f35cc0
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/120216
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/core/CL/kernels/CLDeconvolutionLayerUpsampleKernel.cpp')
-rw-r--r-- | src/core/CL/kernels/CLDeconvolutionLayerUpsampleKernel.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/CL/kernels/CLDeconvolutionLayerUpsampleKernel.cpp b/src/core/CL/kernels/CLDeconvolutionLayerUpsampleKernel.cpp index 5c08d5bee2..4e2c4b5e74 100644 --- a/src/core/CL/kernels/CLDeconvolutionLayerUpsampleKernel.cpp +++ b/src/core/CL/kernels/CLDeconvolutionLayerUpsampleKernel.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, 2018 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -79,9 +79,8 @@ void CLDeconvolutionLayerUpsampleKernel::configure(const ICLTensor *input, ICLTe constexpr unsigned int num_elems_processed_per_iteration = 1; // Configure kernel window - Window win = calculate_max_window(*output->info(), Steps(num_elems_processed_per_iteration)); - - AccessWindowHorizontal output_access(output->info(), 0, 0, num_elems_processed_per_iteration); + Window win = calculate_max_window(*output->info(), Steps(num_elems_processed_per_iteration)); + AccessWindowHorizontal output_access(output->info(), 0, num_elems_processed_per_iteration); output_access.set_valid_region(win, ValidRegion(Coordinates(), output->info()->tensor_shape())); ICLKernel::configure(win); |