From 6d891575e0c4432e170db7746037934299a0f2ca Mon Sep 17 00:00:00 2001 From: ramelg01 Date: Wed, 29 Sep 2021 10:05:09 +0100 Subject: Provide logging for configure functions in all CL functions Partially Resolves: COMPMID-4718 Signed-off-by: Ramy Elgammal Change-Id: I59943081de0f3105bdbfc78af53971a0de8cd53e Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6332 Reviewed-by: Pablo Marquez Tello Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins --- src/runtime/CL/functions/CLSpaceToBatchLayer.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/runtime/CL/functions/CLSpaceToBatchLayer.cpp') diff --git a/src/runtime/CL/functions/CLSpaceToBatchLayer.cpp b/src/runtime/CL/functions/CLSpaceToBatchLayer.cpp index 6180f4de07..3b7083400b 100644 --- a/src/runtime/CL/functions/CLSpaceToBatchLayer.cpp +++ b/src/runtime/CL/functions/CLSpaceToBatchLayer.cpp @@ -31,6 +31,8 @@ #include "arm_compute/runtime/CL/CLScheduler.h" #include "src/core/CL/kernels/CLSpaceToBatchLayerKernel.h" +#include "src/common/utils/Log.h" + namespace arm_compute { CLSpaceToBatchLayer::CLSpaceToBatchLayer() @@ -50,6 +52,7 @@ void CLSpaceToBatchLayer::configure(const ICLTensor *input, const ICLTensor *blo void CLSpaceToBatchLayer::configure(const CLCompileContext &compile_context, const ICLTensor *input, const ICLTensor *block_shape, const ICLTensor *paddings, ICLTensor *output) { ARM_COMPUTE_ERROR_ON_NULLPTR(input, block_shape, paddings, output); + ARM_COMPUTE_LOG_PARAMS(input, block_shape, paddings, output); if(input->info()->tensor_shape().total_size() != output->info()->tensor_shape().total_size()) { @@ -68,6 +71,7 @@ void CLSpaceToBatchLayer::configure(const CLCompileContext &compile_context, con const Size2D &padding_right, ICLTensor *output) { ARM_COMPUTE_ERROR_ON_NULLPTR(input, output); + ARM_COMPUTE_LOG_PARAMS(input, block_shape_x, block_shape_y, padding_left, padding_right, output); if(input->info()->tensor_shape().total_size() != output->info()->tensor_shape().total_size()) { -- cgit v1.2.1