aboutsummaryrefslogtreecommitdiff
path: root/src/gpu/cl/operators/ClPRelu.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/ClPRelu.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/ClPRelu.cpp')
-rw-r--r--src/gpu/cl/operators/ClPRelu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/cl/operators/ClPRelu.cpp b/src/gpu/cl/operators/ClPRelu.cpp
index 05717d5bb7..cf4ebe6083 100644
--- a/src/gpu/cl/operators/ClPRelu.cpp
+++ b/src/gpu/cl/operators/ClPRelu.cpp
@@ -22,8 +22,11 @@
* SOFTWARE.
*/
#include "src/gpu/cl/operators/ClPRelu.h"
+
#include "src/gpu/cl/kernels/ClElementwiseKernel.h"
+#include "src/common/utils/Log.h"
+
namespace arm_compute
{
namespace opencl
@@ -31,6 +34,7 @@ namespace opencl
using KernelType = kernels::ClArithmeticKernel;
void ClPRelu::configure(const CLCompileContext &compile_context, ITensorInfo *input, ITensorInfo *alpha, ITensorInfo *output)
{
+ ARM_COMPUTE_LOG_PARAMS(input, alpha, output);
auto k = std::make_unique<KernelType>();
k->configure(compile_context, ArithmeticOperation::PRELU, input, alpha, (output == nullptr ? input : output));
_kernel = std::move(k);