aboutsummaryrefslogtreecommitdiff
path: root/ArmnnPreparedModel.hpp
diff options
context:
space:
mode:
authorMatthew Bentham <matthew.bentham@arm.com>2019-04-01 17:17:58 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2019-04-02 10:22:16 +0100
commit16196e267833178dae62926ff090c50ec6813ad4 (patch)
tree03c0f7cd2490a1e68a63f71ef08c6a6c591f363c /ArmnnPreparedModel.hpp
parenta6542c53e929172a36b4d3787686c13a7c569386 (diff)
downloadandroid-nn-driver-16196e267833178dae62926ff090c50ec6813ad4.tar.gz
MLCE-110 Propagate error from armnn EnqueueWorkload
Change-Id: Ic53b1cdbdd3a7d656932651c74911940affc09b6 Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
Diffstat (limited to 'ArmnnPreparedModel.hpp')
-rw-r--r--ArmnnPreparedModel.hpp3
1 files changed, 2 insertions, 1 deletions
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<IExecutionCallback>& callback);
/// Executes this model with dummy inputs (e.g. all zeroes).
- void ExecuteWithDummyInputs();
+ /// \return false on failure, otherwise true
+ bool ExecuteWithDummyInputs();
private:
template <typename TensorBindingCollection>