aboutsummaryrefslogtreecommitdiff
path: root/src/gpu/cl/operators/ClSoftmax.cpp
diff options
context:
space:
mode:
authorramelg01 <ramy.elgammal@arm.com>2021-09-22 10:48:25 +0100
committerramy.elgammal <ramy.elgammal@arm.com>2021-09-28 21:52:49 +0000
commit2e53f17f4f3c9179455c05d49a47a236067e00c0 (patch)
treebdd109231d87b82266917011db5fec769e1b158c /src/gpu/cl/operators/ClSoftmax.cpp
parenta71711008dad9a786a66dcd734b19cb102d65ec5 (diff)
downloadComputeLibrary-2e53f17f4f3c9179455c05d49a47a236067e00c0.tar.gz
Provide logging for configure functions in all gpu operators
Partially Resolves: COMPMID-4718 Signed-off-by: Ramy Elgammal <ramy.elgammal@arm.com> Change-Id: I3d80e732fc957114ec84ef8350dbf12eeae23054 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6301 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Freddie Liardet <frederick.liardet@arm.com> Reviewed-by: Jakub Jan Sujak <jakub.sujak@arm.com> Reviewed-by: Giorgio Arena <giorgio.arena@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/gpu/cl/operators/ClSoftmax.cpp')
-rw-r--r--src/gpu/cl/operators/ClSoftmax.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/cl/operators/ClSoftmax.cpp b/src/gpu/cl/operators/ClSoftmax.cpp
index 6b728f5354..03809553a3 100644
--- a/src/gpu/cl/operators/ClSoftmax.cpp
+++ b/src/gpu/cl/operators/ClSoftmax.cpp
@@ -30,6 +30,8 @@
#include "src/gpu/cl/utils/ClAuxTensorHandler.h"
#include "support/Cast.h"
+#include "src/common/utils/Log.h"
+
using namespace arm_compute::experimental;
namespace arm_compute
@@ -53,6 +55,7 @@ ClSoftmax::ClSoftmax()
void ClSoftmax::configure(const CLCompileContext &compile_context, const ITensorInfo &src, ITensorInfo &dst, const SoftmaxKernelInfo &info)
{
ARM_COMPUTE_ERROR_THROW_ON(validate(src, dst, info));
+ ARM_COMPUTE_LOG_PARAMS(src, dst, info);
const size_t actual_axis = static_cast<size_t>(wrap_around(info.axis, static_cast<int32_t>(src.num_dimensions())));