diff options
author | Colm Donelan <colm.donelan@arm.com> | 2022-09-27 16:46:09 +0100 |
---|---|---|
committer | Colm Donelan <colm.donelan@arm.com> | 2022-09-27 21:58:00 +0100 |
commit | 7804481027056c6a2aec406d4cb2ab9c39e8418d (patch) | |
tree | c87580dd136ee3477b11c4524b0a2d6535121933 /src/armnn/optimizations | |
parent | 4abe72f869d55347da506d24691da0c213f88db0 (diff) | |
download | armnn-7804481027056c6a2aec406d4cb2ab9c39e8418d.tar.gz |
IVGCVSW-7235 Errors from LoadNetwork are being ignored in ArmNNExecutor.
In ArmNNExecutor::ArmNNExecutor the call to m_Runtime->LoadNetwork was
ignoring the Status result and continuing to execute with a failed
network. In addition throwing an exception from the constructor resulted
in a segmentation fault.
* Modify IExecutor to allow the constructor to mark itself as failed.
* Modify ArmNNExecutor to mark itself as failed when LoadNetwork returns
an error.
* Modify ExecuteNetwork to check the value of m_constructionFailed.
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: Idf222cb2b66e1051875dc67046734f2b00b288d1
Diffstat (limited to 'src/armnn/optimizations')
0 files changed, 0 insertions, 0 deletions