blob: 8675ab3476f70569d9b20d11294fc4edae2f5de6 [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
8#include <backendsCommon/Workload.hpp>
9
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
18class ClSinWorkload : public BaseWorkload<ElementwiseUnaryQueueDescriptor>
19{
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