aboutsummaryrefslogtreecommitdiff
path: root/src/backends/IBackendContext.hpp
diff options
context:
space:
mode:
authorDavid Beck <david.beck@arm.com>2018-10-24 17:09:46 +0100
committerDavid Beck <david.beck@arm.com>2018-10-26 10:25:09 +0100
commitd4dfa684941a21314b70593d01b0fc2167eebad4 (patch)
treeeaf561f9bdf5f5643702a5a6f24ed822dea9c4c2 /src/backends/IBackendContext.hpp
parent0a088a61d016bf7af77e2d73d0988223a5f98ef1 (diff)
downloadarmnn-d4dfa684941a21314b70593d01b0fc2167eebad4.tar.gz
IVGCVSW-2056 + IVGCVSW-2064 : move ClContextControl to the ClBackend
Change-Id: Ice19d3f763298bc14585267df389e99df846320d
Diffstat (limited to 'src/backends/IBackendContext.hpp')
-rw-r--r--src/backends/IBackendContext.hpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/backends/IBackendContext.hpp b/src/backends/IBackendContext.hpp
new file mode 100644
index 0000000000..d073d12868
--- /dev/null
+++ b/src/backends/IBackendContext.hpp
@@ -0,0 +1,27 @@
+//
+// Copyright © 2017 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+#pragma once
+
+#include <armnn/IRuntime.hpp>
+#include <memory>
+
+namespace armnn
+{
+
+class IBackendContext
+{
+public:
+ virtual ~IBackendContext() {}
+
+protected:
+ IBackendContext(const IRuntime::CreationOptions& options) {}
+
+private:
+ IBackendContext() = delete;
+};
+
+using IBackendContextUniquePtr = std::unique_ptr<IBackendContext>;
+
+} // namespace armnn