ArmNN
 24.08
ClConcatWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "ClBaseWorkload.hpp"
9 
10 #include <arm_compute/core/Error.h>
11 #include <arm_compute/runtime/IFunction.h>
12 #include <arm_compute/runtime/CL/functions/CLConcatenateLayer.h>
13 
14 namespace armnn
15 {
16 
17 arm_compute::Status ClConcatWorkloadValidate(const std::vector<const TensorInfo*>& inputs,
18  const TensorInfo& output,
19  const OriginsDescriptor& descriptor);
20 
21 class ClConcatWorkload : public ClBaseWorkload<ConcatQueueDescriptor>
22 {
23 public:
24  ClConcatWorkload(const ConcatQueueDescriptor& descriptor,
25  const WorkloadInfo& info,
26  const arm_compute::CLCompileContext& clCompileContext);
27 
28  void Execute() const override;
29 
30 private:
31  mutable std::unique_ptr<arm_compute::IFunction> m_Layer;
32 };
33 
34 } //namespace armnn
armnn::ConcatQueueDescriptor
Definition: WorkloadData.hpp:130
armnn::ClBaseWorkload
Definition: ClBaseWorkload.hpp:13
armnn::ClConcatWorkload::Execute
void Execute() const override
Definition: ClConcatWorkload.cpp:103
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::ClConcatWorkload::ClConcatWorkload
ClConcatWorkload(const ConcatQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
Definition: ClConcatWorkload.cpp:48
armnn::BoostLogSeverityMapping::info
@ info
armnn::ClConcatWorkload
Definition: ClConcatWorkload.hpp:21
armnn::Status
Status
Definition: Types.hpp:42
armnn::ClConcatWorkloadValidate
arm_compute::Status ClConcatWorkloadValidate(const std::vector< const TensorInfo * > &inputs, const TensorInfo &output, const OriginsDescriptor &descriptor)
Definition: ClConcatWorkload.cpp:27
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
ClBaseWorkload.hpp