STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
Concurrency::tile_barrier Class Reference

The tile_barrier class is a capability class that is only creatable by the system, and passed to a tiled parallel_for_each lambda as part of the tiled_index parameter. It provides wait methods whose purpose is to synchronize execution of threads running within the thread group (tile). More...

#include <amp.h>

Public Member Functions

 tile_barrier (const tile_barrier &_Other) __GPU
 Copy Constructor. The tile_barrier class does not have a public default constructor or assignment operator, only copy-constructor. More...
 
void wait () const __GPU_ONLY
 Blocks execution of all threads in a tile until all all threads in the tile have reached this call. Ensures that memory accesses are visible to other threads in the thread tile, and are executed according to program order More...
 
void wait_with_all_memory_fence () const __GPU_ONLY
 Blocks execution of all threads in a tile until all all threads in the tile have reached this call. Ensures that memory accesses are visible to other threads in the thread tile, and are executed according to program order More...
 
void wait_with_global_memory_fence () const __GPU_ONLY
 Blocks execution of all threads in a tile until all all threads in the tile have reached this call. Ensures that global memory accesses are visible to other threads in the thread tile, and are executed according to program order More...
 
void wait_with_tile_static_memory_fence () const __GPU_ONLY
 Blocks execution of all threads in a tile until all all threads in the tile have reached this call. Ensures that tile_static memory accesses are visible to other threads in the thread tile, and are executed according to program order More...
 

Detailed Description

The tile_barrier class is a capability class that is only creatable by the system, and passed to a tiled parallel_for_each lambda as part of the tiled_index parameter. It provides wait methods whose purpose is to synchronize execution of threads running within the thread group (tile).

Constructor & Destructor Documentation

Concurrency::tile_barrier::tile_barrier ( const tile_barrier _Other)
inline

Copy Constructor. The tile_barrier class does not have a public default constructor or assignment operator, only copy-constructor.

Parameters
_OtherThe tile_barrier instance to be copied from.
959 {}

Member Function Documentation

void Concurrency::tile_barrier::wait ( ) const
inline

Blocks execution of all threads in a tile until all all threads in the tile have reached this call. Ensures that memory accesses are visible to other threads in the thread tile, and are executed according to program order

966  {
968  }
void __dp_d3d_all_memory_fence_with_tile_barrier() __GPU_ONLY
void Concurrency::tile_barrier::wait_with_all_memory_fence ( ) const
inline

Blocks execution of all threads in a tile until all all threads in the tile have reached this call. Ensures that memory accesses are visible to other threads in the thread tile, and are executed according to program order

975  {
977  }
void __dp_d3d_all_memory_fence_with_tile_barrier() __GPU_ONLY
void Concurrency::tile_barrier::wait_with_global_memory_fence ( ) const
inline

Blocks execution of all threads in a tile until all all threads in the tile have reached this call. Ensures that global memory accesses are visible to other threads in the thread tile, and are executed according to program order

984  {
986  }
void __dp_d3d_device_memory_fence_with_tile_barrier() __GPU_ONLY
void Concurrency::tile_barrier::wait_with_tile_static_memory_fence ( ) const
inline

Blocks execution of all threads in a tile until all all threads in the tile have reached this call. Ensures that tile_static memory accesses are visible to other threads in the thread tile, and are executed according to program order

993  {
995  }
void __dp_d3d_tile_static_memory_fence_with_tile_barrier() __GPU_ONLY

The documentation for this class was generated from the following file: