aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLSelect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/CL/functions/CLSelect.cpp')
-rw-r--r--src/runtime/CL/functions/CLSelect.cpp15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/runtime/CL/functions/CLSelect.cpp b/src/runtime/CL/functions/CLSelect.cpp
index 7187010448..b4897d9e62 100644
--- a/src/runtime/CL/functions/CLSelect.cpp
+++ b/src/runtime/CL/functions/CLSelect.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2020 ARM Limited.
+ * Copyright (c) 2018-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -23,10 +23,12 @@
*/
#include "arm_compute/runtime/CL/functions/CLSelect.h"
-#include "arm_compute/core/CL/kernels/CLSelectKernel.h"
#include "arm_compute/core/Types.h"
#include "arm_compute/runtime/CL/CLScheduler.h"
+#include "src/common/utils/Log.h"
+#include "src/core/CL/kernels/CLSelectKernel.h"
+
using namespace arm_compute;
namespace arm_compute
@@ -36,9 +38,14 @@ void CLSelect::configure(const ICLTensor *c, const ICLTensor *x, const ICLTensor
configure(CLKernelLibrary::get().get_compile_context(), c, x, y, output);
}
-void CLSelect::configure(const CLCompileContext &compile_context, const ICLTensor *c, const ICLTensor *x, const ICLTensor *y, ICLTensor *output)
+void CLSelect::configure(const CLCompileContext &compile_context,
+ const ICLTensor *c,
+ const ICLTensor *x,
+ const ICLTensor *y,
+ ICLTensor *output)
{
- auto k = arm_compute::support::cpp14::make_unique<CLSelectKernel>();
+ ARM_COMPUTE_LOG_PARAMS(c, x, y, output);
+ auto k = std::make_unique<CLSelectKernel>();
k->configure(compile_context, c, x, y, output);
_kernel = std::move(k);
}