diff options
Diffstat (limited to 'arm_compute/graph/backends')
-rw-r--r-- | arm_compute/graph/backends/BackendRegistry.h | 10 |
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 |