Intel® C++ Compiler 16.0 User and Reference Guide

_gfx_gpgpu_thread_barrier

Sets a barrier in the current thread. This topic only applies to Intel® 64 and IA-32 architectures targeting Intel® Graphics Technology.

Syntax

void _gfx_gpgpu_thread_barrier();

Parameters

None.

Description

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.

Return Values

None