List of synchronization functions.
barrier() function has no speed rating
because it must wait for multiple work-items to complete. The time
this takes determines the length of time the function takes in your
application. This also depends on several factors such as:
- The number
of work-items in the work-groups being synchronized.
- How much the work-items diverge.
Table B-9 Synchronization functions
ARM® recommends that you
avoid using barriers, especially in small kernels.