Apple Metal Memory Model
Apple's GPU programming model provides a relaxed memory model with atomics (relaxed/acquire/release) and threadgroup/device barriers in the Metal Shading Language. It is less formally specified in public than the other GPU models here.
Ordering relationships
- Compilation target of
- WebGPU / WGSL Memory Model — On Apple platforms WebGPU implementations lower WGSL to Metal.
References
- Apple Inc.. Metal Shading Language Specification. Apple Developer Documentation, 2023.