blob: 51906d21695a2bcc3b0dab901fae8b91869f71a6 [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
Teresa Charlin588cbdf2022-01-19 15:55:37 +00008#include "NeonBaseWorkload.hpp"
Teresa Charlinf540eb82020-04-10 19:24:55 +01009
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
Teresa Charlin588cbdf2022-01-19 15:55:37 +000019class NeonGatherWorkload : public NeonBaseWorkload<GatherQueueDescriptor>
Teresa Charlinf540eb82020-04-10 19:24:55 +010020{
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