blob: f27d6cdad0f9b111f807c95101455d60c522adf5 [file] [log] [blame]
Matthew Jacksond5166102019-07-31 14:06:28 +01001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include <backendsCommon/Workload.hpp>
9
Matthew Bentham9b3e7382020-02-05 21:39:55 +000010#include <arm_compute/runtime/CL/functions/CLStackLayer.h>
Matthew Jacksond5166102019-07-31 14:06:28 +010011
12namespace armnn
13{
14arm_compute::Status ClStackWorkloadValidate(const std::vector<const TensorInfo*>& inputs,
15 const TensorInfo& output,
16 const StackDescriptor& descriptor);
17
18class ClStackWorkload : public BaseWorkload<StackQueueDescriptor>
19{
20public:
21 ClStackWorkload(const StackQueueDescriptor& descriptor, const WorkloadInfo& info);
22
23 void Execute() const override;
24
25private:
26 mutable std::unique_ptr<arm_compute::CLStackLayer> m_Layer;
27};
28
29} //namespace armnn