aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl/workloads/ClFillWorkload.hpp
blob: 8539501f17a478e157eb7e7ed495f5359473b3ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include <backendsCommon/WorkloadData.hpp>
#include <backendsCommon/Workload.hpp>
#include <arm_compute/runtime/CL/functions/CLFill.h>

namespace armnn {

class ClFillWorkload : public BaseWorkload<FillQueueDescriptor>
{
public:
    ClFillWorkload(const FillQueueDescriptor& descriptor,
                   const WorkloadInfo& info,
                   const arm_compute::CLCompileContext& clCompileContext);
    void Execute() const override;

private:
    mutable arm_compute::CLFill m_Layer;
};

} //namespace armnn