aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLPermute.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/CL/functions/CLPermute.cpp')
-rw-r--r--src/runtime/CL/functions/CLPermute.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/runtime/CL/functions/CLPermute.cpp b/src/runtime/CL/functions/CLPermute.cpp
index 6b88ef86ac..e6323ce504 100644
--- a/src/runtime/CL/functions/CLPermute.cpp
+++ b/src/runtime/CL/functions/CLPermute.cpp
@@ -32,8 +32,13 @@ namespace arm_compute
{
void CLPermute::configure(const ICLTensor *input, ICLTensor *output, const PermutationVector &perm)
{
+ configure(CLKernelLibrary::get().get_compile_context(), input, output, perm);
+}
+
+void CLPermute::configure(const CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *output, const PermutationVector &perm)
+{
auto k = arm_compute::support::cpp14::make_unique<CLPermuteKernel>();
- k->configure(input, output, perm);
+ k->configure(compile_context, input, output, perm);
_kernel = std::move(k);
}