Function spirv_std::arch::device_memory_barrier

source ·
pub unsafe fn device_memory_barrier()
Expand description

Blocks execution of all threads in a group until all device memory accesses have been completed.

This is an exact implementation of DeviceMemoryBarrier().

From https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/devicememorybarrier