aboutsummaryrefslogtreecommitdiff
path: root/src/backends/IBackendInternal.hpp
diff options
context:
space:
mode:
authorDavid Beck <david.beck@arm.com>2018-10-03 13:09:28 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2018-10-10 16:16:58 +0100
commite97c6e0b88fd0a17991c1be5fc66e466e29e5b8d (patch)
tree6d694c581ee9145c6a777459345cf4c65b8377b3 /src/backends/IBackendInternal.hpp
parent539b44dbd620c9f793f84933c1bcc51ce3ff085e (diff)
downloadarmnn-e97c6e0b88fd0a17991c1be5fc66e466e29e5b8d.tar.gz
IVGCVSW-1642 : adding IBackendInternal interface
Change-Id: Icd55fed8381af319f11b4cd977cf03103cdf1bd9
Diffstat (limited to 'src/backends/IBackendInternal.hpp')
-rw-r--r--src/backends/IBackendInternal.hpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/backends/IBackendInternal.hpp b/src/backends/IBackendInternal.hpp
new file mode 100644
index 0000000000..1ccf88ece6
--- /dev/null
+++ b/src/backends/IBackendInternal.hpp
@@ -0,0 +1,23 @@
+//
+// Copyright © 2017 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+#pragma once
+
+#include <armnn/Types.hpp>
+#include <backends/WorkloadFactory.hpp>
+
+namespace armnn
+{
+
+class IBackendInternal : public IBackend
+{
+protected:
+ IBackendInternal() {}
+ virtual ~IBackendInternal() {}
+
+public:
+ virtual std::unique_ptr<IWorkloadFactory> CreateWorkloadFactory() const = 0;
+};
+
+} // namespace armnn