aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLCropResize.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/CLCropResize.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/CLCropResize.cpp')
-rw-r--r--src/runtime/CL/functions/CLCropResize.cpp5
1 files changed, 4 insertions, 1 deletions
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 <cstddef>
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