aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels/CLReductionOperationKernel.cpp
diff options
context:
space:
mode:
authorJohn Richardson <john.richardson@arm.com>2018-05-14 17:20:39 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:52:35 +0000
commita4244190b6c7dc7d30d6adc621ca9a8b84b677ee (patch)
tree2f52271780062b7ee18fcca0eaf1e4e5f8eb0457 /src/core/CL/kernels/CLReductionOperationKernel.cpp
parent130986a5d87a15371dda2e787b4a0eaec6763433 (diff)
downloadComputeLibrary-a4244190b6c7dc7d30d6adc621ca9a8b84b677ee.tar.gz
COMPMID-948: Remove unused code in CLReductionOperationKernel
Remove redudant code left over from validation method refactoring. Update output shapes in CL/ReductionOperation Validate test suite. Change-Id: Ica846dd7f65380fa21708472e10b5bc609a32027 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/131207 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/core/CL/kernels/CLReductionOperationKernel.cpp')
-rw-r--r--src/core/CL/kernels/CLReductionOperationKernel.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/CL/kernels/CLReductionOperationKernel.cpp b/src/core/CL/kernels/CLReductionOperationKernel.cpp
index 1347a9bc94..355dc7948e 100644
--- a/src/core/CL/kernels/CLReductionOperationKernel.cpp
+++ b/src/core/CL/kernels/CLReductionOperationKernel.cpp
@@ -98,10 +98,6 @@ void CLReductionOperationKernel::configure(const ICLTensor *input, ICLTensor *ou
{
ARM_COMPUTE_ERROR_ON_NULLPTR(input, output);
- // Output tensor auto initialization if not yet initialized
- TensorShape output_shape{ input->info()->tensor_shape() };
- output_shape.set(axis, 1);
-
ARM_COMPUTE_ERROR_THROW_ON(validate_arguments(input->info(), output->info(), axis, op));
const unsigned int num_elems_processed_per_iteration = 16;