• Cite Icon43
  • https://doi.org/10.1145/2701618Copy DOI Icon

HRF-Relaxed

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Memory consistency models, or memory models, allow both programmers and program language implementers to reason about concurrent accesses to one or more memory locations. Memory model specifications balance the often conflicting needs for precise semantics, implementation flexibility, and ease of understanding. Toward that end, popular programming languages like Java, C, and C++ have adopted memory models built on the conceptual foundation of Sequential Consistency for Data-Race-Free programs (SC for DRF). These SC for DRF languages were created with general-purpose homogeneous CPU systems in mind, and all assume a single, global memory address space. Such a uniform address space is usually power and performance prohibitive in heterogeneous Systems on Chips (SoCs), and for that reason most heterogeneous languages have adopted split address spaces and operations with nonglobal visibility. There have recently been two attempts to bridge the disconnect between the CPU-centric assumptions of the SC for DRF framework and the realities of heterogeneous SoC architectures. Hower et al. proposed a class of Heterogeneous-Race-Free (HRF) memory models that provide a foundation for understanding many of the issues in heterogeneous memory models. At the same time, the Khronos Group developed the OpenCL 2.0 memory model that builds on the C++ memory model. The OpenCL 2.0 model includes features not addressed by HRF: primarily support for relaxed atomics and a property referred to as scope inclusion. In this article, we generalize HRF to allow formalization of and reasoning about more complicated models using OpenCL 2.0 as a point of reference. With that generalization, we (1) make the OpenCL 2.0 memory model more accessible by introducing a platform for feature comparisons to other models, (2) consider a number of shortcomings in the current OpenCL 2.0 model, and (3) propose changes that could be adopted by future OpenCL 2.0 revisions or by other, related, models.

Similar Papers
  • Conference Article
  • Citations52

Synthesizing memory models from framework sketches and Litmus tests

  • Jun 14, 2017
  • James Bornholt +1
  • Research Article
  • Citations11

Synthesizing memory models from framework sketches and Litmus tests

  • Jun 14, 2017
  • ACM SIGPLAN Notices
  • James Bornholt +1
  • Research Article
  • Citations86

Location consistency-a new memory model and cache consistency protocol

  • Jan 01, 2000
  • IEEE Transactions on Computers
  • G.R Gao +1
  • Conference Article
  • Citations94

Automatic fence insertion for shared memory multiprocessing

  • Jun 23, 2003
  • Xing Fang +2
  • Research Article
  • Citations12

A volatile-by-default JVM for server applications

  • Oct 12, 2017
  • Proceedings of the ACM on Programming Languages
  • Lun Liu +2
  • Conference Article
  • Citations8

Defining uniform and hybrid memory consistency models on a unified framework

  • Jan 05, 1999
  • A.C.M Alves De Melo
  • Conference Article

Analysis and realization of Relaxed Consistency Memory model for multi-core CPU or GPU

  • Sep 01, 2014
  • Ramanarayan Mohanty +2
  • Research Article

Decidability of Liveness on the TSO Memory Model

  • Feb 13, 2026
  • Formal Aspects of Computing
  • Chao Wang +5
  • Research Article

Using the PGAS Programming Paradigm for Biological Sequence Alignment on a Chip Multi-Threading Architecture

  • Feb 29, 2008
  • Zenodo (CERN European Organization for Nuclear Research)
  • Mohamed Bakhouya +2
  • Research Article
  • Citations1

Automated Robustness Verification of Concurrent Data Structure Libraries against Relaxed Memory Models

  • Oct 08, 2024
  • Proceedings of the ACM on Programming Languages
  • Kartik Nagar +3
  • Conference Article
  • Citations6

Enabling Multi-physics Coupled Simulations within the PGAS Programming Framework

  • May 23, 2011
  • Fan Zhang +3
  • Conference Article
  • Citations58

Cohesion

  • Jun 19, 2010
  • John H Kelm +4
  • Research Article
  • Citations5

Extending a message passing runtime to support partitioned, global logical address spaces

  • Nov 13, 2016
  • D Brian Larkins +1
  • Research Article
  • Citations2

A New Approach for Code Generation from UML State Machine

  • Feb 28, 2013
  • International Review on Computers and Software
  • My Hafid Aabidi +3
  • Research Article

RESEARCH OF THE POSSIBILITIES OF THE C# PROGRAMMING LANGUAGE FOR CREATING CYBERSECURITY ANALYSIS SOFTWARE IN COMPUTER NETWORKS AND COMPUTER-INTEGRATED SYSTEMS

  • Jul 14, 2022
  • Advanced Information Systems
  • Vladyslav Pashynskykh +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.