blob: 5b7d70aea3c3bb851e5ab0b00a29830e18a25c82 [file] [log] [blame]
Teresa Charlin50de4fa2021-05-31 18:47:33 +01001//
2// Copyright © 2021 Arm Ltd and Contributors. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
Teresa Charlin588cbdf2022-01-19 15:55:37 +00008#include "ClBaseWorkload.hpp"
Teresa Charlin50de4fa2021-05-31 18:47:33 +01009
10#include <arm_compute/core/Error.h>
Nikhil Raj77c92e42021-06-16 09:44:06 +010011#include <arm_compute/runtime/CL/functions/CLElementwiseUnaryLayer.h>
Teresa Charlin50de4fa2021-05-31 18:47:33 +010012
13namespace armnn
14{
15
16arm_compute::Status ClSinWorkloadValidate(const TensorInfo& input, const TensorInfo& output);
17
Teresa Charlin588cbdf2022-01-19 15:55:37 +000018class ClSinWorkload : public ClBaseWorkload<ElementwiseUnaryQueueDescriptor>
Teresa Charlin50de4fa2021-05-31 18:47:33 +010019{
20public:
21 ClSinWorkload(const ElementwiseUnaryQueueDescriptor& descriptor,
22 const WorkloadInfo& info,
23 const arm_compute::CLCompileContext& clCompileContext);
24 virtual void Execute() const override;
25
26private:
27 mutable arm_compute::CLSinLayer m_SinLayer;
28};
29
30} // namespace armnn