diff options
author | Mike Kelly <mike.kelly@arm.com> | 2021-03-29 15:04:50 +0100 |
---|---|---|
committer | mike.kelly <mike.kelly@arm.com> | 2021-03-29 14:03:30 +0000 |
commit | 386ff1a721cdca3689b009ba31f2d3ac8bea2fae (patch) | |
tree | e2f5c26ab2601fd0be8c1223111f55cf1ff94e6e /include/armnn/INetwork.hpp | |
parent | 23dbe3d3ff51c2b297ce5bf6360da6552f1c3bf5 (diff) | |
download | armnn-386ff1a721cdca3689b009ba31f2d3ac8bea2fae.tar.gz |
IVGCVSW-5790 Merge async prototype
* Added thread safe execution mechanism for armnn
* Removed duplicate function bool Compare(T a, T b, float tolerance)
* Added StridedSliceAsyncEndToEndTest
* Fixed memory leak
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I2d367fc77ee7c01b8953138543e76af5e691211f
Diffstat (limited to 'include/armnn/INetwork.hpp')
-rw-r--r-- | include/armnn/INetwork.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/armnn/INetwork.hpp b/include/armnn/INetwork.hpp index bceb07405a..2db6d5de83 100644 --- a/include/armnn/INetwork.hpp +++ b/include/armnn/INetwork.hpp @@ -704,6 +704,12 @@ protected: std::unique_ptr<NetworkImpl> pNetworkImpl; }; +namespace experimental +{ +class AsyncNetwork; +class WorkingMemHandle; +} + struct BackendSettings; struct OptimizationResult; class OptimizedNetworkImpl; @@ -723,6 +729,10 @@ public: protected: friend class LoadedNetwork; + + friend class experimental::AsyncNetwork; + friend class experimental::WorkingMemHandle; + friend Graph& GetGraphForTesting(IOptimizedNetwork* optNetPtr); friend ModelOptions& GetModelOptionsForTesting(IOptimizedNetwork* optNetPtr); friend IOptimizedNetworkPtr Optimize(const INetwork& inNetwork, |