Using a coprthr_event_t to coordinate host with epiphany
Posted: Thu Oct 20, 2016 5:57 am
Hi,
Is it possible to use a variable of type coprthr_event_t to coordinate the ARM with the epiphany?
I've seen lots of examples of using an event to wait on coprthr_dwrites and as a return value from coprthr_dexec but the signal that unblocks the wait is called internally.
I'd like to set the kernel off producing results and when done, signal the ARM copy them back and prepare the next batch of data.
A variable of type coprthr_event_t seems to be a good choice or is there some other way of doing it?
nick
Is it possible to use a variable of type coprthr_event_t to coordinate the ARM with the epiphany?
I've seen lots of examples of using an event to wait on coprthr_dwrites and as a return value from coprthr_dexec but the signal that unblocks the wait is called internally.
I'd like to set the kernel off producing results and when done, signal the ARM copy them back and prepare the next batch of data.
A variable of type coprthr_event_t seems to be a good choice or is there some other way of doing it?
nick