Towards Transactional Memory for OpenMP

被引:0
|
作者
Wong, Michael [1 ]
Ayguade, Eduard
Gottschlich, Justin [2 ]
Luchangco, Victor [3 ]
de Supinski, Bronis R. [4 ]
Bihari, Barna [4 ]
机构
[1] IBM Corp, Bangalore, Karnataka, India
[2] Intel, Eindhoven, Netherlands
[3] Oracle, Redwood Shores, CA USA
[4] LLNL, Livermore, CA USA
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The OpenMP specification lacks a composable shared memory concurrency mechanism: the current OpenMP concurrency mechanisms, such as OMP critical, locks, or atomics, do not support composition. In this paper, we motivate the need for transactional memory (TM) in OpenMP. The chief reason is to support composition of realistic programs, but we also consider whether TM is easier to program than locks, the use case for TM, and whether a software-only TM can outperform traditional locking through a survey of recent publications. This paper advances upon previous proposals of OpenMP TM by introducing a new construct specifically to handle irrevocable actions, which is also composable. It also proposes a pure atomic transaction construct as well as the concept of transaction safety. Further, we examine how our proposed construct integrates with current OpenMP constructs.
引用
收藏
页码:130 / 145
页数:16
相关论文
共 50 条
  • [1] Towards transactional memory for OpenMP
    Wong, Michael, 1600, Springer Verlag (8766):
  • [2] Transactional Memory and OpenMP
    Milovanovic, Milos
    Ferrer, Roger
    Unsal, Osman S.
    Cristal, Adrian
    Martorell, Xavier
    Ayguade, Eduard
    Labarta, Jesus
    Valero, Mateo
    PRACTICAL PROGRAMMING MODEL FOR THE MULTI-CORE ERA, PROCEEDINGS, 2008, 4935 : 37 - 53
  • [3] An extension for Transactional Memory in OpenMP
    Jardim, Andre D.
    Oliveira, Kevin
    Cardoso, Diogo J.
    Di Domenico, Daniel
    Du Bois, Andre R.
    Cavalheiro, Gerson G. H.
    25TH BRAZILIAN SYMPOSIUM ON PROGRAMMING LANGUAGES, SBLP 2021, 2021, : 58 - 65
  • [4] Using Hardware Transactional Memory to Implement Speculative Privatization in OpenMP
    Salamanca, Juan
    Baldassin, Alexandro
    LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING, LCPC 2020, 2022, 13149 : 57 - 73
  • [6] Parallization of Adaboost Algorithm Through Hybrid MPI/OpenMP and Transactional Memory
    Zeng, Kun
    Tang, Yuhua
    Liu, Fudong
    PROCEEDINGS OF THE 19TH INTERNATIONAL EUROMICRO CONFERENCE ON PARALLEL, DISTRIBUTED, AND NETWORK-BASED PROCESSING, 2011, : 94 - 100
  • [7] On the Algorithmic Aspects of Using OpenMP Synchronization Mechanisms: The Effects of Transactional Memory
    Bihari, Barna L.
    Wong, Michael
    de Supinski, Bronis R.
    Diachin, Lori
    USING AND IMPROVING OPENMP FOR DEVICES, TASKS, AND MORE, 2014, 8766 : 115 - 129
  • [8] Towards formally specifying and verifying transactional memory
    Doherty, Simon
    Groves, Lindsay
    Luchangco, Victor
    Moir, Mark
    FORMAL ASPECTS OF COMPUTING, 2013, 25 (05) : 769 - 799
  • [9] Towards Transactional Memory Semantics for C plus
    Shpeisman, Tatiana
    Adl-Tabatabai, Ali-Reza
    Geva, Robert
    Ni, Yang
    Welc, Adam
    SPAA'09: PROCEEDINGS OF THE TWENTY-FIRST ANNUAL SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, 2009, : 49 - 58
  • [10] Towards Load Balanced Distributed Transactional Memory
    Sharma, Gokarna
    Busch, Costas
    EURO-PAR 2012 PARALLEL PROCESSING, 2012, 7484 : 403 - 414