diff options
author | Narumol Prangnawarat <narumol.prangnawarat@arm.com> | 2019-12-12 15:10:38 +0000 |
---|---|---|
committer | Narumol Prangnawarat <narumol.prangnawarat@arm.com> | 2019-12-19 16:42:29 +0000 |
commit | f2fa51031b0cf64a93da1dec9d3abd8c4ee3a13c (patch) | |
tree | 06f3728ca077bf57ee52cd948ade88f5049f62e0 /src/backends | |
parent | e56fb45b81b11e205f01094a54f5c1803a871005 (diff) | |
download | armnn-f2fa51031b0cf64a93da1dec9d3abd8c4ee3a13c.tar.gz |
IVGCVSW-4214 Add README for standalone dynamic backend developer guide
* Add README of an example how to build standalone dynamic backends
* Change the links to public API for backends
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: I32ee15ba1b9ea3a6317ae184de8d28bb31eb5d9d
Diffstat (limited to 'src/backends')
-rw-r--r-- | src/backends/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backends/README.md b/src/backends/README.md index 4c59222097..6005facacb 100644 --- a/src/backends/README.md +++ b/src/backends/README.md @@ -105,7 +105,7 @@ with previous Arm NN versions. ## The IBackendInternal interface -All backends need to implement the [IBackendInternal](backendsCommon/IBackendInternal.hpp) interface. +All backends need to implement the [IBackendInternal](../../include/armnn/backends/IBackendInternal.hpp) interface. The interface functions to be implemented are: ```c++ @@ -152,7 +152,7 @@ it sees fit and it keeps these objects for a short period of time. Examples: As mentioned above, all backends need to be registered through the BackendRegistry so Arm NN knows about them. Registration requires a unique backend ID string and a lambda function that -returns a unique pointer to the [IBackendInternal interface](backendsCommon/IBackendInternal.hpp). +returns a unique pointer to the [IBackendInternal interface](../../include/armnn/backends/IBackendInternal.hpp). For registering a backend only this lambda function needs to exist, not the actual backend. This allows dynamically creating the backend objects when they are needed. @@ -215,7 +215,7 @@ is still in place for backward compatibility, but it's now considered deprecated ## The IBackendContext interface Backends may need to be notified whenever a network is loaded or unloaded. To support that, one can implement the optional -[IBackendContext](backendsCommon/IBackendContext.hpp) interface. The framework calls the ```CreateBackendContext(...)``` +[IBackendContext](../../include/armnn/backends/IBackendContext.hpp) interface. The framework calls the ```CreateBackendContext(...)``` method for each backend in the Runtime. If the backend returns a valid unique pointer to a backend context, then the runtime will hold this for its entire lifetime. It then calls the following interface functions for each stored context: |