blob: c70361aa261ac7dafb5b23312e9e4059ad4ee766 [file] [log] [blame]
Simon Obute51f67772021-09-03 15:50:13 +01001//
Matthew Sloyan2d213a72022-06-30 17:13:04 +01002// Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
Simon Obute51f67772021-09-03 15:50:13 +01003// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
Finn Williams73c547d2022-02-15 20:47:34 +00008#include "RefBaseWorkload.hpp"
Colm Donelan0c479742021-12-10 12:43:54 +00009#include <armnn/backends/WorkloadData.hpp>
Simon Obute51f67772021-09-03 15:50:13 +010010
11namespace armnn
12{
13
Finn Williams73c547d2022-02-15 20:47:34 +000014class RefChannelShuffleWorkload : public RefBaseWorkload<ChannelShuffleQueueDescriptor>
Simon Obute51f67772021-09-03 15:50:13 +010015{
16public:
Finn Williams73c547d2022-02-15 20:47:34 +000017 using RefBaseWorkload<ChannelShuffleQueueDescriptor>::RefBaseWorkload;
Simon Obute51f67772021-09-03 15:50:13 +010018 void Execute() const override;
Matthew Sloyan2d213a72022-06-30 17:13:04 +010019 void ExecuteAsync(ExecutionData& executionData) override;
Simon Obute51f67772021-09-03 15:50:13 +010020
21private:
22 void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const;
23};
24
25} // namespace armnn