31 struct MemFence<MemFenceCpuSerial, memory_scope::Grid>
33 static auto mem_fence(MemFenceCpuSerial
const&, memory_scope::Grid
const&)
39 template<
typename TMemScope>
40 struct MemFence<MemFenceCpuSerial, TMemScope>
42 static auto mem_fence(MemFenceCpuSerial
const&, TMemScope
const&)
45 std::atomic_thread_fence(std::memory_order_acq_rel);
The serial CPU 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.