blob: 8675ab3476f70569d9b20d11294fc4edae2f5de6 [file] [log] [blame]
//
// Copyright © 2021 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include <backendsCommon/Workload.hpp>
#include <arm_compute/core/Error.h>
#include <arm_compute/runtime/CL/functions/CLElementwiseUnaryLayer.h>
namespace armnn
{
arm_compute::Status ClSinWorkloadValidate(const TensorInfo& input, const TensorInfo& output);
class ClSinWorkload : public BaseWorkload<ElementwiseUnaryQueueDescriptor>
{
public:
ClSinWorkload(const ElementwiseUnaryQueueDescriptor& descriptor,
const WorkloadInfo& info,
const arm_compute::CLCompileContext& clCompileContext);
virtual void Execute() const override;
private:
mutable arm_compute::CLSinLayer m_SinLayer;
};
} // namespace armnn