blob: e5b7b576292513cadbe25a6bd8283184aae95959 [file] [log] [blame]
Teresa Charlinf540eb82020-04-10 19:24:55 +01001//
Teresa Charlin52664732020-06-29 16:27:03 +01002// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
Teresa Charlinf540eb82020-04-10 19:24:55 +01003// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include <backendsCommon/Workload.hpp>
9
10#include <arm_compute/runtime/NEON/functions/NEGather.h>
11
12namespace armnn
13{
14arm_compute::Status NeonGatherWorkloadValidate(const TensorInfo& input,
15 const TensorInfo& indices,
Teresa Charlin52664732020-06-29 16:27:03 +010016 const TensorInfo& output,
17 const GatherDescriptor& descriptor);
Teresa Charlinf540eb82020-04-10 19:24:55 +010018
19class NeonGatherWorkload : public BaseWorkload<GatherQueueDescriptor>
20{
21public:
22 NeonGatherWorkload(const GatherQueueDescriptor& descriptor, const WorkloadInfo& info);
23 virtual void Execute() const override;
24
25private:
26 mutable arm_compute::NEGather m_Layer;
27};
28
29} //namespace armnn