aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/NEGEMMLowpMatrixMultiplyKernel.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/NEGEMMLowpMatrixMultiplyKernel.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/NEGEMMLowpMatrixMultiplyKernel.cpp')
-rw-r--r--src/core/NEON/kernels/NEGEMMLowpMatrixMultiplyKernel.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/NEON/kernels/NEGEMMLowpMatrixMultiplyKernel.cpp b/src/core/NEON/kernels/NEGEMMLowpMatrixMultiplyKernel.cpp
index 4dbfc3b022..0aad0a7ec2 100644
--- a/src/core/NEON/kernels/NEGEMMLowpMatrixMultiplyKernel.cpp
+++ b/src/core/NEON/kernels/NEGEMMLowpMatrixMultiplyKernel.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2020 Arm Limited.
+ * Copyright (c) 2017-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -923,15 +923,10 @@ void NEGEMMLowpMatrixMultiplyKernel::configure(const ITensor *input0, const ITen
{
// Configure kernel window
win = calculate_max_window(*output->info(), Steps(num_elems_processed_per_iteration_x));
-
- Coordinates coord;
- coord.set_num_dimensions(output->info()->num_dimensions());
- output->info()->set_valid_region(ValidRegion(coord, output->info()->tensor_shape()));
}
else
{
win = calculate_max_window(*output->info(), Steps(num_elems_processed_per_iteration_x, num_elems_processed_per_iteration_y));
- output->info()->set_valid_region(ValidRegion(Coordinates(), output->info()->tensor_shape()));
}
INEKernel::configure(win);