From 16196e267833178dae62926ff090c50ec6813ad4 Mon Sep 17 00:00:00 2001 From: Matthew Bentham Date: Mon, 1 Apr 2019 17:17:58 +0100 Subject: MLCE-110 Propagate error from armnn EnqueueWorkload Change-Id: Ic53b1cdbdd3a7d656932651c74911940affc09b6 Signed-off-by: Matthew Bentham --- ArmnnPreparedModel.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ArmnnPreparedModel.hpp') diff --git a/ArmnnPreparedModel.hpp b/ArmnnPreparedModel.hpp index 3c4b32b7..f6008b80 100644 --- a/ArmnnPreparedModel.hpp +++ b/ArmnnPreparedModel.hpp @@ -42,7 +42,8 @@ public: const ::android::sp& callback); /// Executes this model with dummy inputs (e.g. all zeroes). - void ExecuteWithDummyInputs(); + /// \return false on failure, otherwise true + bool ExecuteWithDummyInputs(); private: template -- cgit v1.2.1