blob: a65ad4ec4c545aba243d30d6e4df4c03e9466e5d [file] [log] [blame]
telsoa014fcda012018-03-09 14:13:49 +00001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
David Beckecb56cd2018-09-05 12:52:57 +01003// SPDX-License-Identifier: MIT
telsoa014fcda012018-03-09 14:13:49 +00004//
5
6#pragma once
7
Matthew Benthamd80a7122019-01-08 17:52:37 +00008#include <backendsCommon/Workload.hpp>
9
10#include <arm_compute/core/Error.h>
11#include <arm_compute/runtime/IFunction.h>
12
13#include <memory>
telsoa014fcda012018-03-09 14:13:49 +000014
15namespace armnn
16{
telsoa01c577f2c2018-08-31 09:22:23 +010017arm_compute::Status NeonMultiplicationWorkloadValidate(const TensorInfo& input0,
18 const TensorInfo& input1,
19 const TensorInfo& output);
telsoa014fcda012018-03-09 14:13:49 +000020
arovir019e53a352018-08-31 15:26:35 +010021class NeonMultiplicationFloatWorkload : public FloatWorkload<MultiplicationQueueDescriptor>
telsoa014fcda012018-03-09 14:13:49 +000022{
23public:
arovir019e53a352018-08-31 15:26:35 +010024 NeonMultiplicationFloatWorkload(const MultiplicationQueueDescriptor& descriptor, const WorkloadInfo& info);
telsoa014fcda012018-03-09 14:13:49 +000025 virtual void Execute() const override;
26
27private:
Matthew Benthamd80a7122019-01-08 17:52:37 +000028 std::unique_ptr<arm_compute::IFunction> m_PixelWiseMultiplication;
telsoa014fcda012018-03-09 14:13:49 +000029};
30
31} //namespace armnn
32
33
34
35