blob: 826fb1f3dda4b488336487a22ec143eeded87ff9 [file] [log] [blame]
telsoa014fcda012018-03-09 14:13:49 +00001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
David Beckecb56cd2018-09-05 12:52:57 +01003// SPDX-License-Identifier: MIT
telsoa014fcda012018-03-09 14:13:49 +00004//
5
6#pragma once
7
Matthew Benthamd80a7122019-01-08 17:52:37 +00008#include <backendsCommon/Workload.hpp>
9
10#include <arm_compute/core/Error.h>
11#include <arm_compute/runtime/IFunction.h>
telsoa014fcda012018-03-09 14:13:49 +000012
13namespace armnn
14{
telsoa01c577f2c2018-08-31 09:22:23 +010015
16arm_compute::Status NeonAdditionWorkloadValidate(const TensorInfo& input0,
17 const TensorInfo& input1,
18 const TensorInfo& output);
19
Matthew Bentham955258d2018-12-10 10:48:52 +000020class NeonAdditionWorkload : public BaseWorkload<AdditionQueueDescriptor>
telsoa014fcda012018-03-09 14:13:49 +000021{
22public:
Matthew Bentham955258d2018-12-10 10:48:52 +000023 NeonAdditionWorkload(const AdditionQueueDescriptor& descriptor, const WorkloadInfo& info);
telsoa014fcda012018-03-09 14:13:49 +000024 virtual void Execute() const override;
25
26private:
Matthew Benthamd80a7122019-01-08 17:52:37 +000027 std::unique_ptr<arm_compute::IFunction> m_AddLayer;
telsoa014fcda012018-03-09 14:13:49 +000028};
29
30} //namespace armnn
31
32
33