blob: a1231f92d3f311f73f5e7e3e0a744d6cd86f0459 [file] [log] [blame]
Nattapat Chaimanowongcfdcadf2018-12-06 11:54:33 +00001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5#pragma once
6
7#include <backendsCommon/Workload.hpp>
8
9#include <armnn/TypesUtils.hpp>
10
11namespace armnn
12{
13
14template <armnn::DataType DataType>
15class RefDebugWorkload : public TypedWorkload<DebugQueueDescriptor, DataType>
16{
17public:
18 static const std::string& GetName()
19 {
20 static const std::string name = std::string("RefDebug") + GetDataTypeName(DataType) + "Workload";
21 return name;
22 }
23
24 using TypedWorkload<DebugQueueDescriptor, DataType>::m_Data;
25 using TypedWorkload<DebugQueueDescriptor, DataType>::TypedWorkload;
26
27 void Execute() const override;
28};
29
30using RefDebugFloat32Workload = RefDebugWorkload<DataType::Float32>;
31using RefDebugUint8Workload = RefDebugWorkload<DataType::QuantisedAsymm8>;
32
33} //namespace armnn