aboutsummaryrefslogtreecommitdiff
path: root/driver_library/src/ethosu.cpp
diff options
context:
space:
mode:
authorDavide Grohmann <davide.grohmann@arm.com>2022-06-16 17:42:58 +0200
committerDavide Grohmann <davide.grohmann@arm.com>2022-08-29 09:52:15 +0200
commitf03642331f1028bdeba1c24bc5d9bd65b42c7603 (patch)
treed299be4d2f9a3b5292b141d531c1a3824b7424ce /driver_library/src/ethosu.cpp
parent43e7dc41eb7f0701951ac84d82f877be37338d41 (diff)
downloadethos-u-linux-driver-stack-f03642331f1028bdeba1c24bc5d9bd65b42c7603.tar.gz
Add linux_driver_stack tests
Change-Id: I303f1424eb46576847312672f7ed5ac03c05aee1
Diffstat (limited to 'driver_library/src/ethosu.cpp')
-rw-r--r--driver_library/src/ethosu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_library/src/ethosu.cpp b/driver_library/src/ethosu.cpp
index 662fed7..16b9654 100644
--- a/driver_library/src/ethosu.cpp
+++ b/driver_library/src/ethosu.cpp
@@ -489,7 +489,7 @@ bool Inference::wait(int64_t timeoutNanos) const {
// if timeout negative wait forever
if (timeoutNanos < 0) {
- return eppoll(&pfd, 1, NULL, NULL);
+ return eppoll(&pfd, 1, NULL, NULL) == 0;
}
struct timespec tmo_p;