Teresa Charlin | 79a06a5 | 2023-07-13 17:16:45 +0100 | [diff] [blame] | 1 | // |
Mike Kelly | 7cbe781 | 2023-07-25 17:37:33 +0100 | [diff] [blame] | 2 | // Copyright © 2020-2023 Arm Ltd and Contributors. All rights reserved. |
Teresa Charlin | 79a06a5 | 2023-07-13 17:16:45 +0100 | [diff] [blame] | 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include "RefBaseWorkload.hpp" |
| 9 | #include <armnn/backends/WorkloadData.hpp> |
| 10 | |
| 11 | #include "Tile.hpp" |
| 12 | |
| 13 | namespace armnn |
| 14 | { |
| 15 | |
| 16 | class RefTileWorkload : public RefBaseWorkload<TileQueueDescriptor> |
| 17 | { |
| 18 | public: |
| 19 | explicit RefTileWorkload(const TileQueueDescriptor& descriptor, |
| 20 | const WorkloadInfo& info); |
| 21 | |
| 22 | void Execute() const override; |
| 23 | void ExecuteAsync(ExecutionData& executionData) override; |
| 24 | |
| 25 | private: |
| 26 | void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const; |
| 27 | |
| 28 | }; |
| 29 | |
| 30 | } // namespace armnn |