aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLReduceMean.cpp
diff options
context:
space:
mode:
authorramelg01 <ramy.elgammal@arm.com>2021-09-29 10:05:09 +0100
committerramy.elgammal <ramy.elgammal@arm.com>2021-10-01 18:41:10 +0000
commit6d891575e0c4432e170db7746037934299a0f2ca (patch)
treee5db0d214169c6c5602f43734ee592e00370fef9 /src/runtime/CL/functions/CLReduceMean.cpp
parent93f7c3fe1a9c8c98265c50376cacd5fd9ebb7a72 (diff)
downloadComputeLibrary-6d891575e0c4432e170db7746037934299a0f2ca.tar.gz
Provide logging for configure functions in all CL functions
Partially Resolves: COMPMID-4718 Signed-off-by: Ramy Elgammal <ramy.elgammal@arm.com> Change-Id: I59943081de0f3105bdbfc78af53971a0de8cd53e Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6332 Reviewed-by: Pablo Marquez Tello <pablo.tello@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/CL/functions/CLReduceMean.cpp')
-rw-r--r--src/runtime/CL/functions/CLReduceMean.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/runtime/CL/functions/CLReduceMean.cpp b/src/runtime/CL/functions/CLReduceMean.cpp
index b761dc2f99..6a2fcc600a 100644
--- a/src/runtime/CL/functions/CLReduceMean.cpp
+++ b/src/runtime/CL/functions/CLReduceMean.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2020 Arm Limited.
+ * Copyright (c) 2018-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -32,6 +32,8 @@
#include "src/core/CL/kernels/CLReductionOperationKernel.h"
#include "src/core/helpers/AutoConfiguration.h"
+#include "src/common/utils/Log.h"
+
namespace arm_compute
{
namespace
@@ -113,6 +115,8 @@ void CLReduceMean::configure(const CLCompileContext &compile_context, ICLTensor
{
// Perform validate step
ARM_COMPUTE_ERROR_THROW_ON(CLReduceMean::validate(input->info(), reduction_axis, keep_dims, output->info()));
+ ARM_COMPUTE_LOG_PARAMS(input, reduction_axis, keep_dims, output);
+
// Output auto inizialitation if not yet initialized
const TensorShape output_shape = arm_compute::misc::shape_calculator::calculate_reduce_mean_shape(input->info(), reduction_axis, keep_dims);
auto_init_if_empty(*output->info(), input->info()->clone()->set_tensor_shape(output_shape));