blob: f8ff6f93791d3a66eb6b08c7a1f225210fd63dae [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
David Beckac42efd2018-09-26 17:41:13 +01008#include <backends/Workload.hpp>
Matthew Bentham14e46692018-09-20 15:35:30 +01009
10#include <arm_compute/runtime/CL/CLFunctions.h>
telsoa014fcda012018-03-09 14:13:49 +000011
12namespace armnn
13{
14
telsoa01c577f2c2018-08-31 09:22:23 +010015// Base class template providing an implementation of the Merger layer common to all data types.
16template <armnn::DataType... DataTypes>
17class ClBaseMergerWorkload : public TypedWorkload<MergerQueueDescriptor, DataTypes...>
telsoa014fcda012018-03-09 14:13:49 +000018{
19public:
telsoa01c577f2c2018-08-31 09:22:23 +010020 using TypedWorkload<MergerQueueDescriptor, DataTypes...>::TypedWorkload;
telsoa014fcda012018-03-09 14:13:49 +000021
22 void Execute() const override
23 {
telsoa01c577f2c2018-08-31 09:22:23 +010024 // With subtensors, merger is a no-op.
telsoa014fcda012018-03-09 14:13:49 +000025 }
26};
27
28} //namespace armnn