diff options
author | Finn Williams <Finn.Williams@arm.com> | 2021-06-09 17:07:33 +0100 |
---|---|---|
committer | Finn Williams <Finn.Williams@arm.com> | 2021-06-23 17:14:53 +0100 |
commit | f364d5391b08e9071cd965f5765385ec9156b652 (patch) | |
tree | 1ea93ed574a3eb51f5a1f4bb08dc1ad18aa1c6a2 /include/armnn/IAsyncExecutionCallback.hpp | |
parent | 7a00eaa6ecf121623823b1951c0e6c9093271adf (diff) | |
download | armnn-f364d5391b08e9071cd965f5765385ec9156b652.tar.gz |
IVGCVSW-6062 Rework the async threadpool
!android-nn-driver:5802
* Extract the threadpool from LoadedNetwork/Runtime
* Refactor the threadpool to be handle multiple networks
* Trim IAsyncExecutionCallback and add an InferenceId to AsyncExecutionCallback
* Add AsyncCallbackManager class
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I36aa2ad29c16bc10ee0706adfeb6b27f60012afb
Diffstat (limited to 'include/armnn/IAsyncExecutionCallback.hpp')
-rw-r--r-- | include/armnn/IAsyncExecutionCallback.hpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/armnn/IAsyncExecutionCallback.hpp b/include/armnn/IAsyncExecutionCallback.hpp index 045ec4581f..3e0cacccee 100644 --- a/include/armnn/IAsyncExecutionCallback.hpp +++ b/include/armnn/IAsyncExecutionCallback.hpp @@ -23,19 +23,6 @@ public: // Notify the AsyncExecutionCallback object of the armnn execution status virtual void Notify(armnn::Status status, InferenceTimingPair timeTaken) = 0; - - // Block the calling thread until the AsyncExecutionCallback object allows it to proceed - virtual void Wait() const = 0; - - // Retrieve the ArmNN Status from the AsyncExecutionCallback that has been notified - virtual armnn::Status GetStatus() const = 0; - - // Retrieve the start time before executing the inference - virtual HighResolutionClock GetStartTime() const = 0; - - // Retrieve the time after executing the inference - virtual HighResolutionClock GetEndTime() const = 0; - }; } // experimental |