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.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/runtime/CL/functions/CLSelect.cpp b/src/runtime/CL/functions/CLSelect.cpp
index 90c368e9b8..7187010448 100644
--- a/src/runtime/CL/functions/CLSelect.cpp
+++ b/src/runtime/CL/functions/CLSelect.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018 ARM Limited.
+ * Copyright (c) 2018-2020 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -33,8 +33,13 @@ namespace arm_compute
{
void CLSelect::configure(const ICLTensor *c, const ICLTensor *x, const ICLTensor *y, ICLTensor *output)
{
+ 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)
+{
auto k = arm_compute::support::cpp14::make_unique<CLSelectKernel>();
- k->configure(c, x, y, output);
+ k->configure(compile_context, c, x, y, output);
_kernel = std::move(k);
}