aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLActivationLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/CL/functions/CLActivationLayer.cpp')
-rw-r--r--src/runtime/CL/functions/CLActivationLayer.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/runtime/CL/functions/CLActivationLayer.cpp b/src/runtime/CL/functions/CLActivationLayer.cpp
index 9882145741..989603a9df 100644
--- a/src/runtime/CL/functions/CLActivationLayer.cpp
+++ b/src/runtime/CL/functions/CLActivationLayer.cpp
@@ -37,8 +37,13 @@ CLActivationLayer::CLActivationLayer(CLRuntimeContext *ctx)
void CLActivationLayer::configure(ICLTensor *input, ICLTensor *output, ActivationLayerInfo act_info)
{
+ configure(CLKernelLibrary::get().get_compile_context(), input, output, act_info);
+}
+
+void CLActivationLayer::configure(const CLCompileContext &compile_context, ICLTensor *input, ICLTensor *output, ActivationLayerInfo act_info)
+{
auto k = arm_compute::support::cpp14::make_unique<CLActivationLayerKernel>();
- k->configure(input, output, act_info);
+ k->configure(compile_context, input, output, act_info);
_kernel = std::move(k);
}