aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/operators/CpuMul.cpp
diff options
context:
space:
mode:
authorramelg01 <ramy.elgammal@arm.com>2021-09-12 23:07:47 +0100
committerramy.elgammal <ramy.elgammal@arm.com>2021-09-16 13:33:41 +0000
commit3ae3d88c1a305ef4fc0beed8fda3cfc39ddb2ae8 (patch)
tree3bab18d64b773a76766844a7e34819443fd7ee8d /src/cpu/operators/CpuMul.cpp
parent2ec6163cdbd274ec9207a7b4ee6e144f93440b4f (diff)
downloadComputeLibrary-3ae3d88c1a305ef4fc0beed8fda3cfc39ddb2ae8.tar.gz
Provide logging for configure functions in all cpu operators
Partially Resolves: COMPMID-4718 Signed-off-by: Ramy Elgammal <ramy.elgammal@arm.com> Change-Id: I02eabdd6bce8cd561ab2fdfd644a686a3762b817 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6253 Reviewed-by: Giorgio Arena <giorgio.arena@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/cpu/operators/CpuMul.cpp')
-rw-r--r--src/cpu/operators/CpuMul.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/operators/CpuMul.cpp b/src/cpu/operators/CpuMul.cpp
index 06a68d64a8..9cb93b7784 100644
--- a/src/cpu/operators/CpuMul.cpp
+++ b/src/cpu/operators/CpuMul.cpp
@@ -26,6 +26,7 @@
#include "arm_compute/core/TensorInfo.h"
#include "arm_compute/core/Validate.h"
#include "arm_compute/runtime/NEON/NEScheduler.h"
+#include "src/common/utils/Log.h"
#include "src/cpu/kernels/CpuMulKernel.h"
namespace arm_compute
@@ -43,6 +44,8 @@ void CpuMul::configure(ITensorInfo *src1, ITensorInfo *src2, ITensorInfo *dst, f
const ActivationLayerInfo &act_info)
{
ARM_COMPUTE_UNUSED(act_info);
+ ARM_COMPUTE_LOG_PARAMS(src1, src2, dst, scale, overflow_policy, rounding_policy, act_info);
+
auto k = std::make_unique<kernels::CpuMulKernel>();
k->configure(src1, src2, dst, scale, overflow_policy, rounding_policy);
_kernel = std::move(k);
@@ -63,6 +66,8 @@ Status CpuComplexMul::validate(const ITensorInfo *src1, const ITensorInfo *src2,
void CpuComplexMul::configure(ITensorInfo *src1, ITensorInfo *src2, ITensorInfo *dst, const ActivationLayerInfo &act_info)
{
ARM_COMPUTE_UNUSED(act_info);
+ ARM_COMPUTE_LOG_PARAMS(src1, src2, dst, act_info);
+
auto k = std::make_unique<kernels::CpuComplexMulKernel>();
k->configure(src1, src2, dst);
_kernel = std::move(k);