• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
35