11#ifdef ALPAKA_ACC_CPU_B_OMP2_T_SEQ_ENABLED
14# error If ALPAKA_ACC_CPU_B_OMP2_T_SEQ_ENABLED is set, the compiler has to support OpenMP 2.0 or higher!
33 template<MemoryOrder TMemOrder>
42 template<MemoryOrder TMemOrder>
51 template<MemoryOrder TMemOrder>
The CPU OpenMP 2.0 block memory fence.
static constexpr AcqRel acq_rel
The alpaka accelerator library.
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.
Memory fences are observed by all threads on the device.
Memory fences are observed by all threads in the same grid.
static auto mem_fence(MemFenceOmp2Blocks const &, TMemOrder, memory_scope::Block const &)
static auto mem_fence(MemFenceOmp2Blocks const &, TMemOrder order, memory_scope::Device const &)
static auto mem_fence(MemFenceOmp2Blocks const &, TMemOrder order, memory_scope::Grid const &)