Skip to content

Commit

Permalink
Remove event waiting because it hangs on board
Browse files Browse the repository at this point in the history
  • Loading branch information
lukamac committed Nov 10, 2023
1 parent 26b0e82 commit 8a86e8e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions dory/Hardware_targets/PULP/GAP9_NE16/Utils_files/execute.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,15 @@ static inline void execute_stride2x2_blocking(nnx_task_t *task, Layer tile,
}

static inline void execute_wait(nnx_task_t *task) {
while (!ne16_empty()) {
ne16_event_wait();
}
#if __PLATFORM__ == ARCHI_PLATFORM_GVSOC && defined GAP_SDK
// Temporary hack because the gvsoc model of ne16 in gap_sdk
// has a broken running_id.
while(!ne16_empty())
;
#else
while(!nnx_resolve_check(task))
;
#endif
}

#endif // __EXECUTE_H__

0 comments on commit 8a86e8e

Please sign in to comment.