diff options
author | Colm Donelan <Colm.Donelan@arm.com> | 2020-01-29 15:22:43 +0000 |
---|---|---|
committer | Colm Donelan <Colm.Donelan@arm.com> | 2020-01-29 16:23:48 +0000 |
commit | e49755b914a2c8f6f8b836adfcc61bf8f9a5b3a3 (patch) | |
tree | 98ad93e75c783e6552fdeda6206a84937181bb27 /src/backends/README.md | |
parent | 1426a3f52854d0d9457109c5f806bffde037bd34 (diff) | |
download | armnn-e49755b914a2c8f6f8b836adfcc61bf8f9a5b3a3.tar.gz |
IVGCVSW-4316 First draft of IBackendProfiling and IBackendProfilingContext
* Introduce two new backend profiling interfaces IBackendProfiling
and IBackendProfilingContext.
* Add a mechanism to pull a context from a backend through IBackendInternal
* Update CL, Neon and Ref backends to return an empty profiling backend.
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I6e7438fcb126ad7a073a226862dc44836c9998b7
Diffstat (limited to 'src/backends/README.md')
-rw-r--r-- | src/backends/README.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backends/README.md b/src/backends/README.md index 6005facacb..b3376099d4 100644 --- a/src/backends/README.md +++ b/src/backends/README.md @@ -113,6 +113,8 @@ The interface functions to be implemented are: virtual IWorkloadFactoryPtr CreateWorkloadFactory( const IMemoryManagerSharedPtr& memoryManager = nullptr) const = 0; virtual IBackendContextPtr CreateBackendContext(const IRuntime::CreationOptions&) const = 0; + virtual IBackendProfilingContextPtr CreateBackendProfilingContext(const IRuntime::CreationOptions& creationOptions, + armnn::profiling::IBackendProfiling& backendProfiling) const = 0; virtual ILayerSupportSharedPtr GetLayerSupport() const = 0; virtual Optimizations GetOptimizations() const = 0; virtual SubgraphUniquePtr OptimizeSubgraph(const SubgraphView& subgraph, bool& optimizationAttempted) const; |