aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/NEGEMMLowpReductionKernel.cpp
diff options
context:
space:
mode:
authorSiCongLi <sicong.li@arm.com>2021-02-24 15:40:57 +0000
committerSiCong Li <sicong.li@arm.com>2021-03-08 09:39:14 +0000
commitb88272e2dcf09803cd275cfeb5ca1ea743a091ff (patch)
tree6637bef6d413bc513ffa451b0993102d7da57f4d /src/core/NEON/kernels/NEGEMMLowpReductionKernel.cpp
parentc7b1e84ac5f3ada1b2f78c66979ef4d44804a955 (diff)
downloadComputeLibrary-b88272e2dcf09803cd275cfeb5ca1ea743a091ff.tar.gz
Remove usage of valid window region in NHWC CPU kernels - Part2
Remove set_valid_region methods from all NHWC CPU ML functions / operators / kernels Resolves COMPMID-4152 (2/2) Change-Id: If9725e9c5b0213b87db96675e81b7fb724970b98 Signed-off-by: SiCongLi <sicong.li@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5203 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/NEON/kernels/NEGEMMLowpReductionKernel.cpp')
-rw-r--r--src/core/NEON/kernels/NEGEMMLowpReductionKernel.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/NEON/kernels/NEGEMMLowpReductionKernel.cpp b/src/core/NEON/kernels/NEGEMMLowpReductionKernel.cpp
index db038e559e..965b04df2c 100644
--- a/src/core/NEON/kernels/NEGEMMLowpReductionKernel.cpp
+++ b/src/core/NEON/kernels/NEGEMMLowpReductionKernel.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2020 Arm Limited.
+ * Copyright (c) 2017-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -82,7 +82,6 @@ void NEGEMMLowpMatrixAReductionKernel::configure(const ITensor *mtx_a, ITensor *
auto_init_if_empty(*_output->info(), TensorShape(_input->info()->dimension(1)), 1, DataType::S32);
Window win = calculate_max_window(*_output->info(), Steps(1));
- _output->info()->set_valid_region(ValidRegion(Coordinates(), _output->info()->tensor_shape()));
INEKernel::configure(win);
}
@@ -204,7 +203,6 @@ void NEGEMMLowpMatrixBReductionKernel::configure(const ITensor *mtx_b, ITensor *
// Configure kernel window
Window win = calculate_max_window_horizontal(*_output->info(), Steps(num_elems_processed_per_iteration));
- _output->info()->set_valid_region(ValidRegion(Coordinates(), _output->info()->tensor_shape()));
INEKernel::configure(win);
}