diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-11-28 15:45:42 +0000 |
---|---|---|
committer | Narumol Prangnawarat <narumol.prangnawarat@arm.com> | 2019-12-09 12:00:04 +0000 |
commit | e5b8eb9fe8147a0849db08ef0898a0e8bef920b4 (patch) | |
tree | 54f039796753b6a395eb9f76e46e11a9413dabad /src/backends/backendsCommon/IBackendContext.hpp | |
parent | 3e2969d7195d77796774101580b837681505904a (diff) | |
download | armnn-e5b8eb9fe8147a0849db08ef0898a0e8bef920b4.tar.gz |
IVGCVSW-4210 Create a public API for the common backend files
* Create a public API for the common backend files
* Move OutputHandler to armnn internal
* Remove unused headers
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: I3e86d908b021e3561befa9d45158d87d2cbb18c0
Diffstat (limited to 'src/backends/backendsCommon/IBackendContext.hpp')
-rw-r--r-- | src/backends/backendsCommon/IBackendContext.hpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/backends/backendsCommon/IBackendContext.hpp b/src/backends/backendsCommon/IBackendContext.hpp deleted file mode 100644 index de9824956f..0000000000 --- a/src/backends/backendsCommon/IBackendContext.hpp +++ /dev/null @@ -1,32 +0,0 @@ -// -// Copyright © 2017 Arm Ltd. All rights reserved. -// SPDX-License-Identifier: MIT -// -#pragma once - -#include <armnn/IRuntime.hpp> -#include <memory> - -namespace armnn -{ - -class IBackendContext -{ -protected: - IBackendContext(const IRuntime::CreationOptions&) {} - -public: - // Before and after Load network events - virtual bool BeforeLoadNetwork(NetworkId networkId) = 0; - virtual bool AfterLoadNetwork(NetworkId networkId) = 0; - - // Before and after Unload network events - virtual bool BeforeUnloadNetwork(NetworkId networkId) = 0; - virtual bool AfterUnloadNetwork(NetworkId networkId) = 0; - - virtual ~IBackendContext() {} -}; - -using IBackendContextUniquePtr = std::unique_ptr<IBackendContext>; - -} // namespace armnn
\ No newline at end of file |