aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/BackendHelper.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/armnn/BackendHelper.hpp')
-rw-r--r--include/armnn/BackendHelper.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/armnn/BackendHelper.hpp b/include/armnn/BackendHelper.hpp
index b550f9f68e..59cbbfced3 100644
--- a/include/armnn/BackendHelper.hpp
+++ b/include/armnn/BackendHelper.hpp
@@ -466,11 +466,19 @@ bool HasCapability(const std::string& name,const BackendCapabilities& capabiliti
bool HasCapability(const std::string& name, const armnn::BackendId& backend);
/// Convenience function to check if a given capability matches a capability in a BackendCapabilities struct
+ARMNN_DEPRECATED_MSG_REMOVAL_DATE("Use HasMatchingCapability instead.", "24.05")
bool HasCapability(const BackendOptions::BackendOption& capability, const BackendCapabilities& capabilities);
/// Convenience function to check if a given capability matches a capability in a backend
+ARMNN_DEPRECATED_MSG_REMOVAL_DATE("Use HasMatchingCapability instead.", "24.05")
bool HasCapability(const BackendOptions::BackendOption& backendOption, const armnn::BackendId& backend);
+/// Convenience function to check if a given capability matches a capability in a BackendCapabilities struct
+bool HasMatchingCapability(const BackendOptions::BackendOption& capability, const BackendCapabilities& capabilities);
+
+/// Convenience function to check if a given capability matches a capability in a backend
+bool HasMatchingCapability(const BackendOptions::BackendOption& backendOption, const armnn::BackendId& backend);
+
/// Returns a BackendCapability if the backend lists the capability
/// The BackendCapability must then be inspected to check whether or not that BackendCapability is supported
/// Otherwise returns an EmptyOptional if the BackendCapability is unlisted