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/CLConvolutionLayer.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/runtime/CL/functions/CLConvolutionLayer.cpp') diff --git a/src/runtime/CL/functions/CLConvolutionLayer.cpp b/src/runtime/CL/functions/CLConvolutionLayer.cpp index 1f715d246d..eaca6ee504 100644 --- a/src/runtime/CL/functions/CLConvolutionLayer.cpp +++ b/src/runtime/CL/functions/CLConvolutionLayer.cpp @@ -31,6 +31,8 @@ #include "src/core/CL/ICLKernel.h" #include "src/core/helpers/MemoryHelpers.h" #include "src/gpu/cl/operators/ClConv2d.h" + +#include "src/common/utils/Log.h" #include "support/Cast.h" namespace arm_compute @@ -70,6 +72,7 @@ void CLConvolutionLayer::configure(const CLCompileContext &compile_context, ICLT ARM_COMPUTE_ERROR_ON_NULLPTR(input, weights, output); ARM_COMPUTE_ERROR_THROW_ON(CLConvolutionLayer::validate(input->info(), weights->info(), ((biases != nullptr) ? biases->info() : nullptr), output->info(), conv_info, weights_info, dilation, act_info, enable_fast_math, num_groups)); + ARM_COMPUTE_LOG_PARAMS(input, weights, biases, output, conv_info, weights_info, dilation, act_info, enable_fast_math, num_groups); const Conv2dInfo conv2d_info = Conv2dInfo(conv_info, dilation, act_info, enable_fast_math, num_groups); @@ -176,4 +179,4 @@ void CLConvolutionLayer::prepare() release_temporaries(_impl->aux_mem_req, _impl->workspace); } } -} // namespace arm_compute \ No newline at end of file +} // namespace arm_compute -- cgit v1.2.1