aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl/ClBackend.hpp
diff options
context:
space:
mode:
authorDavid Beck <david.beck@arm.com>2018-11-08 09:19:14 +0000
committerDavid Beck <david.beck@arm.com>2018-11-08 12:48:30 +0000
commit1b61be517387a20cd869e30587de2140b6d2252d (patch)
tree06ca37c640ccf4cd1fc5722393caf16c15a16b14 /src/backends/cl/ClBackend.hpp
parent60578950322491e44b4203fe085c3230ead19c7a (diff)
downloadarmnn-experimental/nhwc-preview.tar.gz
IVGCVSW-2056+IVGCVSW-2064 : move ClContextControl to the ClBackendexperimental/nhwc-preview
* add IBackendContext interface * add ClBackendContext implementation Change-Id: I13e4d12b73d4c7775069587675276f7cee7d630b
Diffstat (limited to 'src/backends/cl/ClBackend.hpp')
-rw-r--r--src/backends/cl/ClBackend.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backends/cl/ClBackend.hpp b/src/backends/cl/ClBackend.hpp
index 223aeb3095..f8a6253c22 100644
--- a/src/backends/cl/ClBackend.hpp
+++ b/src/backends/cl/ClBackend.hpp
@@ -4,6 +4,7 @@
//
#pragma once
+#include <backendsCommon/IBackendContext.hpp>
#include <backendsCommon/IBackendInternal.hpp>
namespace armnn
@@ -18,7 +19,8 @@ public:
static const BackendId& GetIdStatic();
const BackendId& GetId() const override { return GetIdStatic(); }
- IWorkloadFactoryPtr CreateWorkloadFactory() const override;
+ IBackendInternal::IWorkloadFactoryPtr CreateWorkloadFactory() const override;
+ IBackendInternal::IBackendContextPtr CreateBackendContext(const IRuntime::CreationOptions&) const override;
};
} // namespace armnn \ No newline at end of file