blob: 9288d4427e342a102fad043e9b41333faefc0cb0 [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
8#include <backends/Workload.hpp>
telsoa01c577f2c2018-08-31 09:22:23 +01009#include <backends/NeonWorkloadUtils.hpp>
telsoa014fcda012018-03-09 14:13:49 +000010
11namespace armnn
12{
13
telsoa01c577f2c2018-08-31 09:22:23 +010014// Base class template providing an implementation of the Splitter layer common to all data types.
15template <armnn::DataType... DataTypes>
16class NeonBaseSplitterWorkload : public TypedWorkload<SplitterQueueDescriptor, DataTypes...>
telsoa014fcda012018-03-09 14:13:49 +000017{
18public:
telsoa01c577f2c2018-08-31 09:22:23 +010019 using TypedWorkload<SplitterQueueDescriptor, DataTypes...>::TypedWorkload;
telsoa014fcda012018-03-09 14:13:49 +000020
21 virtual void Execute() const override
22 {
telsoa01c577f2c2018-08-31 09:22:23 +010023 // With subtensors, splitter is a no-op.
telsoa014fcda012018-03-09 14:13:49 +000024 }
25};
26
27} //namespace armnn