ArmNN
 24.02
ClReverseV2Workload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2023 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/runtime/CL/functions/CLReverse.h>
11 #include <arm_compute/runtime/Tensor.h>
12 #include "arm_compute/runtime/CL/CLTensor.h"
13 
14 namespace armnn
15 {
16 arm_compute::Status ClReverseV2WorkloadValidate(const TensorInfo& input,
17  const TensorInfo& axis,
18  const TensorInfo& output);
19 
20 class ClReverseV2Workload : public BaseWorkload<ReverseV2QueueDescriptor>
21 {
22 public:
24  const WorkloadInfo &info,
25  const arm_compute::CLCompileContext& clCompileContext);
26 
27  void Execute() const override;
28 
29 private:
30  mutable arm_compute::CLReverse m_Layer;
31 };
32 
33 } //namespace armnn
armnn::ClReverseV2Workload::ClReverseV2Workload
ClReverseV2Workload(const ReverseV2QueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
Definition: ClReverseV2Workload.cpp:27
armnn::ClReverseV2Workload
Definition: ClReverseV2Workload.hpp:20
armnn::ReverseV2QueueDescriptor
Definition: WorkloadData.hpp:758
armnn::ClReverseV2Workload::Execute
void Execute() const override
Definition: ClReverseV2Workload.cpp:44
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::ClReverseV2WorkloadValidate
arm_compute::Status ClReverseV2WorkloadValidate(const TensorInfo &input, const TensorInfo &axis, const TensorInfo &output)
Definition: ClReverseV2Workload.cpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::BaseWorkload
Definition: Workload.hpp:33
armnn::Status
Status
Definition: Types.hpp:42
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
ClBaseWorkload.hpp