2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
8 #include <backendsCommon/Workload.hpp>
10 #include <armnn/TypesUtils.hpp>
15 template <armnn::DataType DataType>
16 class RefPermuteWorkload : public TypedWorkload<PermuteQueueDescriptor, DataType>
19 static const std::string& GetName()
21 static const std::string name = std::string("RefPermute") + GetDataTypeName(DataType) + "Workload";
25 using TypedWorkload<PermuteQueueDescriptor, DataType>::m_Data;
26 using TypedWorkload<PermuteQueueDescriptor, DataType>::TypedWorkload;
27 void Execute() const override;
30 using RefPermuteFloat16Workload = RefPermuteWorkload<DataType::Float16>;
31 using RefPermuteFloat32Workload = RefPermuteWorkload<DataType::Float32>;
32 using RefPermuteUint8Workload = RefPermuteWorkload<DataType::QuantisedAsymm8>;