tile_barrier Class

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Synchronizes the execution of threads that are running in the thread group (the tile) by using wait methods. Only the runtime can instantiate this class.

class tile_barrier;  

Public Constructors

NameDescription
tile_barrier::tile_barrier ConstructorInitializes a new instance of the tile_barrier class.

Public Methods

NameDescription
tile_barrier::wait MethodInstructs all threads in the thread group (tile) to stop executing until all threads in the tile have finished waiting.
tile_barrier::wait_with_all_memory_fence MethodBlocks execution of all threads in a tile until all memory accesses have been completed and all threads in the tile have reached this call.
tile_barrier::wait_with_global_memory_fence MethodBlocks execution of all threads in a tile until all global memory accesses have been completed and all threads in the tile have reached this call.
tile_barrier::wait_with_tile_static_memory_fence MethodBlocks execution of all threads in a tile until all tile_static memory accesses have been completed and all threads in the tile have reached this call.

tile_barrier

Header: amp.h

Namespace: Concurrency

Concurrency Namespace (C++ AMP)

Show: