From 12833d063259cb7809a97a4262f821efdc40554f Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Thu, 25 Jul 2019 13:31:10 +0100 Subject: COMPMID-2204: RuntimeContext interface for NEON functions. This patch creates the interfaces for the runtime context for NEON. Only the Neon backend implements the context which currently only holds an instance of the scheduler. The NEActivationLayer function has been updated to use the new context interface and the corresponding validation tests ported. Change-Id: I32e7e6aa888796dcbbfc5039b1e7f784a24f47da Signed-off-by: Pablo Tello Reviewed-on: https://review.mlplatform.org/c/1851 Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio --- src/runtime/GLES_COMPUTE/functions/GCActivationLayer.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/runtime/GLES_COMPUTE') diff --git a/src/runtime/GLES_COMPUTE/functions/GCActivationLayer.cpp b/src/runtime/GLES_COMPUTE/functions/GCActivationLayer.cpp index 8686416616..207e8cef56 100644 --- a/src/runtime/GLES_COMPUTE/functions/GCActivationLayer.cpp +++ b/src/runtime/GLES_COMPUTE/functions/GCActivationLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -27,7 +27,12 @@ #include "arm_compute/core/Helpers.h" #include "support/ToolchainSupport.h" -using namespace arm_compute; +namespace arm_compute +{ +GCActivationLayer::GCActivationLayer(void *ctx) +{ + ARM_COMPUTE_UNUSED(ctx); +} void GCActivationLayer::configure(IGCTensor *input, IGCTensor *output, ActivationLayerInfo act_info) { @@ -35,3 +40,4 @@ void GCActivationLayer::configure(IGCTensor *input, IGCTensor *output, Activatio k->configure(input, output, act_info); _kernel = std::move(k); } +} // namespace arm_compute -- cgit v1.2.1