https://hgpu.org/?p=13389
Taming the complexities of the C11 and OpenCL memory models