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