Intel® C++ Compiler 18.0 Developer Guide and Reference
Sets a barrier in the current thread. This topic only applies when targeting Intel® Graphics Technology.
void _gfx_gpgpu_thread_barrier();
None.
This function sets a barrier in the current thread that pauses execution of the thread until all other threads in the same thread group reach this barrier.
Use this function to pause a thread in a second-level nest if program logic requires it to wait for other threads in the same thread group. There is no implicit thread barrier at the end of a second-level nest.
None