10#ifdef ALPAKA_ACC_CPU_B_OMP2_T_SEQ_ENABLED
13# error If ALPAKA_ACC_CPU_B_OMP2_T_SEQ_ENABLED is set, the compiler has to support OpenMP 2.0 or higher!
35 struct MemFence<MemFenceOmp2Blocks, memory_scope::Grid>
37 static auto mem_fence(MemFenceOmp2Blocks
const&, memory_scope::Grid
const&)
44 struct MemFence<MemFenceOmp2Blocks, memory_scope::Device>
46 static auto mem_fence(MemFenceOmp2Blocks
const&, memory_scope::Device
const&)
The CPU OpenMP 2.0 block memory fence.
The alpaka accelerator library.
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto mem_fence(TMemFence const &fence, TMemScope const &scope) -> void
Issues memory fence instructions.
Tag used in class inheritance hierarchies that describes that a specific interface (TInterface) is im...
Memory fences are observed by all threads in the same block.