ArmNN
 24.02
GpuFsaConstantWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2024 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "GpuFsaBaseWorkload.hpp"
9 
10 #include <arm_compute/core/Error.h>
11 #include <arm_compute/core/CL/CLCompileContext.h>
12 
13 namespace armnn
14 {
15  arm_compute::Status GpuFsaConstantWorkloadValidate(const TensorInfo& output);
16 
17  class GpuFsaConstantWorkload : public GpuFsaBaseWorkload<ConstantQueueDescriptor>
18  {
19  public:
21  const WorkloadInfo& info,
22  const arm_compute::CLCompileContext& clCompileContext);
23 
24  void Execute() const override;
25 
26  private:
27  mutable bool m_RanOnce;
28  };
29 
30 } //namespace armnn
armnn::ConstantQueueDescriptor
Definition: WorkloadData.hpp:368
armnn::GpuFsaConstantWorkload::Execute
void Execute() const override
Definition: GpuFsaConstantWorkload.cpp:51
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::GpuFsaBaseWorkload
Definition: GpuFsaBaseWorkload.hpp:14
armnn::BoostLogSeverityMapping::info
@ info
armnn::GpuFsaConstantWorkload::GpuFsaConstantWorkload
GpuFsaConstantWorkload(const ConstantQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
Definition: GpuFsaConstantWorkload.cpp:43
armnn::Status
Status
Definition: Types.hpp:42
GpuFsaBaseWorkload.hpp
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::GpuFsaConstantWorkloadValidate
arm_compute::Status GpuFsaConstantWorkloadValidate(const TensorInfo &output)
Definition: GpuFsaConstantWorkload.cpp:17
armnn::GpuFsaConstantWorkload
Definition: GpuFsaConstantWorkload.hpp:17