aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl/workloads/ClSplitterWorkload.hpp
diff options
context:
space:
mode:
authorMatthew Bentham <Matthew.Bentham@arm.com>2018-10-01 17:22:32 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2018-10-10 16:16:57 +0100
commit29cadb3ff3066d6feb1801a921be326bf5ed8f47 (patch)
treebe402a7460545383e1d5691b734886cae4dcf9af /src/backends/cl/workloads/ClSplitterWorkload.hpp
parent857f3cb52712538a9341796f8b9cb1f76225ab64 (diff)
downloadarmnn-29cadb3ff3066d6feb1801a921be326bf5ed8f47.tar.gz
IVGCVSW-1951 Remove type templating from ClSplitterWorkload
Change-Id: Ib289ed5885e0e22ce6d73d7b3b3b103691187a34
Diffstat (limited to 'src/backends/cl/workloads/ClSplitterWorkload.hpp')
-rw-r--r--src/backends/cl/workloads/ClSplitterWorkload.hpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/backends/cl/workloads/ClSplitterWorkload.hpp b/src/backends/cl/workloads/ClSplitterWorkload.hpp
new file mode 100644
index 0000000000..ffc02c047f
--- /dev/null
+++ b/src/backends/cl/workloads/ClSplitterWorkload.hpp
@@ -0,0 +1,25 @@
+//
+// Copyright © 2017 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#pragma once
+
+#include <backends/Workload.hpp>
+
+namespace armnn
+{
+
+// Base class template providing an implementation of the Splitter layer common to all data types.
+class ClSplitterWorkload : public BaseWorkload<SplitterQueueDescriptor>
+{
+public:
+ using BaseWorkload<SplitterQueueDescriptor>::BaseWorkload;
+
+ void Execute() const override
+ {
+ // With subtensors, splitter is a no-op.
+ }
+};
+
+} //namespace armnn