11#ifdef ALPAKA_ACC_CPU_B_SEQ_T_OMP2_ENABLED
14# error If ALPAKA_ACC_CPU_B_SEQ_T_OMP2_ENABLED is set, the compiler has to support OpenMP 2.0 or higher!
33 template<MemoryOrder TMemOrder, MemoryScope TMemScope>
34 struct MemFence<MemFenceOmp2Threads, TMemOrder, TMemScope>
36 static auto mem_fence(MemFenceOmp2Threads
const&, TMemOrder order, TMemScope
const&)
The CPU OpenMP 2.0 block memory fence.
static constexpr AcqRel acq_rel
The alpaka accelerator library.
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto mem_fence(TMemFence const &fence, TMemOrder order, TMemScope const &scope) -> void
Issues memory fence instructions.
Tag used in class inheritance hierarchies that describes that a specific interface (TInterface) is im...