i hope i got that correct:
clWaitForEvents will let the host wait until all events in the waitlist are done. So it is useful in an inorder queue. Everything clear about that. But is there any example where you will need clEnqueueWaitForEvents in an inorder queue setup without concurrent threads? Doesn’t his only make sense if you want to have a barrier for multiple threads on the device or an out-of-order execution?
Thanks in advance,