blob: b1b47a506992acb753809ec3df8ea482856bb9da [file] [log] [blame]
Teresa Charlinf540eb82020-04-10 19:24:55 +01001//
2// Copyright © 2020 Arm Ltd. All rights reserved.
3// 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,
16 const TensorInfo& output);
17
18class NeonGatherWorkload : public BaseWorkload<GatherQueueDescriptor>
19{
20public:
21 NeonGatherWorkload(const GatherQueueDescriptor& descriptor, const WorkloadInfo& info);
22 virtual void Execute() const override;
23
24private:
25 mutable arm_compute::NEGather m_Layer;
26};
27
28} //namespace armnn