共用方式為


tile_barrier::wait_with_all_memory_fence Method

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

void wait_with_all_memory_fence() const restrict(amp);

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

tile_barrier Class