다음을 통해 공유


tile_barrier Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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.

Syntax

class tile_barrier;  

Members

Public Constructors

Name Description
tile_barrier::tile_barrier Constructor Initializes a new instance of the tile_barrier class.

Public Methods

Name Description
tile_barrier::wait Method Instructs 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 Method Blocks 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 Method Blocks 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 Method Blocks 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.

Inheritance Hierarchy

tile_barrier

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Concurrency Namespace (C++ AMP)