{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,5]],"date-time":"2026-11-05T02:48:10Z","timestamp":1793846890340,"version":"4.6.1"},"reference-count":17,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2015,4,16]],"date-time":"2015-04-16T00:00:00Z","timestamp":1429142400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Archit. Code Optim."],"published-print":{"date-parts":[[2015,4,16]]},"abstract":"<jats:p>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.<\/jats:p>\n          <jats:p>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.<\/jats:p>","DOI":"10.1145\/2701618","type":"journal-article","created":{"date-parts":[[2015,4,17]],"date-time":"2015-04-17T22:12:01Z","timestamp":1429308721000},"page":"1-26","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":37,"title":["HRF-Relaxed"],"prefix":"10.1145","volume":"12","author":[{"given":"Benedict R.","family":"Gaster","sequence":"first","affiliation":[{"name":"Qualcomm"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Derek","family":"Hower","sequence":"additional","affiliation":[{"name":"Qualcomm"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Lee","family":"Howes","sequence":"additional","affiliation":[{"name":"Qualcomm"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2015,4,16]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/1839676.1839697"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/325164.325100"},{"key":"e_1_2_1_3_1","unstructured":"Hans-J. Boehm. 2013. N3710: Specifying the absence of out of thin air results (LWG2265).  Hans-J. Boehm. 2013. N3710: Specifying the absence of out of thin air results (LWG2265)."},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/1375581.1375591"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/2618128.2618134"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/2701618"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/325164.325102"},{"key":"e_1_2_1_8_1","volume-title":"Wood","author":"Hechtman Blake A.","year":"2014","unstructured":"Blake A. Hechtman , Shuai Che , Derek R. Hower , Yingying Tian , Bradford M. Beckmann , Mark D. Hill , Steven K. Reinhardt , and David A . Wood . 2014 . QuickRelease: A throughput-oriented approach to release consistency on GPUs. In HPCA. 189--200. Blake A. Hechtman, Shuai Che, Derek R. Hower, Yingying Tian, Bradford M. Beckmann, Mark D. Hill, Steven K. Reinhardt, and David A. Wood. 2014. QuickRelease: A throughput-oriented approach to release consistency on GPUs. In HPCA. 189--200."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/2541940.2541981"},{"key":"e_1_2_1_10_1","unstructured":"HSA Foundation. 2012. Heterogeneous System Architecture: A Technical Review.  HSA Foundation. 2012. Heterogeneous System Architecture: A Technical Review."},{"key":"e_1_2_1_11_1","unstructured":"ISO. International Organization for Standardization. 2011. ISO\/IEC 14882:2011 information technology\u2014programming languages\u2014C&plus;&plus;.  ISO. International Organization for Standardization. 2011. ISO\/IEC 14882:2011 information technology\u2014programming languages\u2014C&plus;&plus;."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/357062.357068"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/1815961.1815987"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/1806596.1806636"},{"key":"e_1_2_1_15_1","unstructured":"NVIDIA Corporation. 2013. CUDA 5.5 C Programming Guide.  NVIDIA Corporation. 2013. CUDA 5.5 C Programming Guide."},{"key":"e_1_2_1_16_1","unstructured":"Oracle. 2014. The Java Langauge Specification.  Oracle. 2014. The Java Langauge Specification."},{"key":"e_1_2_1_17_1","volume-title":"Atomic weapons: The C&plus;&plus","author":"Sutter Herb","unstructured":"Herb Sutter . 2012. Atomic weapons: The C&plus;&plus ; memory model and modern hardware. In C&plus;&plus; and Beyond . Herb Sutter. 2012. Atomic weapons: The C&plus;&plus; memory model and modern hardware. In C&plus;&plus; and Beyond."}],"container-title":["ACM Transactions on Architecture and Code Optimization"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2701618","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/2701618","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T06:12:17Z","timestamp":1750227137000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2701618"}},"subtitle":["Adapting HRF to the Complexities of Industrial Heterogeneous Memory Models"],"short-title":[],"issued":{"date-parts":[[2015,4,16]]},"references-count":17,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2015,4,16]]}},"alternative-id":["10.1145\/2701618"],"URL":"https:\/\/doi.org\/10.1145\/2701618","relation":{},"ISSN":["1544-3566","1544-3973"],"issn-type":[{"value":"1544-3566","type":"print"},{"value":"1544-3973","type":"electronic"}],"subject":[],"published":{"date-parts":[[2015,4,16]]},"assertion":[{"value":"2014-07-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2015-01-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2015-04-16","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}