aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSadik Armagan <sadik.armagan@arm.com>2021-04-27 10:02:10 +0100
committerSadik Armagan <sadik.armagan@arm.com>2021-04-29 08:46:09 +0000
commita04a9d7c11f28c7e932435535e80223782f369f2 (patch)
tree9c1e86b0b4878dad12a359e60a8d2e8e051d2def /include
parent484d5ebb00c0db76efd76a601b5bbaa460cd2ccb (diff)
downloadarmnn-a04a9d7c11f28c7e932435535e80223782f369f2.tar.gz
IVGCVSW-5775 'Add Async Support to ExecuteNetwork'
* Enabled async mode with '-n, concurrent' and 'simultaneous-iterations' in ExecuteNetwork * Number of input files provided should be equal to number of input files provided multiply by number of simultaneous iterations divided by comma !armnn:5443 Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ibeb318010430bf4ae61a02b18b1bf88f3657774c
Diffstat (limited to 'include')
-rw-r--r--include/armnn/IWorkingMemHandle.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/armnn/IWorkingMemHandle.hpp b/include/armnn/IWorkingMemHandle.hpp
index 171fa3d81c..6fb2f9fe5f 100644
--- a/include/armnn/IWorkingMemHandle.hpp
+++ b/include/armnn/IWorkingMemHandle.hpp
@@ -25,6 +25,9 @@ public:
/// Returns the NetworkId of the Network that this IWorkingMemHandle works with.
virtual NetworkId GetNetworkId() = 0;
+ /// Returns the InferenceId of the Inference that this IWorkingMemHandle works with.
+ virtual profiling::ProfilingGuid GetInferenceId() = 0;
+
/// Allocate the backing memory required for execution. If this is not called, then allocation will be
/// deferred to execution time. The mutex must be locked.
virtual void Allocate() = 0;