Sadik Armagan | 66aecb0 | 2020-06-24 11:42:20 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2020 Arm Ltd and Contributors. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <backendsCommon/WorkloadData.hpp> |
| 9 | #include <backendsCommon/Workload.hpp> |
| 10 | #include <arm_compute/runtime/CL/functions/CLFill.h> |
| 11 | |
| 12 | namespace armnn { |
| 13 | |
| 14 | class ClFillWorkload : public BaseWorkload<FillQueueDescriptor> |
| 15 | { |
| 16 | public: |
Sadik Armagan | e944475 | 2020-12-02 11:28:58 +0000 | [diff] [blame] | 17 | ClFillWorkload(const FillQueueDescriptor& descriptor, |
| 18 | const WorkloadInfo& info, |
| 19 | const arm_compute::CLCompileContext& clCompileContext); |
Sadik Armagan | 66aecb0 | 2020-06-24 11:42:20 +0100 | [diff] [blame] | 20 | void Execute() const override; |
| 21 | |
| 22 | private: |
| 23 | mutable arm_compute::CLFill m_Layer; |
| 24 | }; |
| 25 | |
| 26 | } //namespace armnn |