blob: 9eb55c138f72ad9a520bef9251aa8d0f4ca0098c [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 ClLogWorkloadValidate(const TensorInfo& input, const TensorInfo& output);
17
18class ClLogWorkload : public BaseWorkload<ElementwiseUnaryQueueDescriptor>
19{
20public:
21 ClLogWorkload(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::CLLogLayer m_LogLayer;
28};
29
30} // namespace armnn