1 // 2 // Copyright © 2020 Arm Ltd and Contributors. All rights reserved. 3 // SPDX-License-Identifier: MIT 4 // 5 6 #pragma once 7 8 #include <armnn/backends/WorkloadData.hpp> 9 #include "ClBaseWorkload.hpp" 10 #include <arm_compute/runtime/CL/functions/CLFill.h> 11 12 namespace armnn { 13 14 class ClFillWorkload : public ClBaseWorkload<FillQueueDescriptor> 15 { 16 public: 17 ClFillWorkload(const FillQueueDescriptor& descriptor, 18 const WorkloadInfo& info, 19 const arm_compute::CLCompileContext& clCompileContext); 20 void Execute() const override; 21 22 private: 23 mutable arm_compute::CLFill m_Layer; 24 }; 25 26 } //namespace armnn 27