Automatic scoping of task clauses for the OpenMP tasking model

被引:6
|
作者
Wang, Chun-Kun [1 ]
Chen, Peng-Sheng [2 ]
机构
[1] Natl Chung Cheng Univ, Dept Comp Sci & Informat Engn, Chiayi 621, Taiwan
[2] Natl Chung Cheng Univ, Adv Inst Mfg High Tech Innovat, Dept Comp Sci & Informat Engn, Chiayi 621, Taiwan
来源
JOURNAL OF SUPERCOMPUTING | 2015年 / 71卷 / 03期
关键词
OpenMP; Tasking model; Parallelization; Validation;
D O I
10.1007/s11227-014-1326-3
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
OpenMP provides an easy-to-learn and powerful programming environment for the development of parallel programs. We propose here an algorithm for the automatic correction of the OpenMP tasking model. Assuming a compiler or programmer has identified task regions in the source programs, the proposed algorithm will automatically generate correct task clauses and synchronization. The proposed algorithm is implemented here based on the ROSE compiler infrastructure; 14 benchmark programs are tested, each of which has had all clauses in the task directives removed for the evaluation. The results of this experimental evaluation show that the proposed technique can successfully generate correct clauses for the tested benchmark programs. The proposed technique can simplify the parallelizing of programs using the OpenMP tasking model, making parallel programming more effective and productive.
引用
收藏
页码:808 / 823
页数:16
相关论文
共 50 条
  • [21] Defining synthesizable OpenMP directives and clauses
    Dziurzanski, P
    Beletskyy, V
    COMPUTATIONAL SCIENCE - ICCS 2004, PT 3, PROCEEDINGS, 2004, 3038 : 398 - 407
  • [22] Taskgraph: A Low Contention OpenMP Tasking Framework
    Yu, Chenle
    Royuela, Sara
    Quinones, Eduardo
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2023, 34 (08) : 2325 - 2336
  • [23] OpenMP Tasking and MPI in a Lattice QCD Benchmark
    Meadows, Larry
    Ishikawa, Ken-ichi
    SCALING OPENMP FOR EXASCALE PERFORMANCE AND PORTABILITY (IWOMP 2017), 2017, 10468 : 77 - 91
  • [24] Multiple Target Task Sharing Support for the OpenMP Accelerator Model
    Ozen, Guray
    Mateo, Sergi
    Ayguade, Eduard
    Labarta, Jesus
    Beyer, James
    OPENMP: MEMORY, DEVICES, AND TASKS, 2016, 9903 : 268 - 280
  • [25] Adaptive Task Granularity Strategy for OpenMP3.0 Task Model on Cell Architecture
    Cao, Qian
    Hu, Changjun
    Li, Shigang
    He, Haohu
    HIGH PERFORMANCE NETWORKING, COMPUTING, AND COMMUNICATION SYSTEMS, 2011, 163 : 393 - 400
  • [26] An evaluation of auto-scoping in OpenMP
    Voss, M
    Chiu, E
    Chow, PMY
    Wong, C
    Yuen, K
    SHARED MEMORY PARALLEL PROGRAMMING WITH OPENMP, 2005, 3349 : 98 - 109
  • [27] On the Impact of OpenMP Task Granularity
    Gautier, Thierry
    Perez, Christian
    Richard, Jerome
    EVOLVING OPENMP FOR EVOLVING ARCHITECTURES, 2018, 11128 : 205 - 221
  • [28] A proposal for task parallelism in OpenMP
    Ayguade, Eduard
    Copty, Nawal
    Duran, Alejandro
    Hoeflinger, Jay
    Lin, Yuan
    Massaioli, Federico
    Su, Ernesto
    Unnikrishnan, Priya
    Zhang, Guansong
    PRACTICAL PROGRAMMING MODEL FOR THE MULTI-CORE ERA, PROCEEDINGS, 2008, 4935 : 1 - 12
  • [29] Approaches for Task Affinity in OpenMP
    Terboven, Christian
    Hahnfeld, Jonas
    Teruel, Xavier
    Mateo, Sergi
    Duran, Alejandro
    Klemm, Michael
    Olivier, Stephen L.
    de Supinski, Bronis R.
    OPENMP: MEMORY, DEVICES, AND TASKS, 2016, 9903 : 102 - 115
  • [30] Evaluating the Efficiency of OpenMP Tasking for Unbalanced Computation on Diverse CPU Architectures
    Olivier, Stephen L.
    OPENMP: PORTABLE MULTI-LEVEL PARALLELISM ON MODERN SYSTEMS, 2020, 12295 : 18 - 33