Reply to M1 GPU violates atomic_thread_fence across threadgroups Take a look at "Metal Shading Language Specification - Version 3.2" -> 4.8 Memory Coherency -> coherent(device). Graphics & Games Metal Dec ’24