IVGCVSW-1946: Remove armnn/src from the include paths
[platform/upstream/armnn.git] / src / backends / cl / workloads / ClSoftmaxFloatWorkload.hpp
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5
6 #pragma once
7
8 #include <backendsCommon/Workload.hpp>
9
10 #include <arm_compute/runtime/CL/CLFunctions.h>
11 #include <arm_compute/runtime/MemoryManagerOnDemand.h>
12
13 #include <memory>
14
15 namespace armnn
16 {
17
18 class ClSoftmaxFloatWorkload : public FloatWorkload<SoftmaxQueueDescriptor>
19 {
20 public:
21     ClSoftmaxFloatWorkload(const SoftmaxQueueDescriptor& descriptor, const WorkloadInfo& info,
22                              std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager);
23     void Execute() const override;
24
25 private:
26     mutable arm_compute::CLSoftmaxLayer m_SoftmaxLayer;
27 };
28
29 } //namespace armnn
30