diff options
author | ramelg01 <ramy.elgammal@arm.com> | 2021-09-12 23:07:47 +0100 |
---|---|---|
committer | ramy.elgammal <ramy.elgammal@arm.com> | 2021-09-16 13:33:41 +0000 |
commit | 3ae3d88c1a305ef4fc0beed8fda3cfc39ddb2ae8 (patch) | |
tree | 3bab18d64b773a76766844a7e34819443fd7ee8d /src/cpu/operators/CpuPool2d.cpp | |
parent | 2ec6163cdbd274ec9207a7b4ee6e144f93440b4f (diff) | |
download | ComputeLibrary-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/CpuPool2d.cpp')
-rw-r--r-- | src/cpu/operators/CpuPool2d.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/operators/CpuPool2d.cpp b/src/cpu/operators/CpuPool2d.cpp index 6059c75dd2..a4ac871d48 100644 --- a/src/cpu/operators/CpuPool2d.cpp +++ b/src/cpu/operators/CpuPool2d.cpp @@ -26,6 +26,7 @@ #include "arm_compute/core/ITensor.h" #include "arm_compute/core/TensorInfo.h" #include "arm_compute/runtime/NEON/NEScheduler.h" +#include "src/common/utils/Log.h" #include "src/core/NEON/kernels/NEFillBorderKernel.h" #include "src/cpu/kernels/CpuPool2dKernel.h" #include "src/cpu/kernels/internal/CpuPool2dAssemblyWrapperKernel.h" @@ -50,6 +51,8 @@ CpuPool2d::~CpuPool2d() = default; void CpuPool2d::configure(ITensorInfo *src, ITensorInfo *dst, const PoolingLayerInfo &pool_info, ITensorInfo *indices) { + ARM_COMPUTE_LOG_PARAMS(src, dst, pool_info, indices); + // Check if we can run assembly kernels. Currently, indices are not supported by those kernels const bool run_optimised = bool(kernels::CpuPool2dAssemblyWrapperKernel::validate(src, dst, pool_info)) && (indices == nullptr); |