Toward a Better Defined SYCL Memory Consistency Model
Ben Ashbaugh, James C. Brodman, Michael Kinsner, Gregory Lueck, Simon John Pennycook, Roland Schulz · International Workshop on OpenCL · 2021
A memory consistency model is a key component of a parallel programming model that describes guaranteed behavior for applications and valid optimizations for implementers. The SYCL 2020 specification took a step forward by adopting the atomic_ref syntax from the C++20 specification and concepts similar to memory scopes from the OpenCL 2.0 specification, though further efforts to formalize the SYCL memory model are ongoing and will be progressed in future specifications.