Compound Memory Models
Andrés Goens, Soham Chakraborty, Susmit Sarkar, Sukarn Agarwal, Nicolai Oswald, Vijay Nagarajan
摘要
Today's mobile, desktop, and server processors are heterogeneous, consisting not only of CPUs but also GPUs and other accelerators. Such heterogeneous processors are starting to expose a shared memory interface across these devices.Given that each of these individual devices typically supports a distinct instruction set architecture and a distinct memory consistency model, it is not clear what the memory consistency model of the heterogeneous machine should be. In this paper, we answer this question by formalizing "compound" memory models: we present a compositional operational model describing the resulting model when devices with distinct consistency models are fused together. We instantiate our model with the compound x86TSO/PTX model -- a CPU enforcing x86TSO and a GPU enforcing the PTX model. A key result is that the x86TSO/PTX compound model retains compiler mappings from the language-based (scoped) C memory model. This means that threads mapped to the x86TSO device can continue to use the already proven C-to-x86TSO compiler mapping, and the same for PTX.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- vCXLGen: Automated Synthesis and Verification of CXL Bridges for Heterogeneous Architectures 引用了 Formalising CXL Cache Coherence
- vCXLGen: Automated Synthesis and Verification of CXL Bridges for Heterogeneous Architectures 引用了 HeteroGen: Automatic Synthesis of Heterogeneous Cache Coherence Protocols
- Formalising CXL Cache Coherence 引用了 HeteroGen: Automatic Synthesis of Heterogeneous Cache Coherence Protocols
- Formalising CXL Cache Coherence 引用了 A Programming Model for Disaggregated Memory over CXL
- A Formally Verified Foundation for Compositional Heterogeneous Coherence 引用了 vCXLGen: Automated Synthesis and Verification of CXL Bridges for Heterogeneous Architectures
- A Formally Verified Foundation for Compositional Heterogeneous Coherence 引用了 HeteroGen: Automatic Synthesis of Heterogeneous Cache Coherence Protocols
- HeteroGen: Automatic Synthesis of Heterogeneous Cache Coherence Protocols 引用了 The semantics of shared memory in Intel CPU/FPGA systems
引用它的顶会 Paper5
- Formalising CXL Cache CoherenceChengsong Tan, Alastair F. Donaldson, John WickersonASPLOS 2025 · 12 次引用
- A Programming Model for Disaggregated Memory over CXLGal Assa, Moritz Lumme, Lucas Bürgi, Michal Friedman 等ASPLOS 2026 · 4 次引用
- vCXLGen: Automated Synthesis and Verification of CXL Bridges for Heterogeneous ArchitecturesAnatole Lefort, Julian Pritzi, Nicolò Carpentieri, David Schall 等ASPLOS 2026 · 2 次引用
- Extending the C/C++ Memory Model with Inline AssemblyPaulo Emílio de Vilhena, Ori Lahav, Viktor Vafeiadis, Azalea RaadOOPSLA 2024 · 1 次引用
- A Formally Verified Foundation for Compositional Heterogeneous CoherenceAn Qi Zhang, Andrés Goens, Daniel J. Sorin, Vijay NagarajanPLDI 2026
它引用的 Paper2
- HeteroGen: Automatic Synthesis of Heterogeneous Cache Coherence ProtocolsNicolai Oswald, Vijay Nagarajan, Daniel J. Sorin, Vasilis Gavrielatos 等HPCA 2022 · 15 次引用
- The semantics of shared memory in Intel CPU/FPGA systemsDan Iorga, Alastair F. Donaldson, Tyler Sorensen, John WickersonOOPSLA 2021 · 9 次引用
相关 Paper
- Taming x86-TSO persistencyArtem Khyzha, Ori LahavPOPL 2021 · 26 次引用
- PCCS: Processor-Centric Contention-aware Slowdown Model for Heterogeneous System-on-ChipsYuanchao Xu, Mehmet Esat Belviranli, Xipeng Shen, Jeffrey S. VetterMICRO 2021 · 15 次引用
- sfGPUMC: A Stateless Model Checker for GPU Weak Memory ConcurrencySoham Chakraborty, S. Krishna, Andreas Pavlogiannis, Omkar TuppeCAV 2025 · 2 次引用
- HMG: Extending Cache Coherence Protocols Across Modern Hierarchical Multi-GPU SystemsXiaowei Ren, Daniel Lustig, Evgeny Bolotin, Aamer Jaleel 等HPCA 2020 · 38 次引用
- CAAT: consistency as a theoryThomas Haas, Roland Meyer, Hernán Ponce de LeónOOPSLA 2022 · 11 次引用
