diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-04-17 15:37:30 +0100 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-04-18 08:50:28 +0100 |
commit | 7997a3527218ed821ec933ef3a5e6a3f07409b21 (patch) | |
tree | eeb2db8e8bdebf7f2661b68890ff6d31def7f620 /src/armnn/ISubGraphConverter.hpp | |
parent | c2ebc63baf19ab6c3da6ae7a982c9eba0c0d85be (diff) | |
download | armnn-7997a3527218ed821ec933ef3a5e6a3f07409b21.tar.gz |
IVGCVSW-2980 Build ArmNN with the latest version of the driver stack library
* Changed the pre-compiled object held by the pre-compiled layer into
a unique pointer, so that now the layer has the ownership of it
* Changed the pre-compiled object held by the descriptor and the workload
into a naked pointer, to leave the ownership to the layer
Change-Id: I4a582e45ca0aa3978e8e40b786c743a6eddce852
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Diffstat (limited to 'src/armnn/ISubGraphConverter.hpp')
-rw-r--r-- | src/armnn/ISubGraphConverter.hpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/armnn/ISubGraphConverter.hpp b/src/armnn/ISubGraphConverter.hpp index 1d40c6737a..3a6866e102 100644 --- a/src/armnn/ISubGraphConverter.hpp +++ b/src/armnn/ISubGraphConverter.hpp @@ -6,17 +6,21 @@ #pragma once #include <memory> +#include <vector> +#include <functional> namespace armnn { +using CompiledBlobDeleter = std::function<void(const void*)>; +using CompiledBlobPtr = std::unique_ptr<void, CompiledBlobDeleter>; + class ISubGraphConverter { public: - virtual ~ISubGraphConverter() {}; + virtual ~ISubGraphConverter() {} - virtual std::shared_ptr<void> GetOutput() = 0; + virtual std::vector<CompiledBlobPtr> GetOutput() = 0; }; -} - +} // namespace armnn |