blob: 603e7f354472057751e8d99d0eb70405e6655eed [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
telsoa01c577f2c2018-08-31 09:22:23 +01008#include <backends/NeonWorkloadUtils.hpp>
telsoa014fcda012018-03-09 14:13:49 +00009#include <backends/Workload.hpp>
10
11namespace armnn
12{
telsoa01c577f2c2018-08-31 09:22:23 +010013// Base class template providing an implementation of the Merger layer common to all data types.
14template <armnn::DataType... DataTypes>
15class NeonBaseMergerWorkload : public TypedWorkload<MergerQueueDescriptor, DataTypes...>
telsoa014fcda012018-03-09 14:13:49 +000016{
17public:
telsoa01c577f2c2018-08-31 09:22:23 +010018 using TypedWorkload<MergerQueueDescriptor, DataTypes...>::TypedWorkload;
telsoa014fcda012018-03-09 14:13:49 +000019
20 virtual void Execute() const override
21 {
telsoa01c577f2c2018-08-31 09:22:23 +010022 // With subtensors, merger is a no-op.
telsoa014fcda012018-03-09 14:13:49 +000023 }
24};
25
26} //namespace armnn