diff options
Diffstat (limited to 'src/backends/IBackendContext.hpp')
-rw-r--r-- | src/backends/IBackendContext.hpp | 27 |
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 |