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.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/runtime/CL/functions/CLActivationLayer.cpp b/src/runtime/CL/functions/CLActivationLayer.cpp
index 0b29fe1ced..9882145741 100644
--- a/src/runtime/CL/functions/CLActivationLayer.cpp
+++ b/src/runtime/CL/functions/CLActivationLayer.cpp
@@ -37,9 +37,7 @@ CLActivationLayer::CLActivationLayer(CLRuntimeContext *ctx)
void CLActivationLayer::configure(ICLTensor *input, ICLTensor *output, ActivationLayerInfo act_info)
{
- auto core_ctx = _ctx ? _ctx->core_runtime_context() : /* Legacy */ nullptr;
-
- auto k = arm_compute::support::cpp14::make_unique<CLActivationLayerKernel>(core_ctx);
+ auto k = arm_compute::support::cpp14::make_unique<CLActivationLayerKernel>();
k->configure(input, output, act_info);
_kernel = std::move(k);
}