aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/graph')
-rw-r--r--arm_compute/graph/backends/BackendRegistry.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arm_compute/graph/backends/BackendRegistry.h b/arm_compute/graph/backends/BackendRegistry.h
index 69114ed26d..09aa17f3fb 100644
--- a/arm_compute/graph/backends/BackendRegistry.h
+++ b/arm_compute/graph/backends/BackendRegistry.h
@@ -53,6 +53,16 @@ public:
* @return Pointer to the backend interface if found, else nullptr
*/
IDeviceBackend *find_backend(Target target);
+
+ /** Get a backend from the registry
+ *
+ * The backend must be present and supported.
+ *
+ * @param[in] target Backend target
+ *
+ * @return Reference to the backend interface
+ */
+ IDeviceBackend &get_backend(Target target);
/** Checks if a backend for a given target exists
*
* @param[in] target Execution target