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/CLCropResize.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/runtime/CL/functions/CLCropResize.cpp') diff --git a/src/runtime/CL/functions/CLCropResize.cpp b/src/runtime/CL/functions/CLCropResize.cpp index 77c44d539b..d8fc38d99e 100644 --- a/src/runtime/CL/functions/CLCropResize.cpp +++ b/src/runtime/CL/functions/CLCropResize.cpp @@ -29,6 +29,8 @@ #include "src/core/helpers/AutoConfiguration.h" #include "src/core/helpers/WindowHelpers.h" +#include "src/common/utils/Log.h" + #include namespace arm_compute @@ -92,6 +94,7 @@ void CLCropResize::configure(const CLCompileContext &compile_context, const ICLT { ARM_COMPUTE_ERROR_ON_NULLPTR(input, output, boxes, box_ind); ARM_COMPUTE_ERROR_THROW_ON(CLCropResize::validate(input->info(), boxes->info(), box_ind->info(), output->info(), crop_size, method, extrapolation_value)); + ARM_COMPUTE_LOG_PARAMS(input, boxes, box_ind, output, crop_size, method, extrapolation_value); TensorShape output_shape = TensorShape(input->info()->tensor_shape()[0], crop_size.x, crop_size.y, boxes->info()->tensor_shape()[1]); auto_init_if_empty(*output->info(), output_shape, 1, DataType::F32); @@ -291,4 +294,4 @@ void CLCropResize::run() } CLScheduler::get().sync(); } -} // namespace arm_compute \ No newline at end of file +} // namespace arm_compute -- cgit v1.2.1