David Monahan | bd73808 | 2023-12-08 12:50:02 +0000 | [diff] [blame^] | 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: |
| 20 | GpuFsaConstantWorkload(const ConstantQueueDescriptor& descriptor, |
| 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 |