aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLPadLayer.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/CLPadLayer.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/CLPadLayer.cpp')
-rw-r--r--src/runtime/CL/functions/CLPadLayer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/runtime/CL/functions/CLPadLayer.cpp b/src/runtime/CL/functions/CLPadLayer.cpp
index d105c0597c..0ed8f03d64 100644
--- a/src/runtime/CL/functions/CLPadLayer.cpp
+++ b/src/runtime/CL/functions/CLPadLayer.cpp
@@ -24,6 +24,8 @@
#include "arm_compute/runtime/CL/functions/CLPadLayer.h"
#include "src/core/CL/kernels/CLPadLayerKernel.h"
+#include "src/common/utils/Log.h"
+
namespace arm_compute
{
CLPadLayer::CLPadLayer()
@@ -43,6 +45,7 @@ void CLPadLayer::configure(ICLTensor *input, ICLTensor *output, const PaddingLis
void CLPadLayer::configure(const CLCompileContext &compile_context, ICLTensor *input, ICLTensor *output, const PaddingList &padding, PixelValue constant_value, PaddingMode mode)
{
ARM_COMPUTE_ERROR_THROW_ON(validate(input->info(), output->info(), padding, constant_value, mode));
+ ARM_COMPUTE_LOG_PARAMS(input, output, padding, constant_value, mode);
_perform_pad = std::any_of(padding.begin(), padding.end(), [](PaddingInfo info)
{
@@ -87,4 +90,4 @@ void CLPadLayer::run()
_copy.run();
}
}
-} // namespace arm_compute \ No newline at end of file
+} // namespace arm_compute