aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Beck <david.beck@arm.com>2018-10-09 15:46:08 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2018-10-22 16:57:53 +0100
commit32cbb0c7cd99786191c080f5a619b3dab23b4cd0 (patch)
tree0e7db143cdf3faa6430a1ffa5e948165ff60c045 /include
parent43095f31edf103d71a8e2420b549d21fd349b49e (diff)
downloadarmnn-32cbb0c7cd99786191c080f5a619b3dab23b4cd0.tar.gz
IVGCVSW-1987 : registry for backend creation functions (factories)
Change-Id: I13d2d3dc763e1d05dffddb34472bd4f9e632c776
Diffstat (limited to 'include')
-rw-r--r--include/armnn/Types.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/armnn/Types.hpp b/include/armnn/Types.hpp
index 12ecda0c39..b7ee9472a3 100644
--- a/include/armnn/Types.hpp
+++ b/include/armnn/Types.hpp
@@ -117,7 +117,8 @@ public:
virtual const ILayerSupport& GetLayerSupport() const = 0;
};
-using IBackendPtr = std::shared_ptr<IBackend>;
+using IBackendSharedPtr = std::shared_ptr<IBackend>;
+using IBackendUniquePtr = std::unique_ptr<IBackend, void(*)(IBackend* backend)>;
/// Device specific knowledge to be passed to the optimizer.
class IDeviceSpec