Nattapat Chaimanowong | 55b1cda | 2018-10-10 14:51:27 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
Aron Virginas-Tar | c9cc804 | 2018-11-01 16:15:57 +0000 | [diff] [blame] | 8 | #include <backendsCommon/Workload.hpp> |
Nattapat Chaimanowong | 55b1cda | 2018-10-10 14:51:27 +0100 | [diff] [blame] | 9 | |
| 10 | #include <arm_compute/runtime/CL/CLFunctions.h> |
| 11 | |
| 12 | namespace armnn |
| 13 | { |
| 14 | class ClConstantWorkload : public BaseWorkload<ConstantQueueDescriptor> |
| 15 | { |
| 16 | public: |
| 17 | ClConstantWorkload(const ConstantQueueDescriptor& descriptor, const WorkloadInfo& info); |
| 18 | |
| 19 | void Execute() const override; |
| 20 | |
| 21 | private: |
| 22 | mutable bool m_RanOnce; |
| 23 | }; |
| 24 | |
| 25 | } //namespace armnn |