aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadik Armagan <sadik.armagan@arm.com>2020-04-03 15:32:39 +0100
committerSadik Armagan <sadik.armagan@arm.com>2020-04-03 15:32:39 +0100
commit871fe6dc35bb5dfb0a855910bd4fb004ed0f7e72 (patch)
tree5892c45fd1e6229b6d9f4330459dd2af5579eea1
parent1153d1ed778602ec9190641968384bc68083488d (diff)
downloadandroid-nn-driver-871fe6dc35bb5dfb0a855910bd4fb004ed0f7e72.tar.gz
IVGCVSW-4641 Investigate Hal 1.3 VTS Failures
* Return correct error status for executeFenced function Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I25c41f064ac5cc233561cbd2b6547c02053b33da
-rw-r--r--ArmnnPreparedModel_1_3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmnnPreparedModel_1_3.cpp b/ArmnnPreparedModel_1_3.cpp
index 86c0494..a3ad6ae 100644
--- a/ArmnnPreparedModel_1_3.cpp
+++ b/ArmnnPreparedModel_1_3.cpp
@@ -263,7 +263,7 @@ Return<void> ArmnnPreparedModel_1_3<HalVersion>::executeFenced(const V1_3::Reque
const OptionalTimeoutDuration&,
executeFenced_cb cb)
{
- cb(ErrorStatus::DEVICE_UNAVAILABLE, hidl_handle(nullptr), nullptr);
+ cb(ErrorStatus::INVALID_ARGUMENT, hidl_handle(nullptr), nullptr);
return Void();
}