Source-to-source compilation targeting OpenMP-based automatic parallelization of C applications

被引:0
|
作者
Hamid Arabnejad
João Bispo
João M. P. Cardoso
Jorge G. Barbosa
机构
[1] Universidade do Porto,INESC TEC and Faculdade de Engenharia
[2] Universidade do Porto,LIACC and Faculdade de Engenharia
来源
关键词
Static code analysis; Compiler framework; Parallel programming; Code transformations;
D O I
暂无
中图分类号
学科分类号
摘要
Directive-driven programming models, such as OpenMP, are one solution for exploring the potential parallelism when targeting multicore architectures. Although these approaches significantly help developers, code parallelization is still a non-trivial and time-consuming process, requiring parallel programming skills. Thus, many efforts have been made toward automatic parallelization of the existing sequential code. This article presents AutoPar-Clava, an OpenMP-based automatic parallelization compiler which: (1) statically detects parallelizable loops in C applications; (2) classifies variables used inside the target loop based on their access pattern; (3) supports reduction clauses on scalar and array variables whenever it is applicable; and (4) generates a C OpenMP parallel code from the input sequential version. The effectiveness of AutoPar-Clava is evaluated by using the NAS and Polyhedral Benchmark suites and targeting a x86-based computing platform. The achieved results are very promising and compare favorably with closely related auto-parallelization compilers, such as Intel C/C++ Compiler (icc), ROSE, TRACO and CETUS.
引用
收藏
页码:6753 / 6785
页数:32
相关论文
共 50 条
  • [1] Source-to-source compilation targeting OpenMP-based automatic parallelization of C applications
    Arabnejad, Hamid
    Bispo, Joao
    Cardoso, Joao M. P.
    Barbosa, Jorge G.
    [J]. JOURNAL OF SUPERCOMPUTING, 2020, 76 (09): : 6753 - 6785
  • [2] AutoPar-Clava: An Automatic Parallelization source-to-source tool for C code applications
    Arabnejad, Hamid
    Bispo, Joao
    Barbosa, Jorge G.
    Cardoso, Joao M. P.
    [J]. PARMA-DITAM 2018: 9TH WORKSHOP ON PARALLEL PROGRAMMING AND RUNTIME MANAGEMENT TECHNIQUES FOR MANY-CORE ARCHITECTURES AND 7TH WORKSHOP ON DESIGN TOOLS AND ARCHITECTURES FOR MULTICORE EMBEDDED COMPUTING PLATFORMS, 2018, : 13 - 19
  • [3] Source-to-Source Automatic Differentiation of OpenMP Parallel Loops
    Hueckelheim, Jan
    Hascoet, Laurent
    [J]. ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 2022, 48 (01):
  • [4] Novel Source-to-Source Compiler Approach for the Automatic Parallelization of Codes Based on the Method of Moments
    Gomez-Sousa, Hipolito
    Arenaz, Manuel
    Rubinos-Lopez, Oscar
    Angel Martinez-Lorenzo, Jose
    [J]. 2015 9th European Conference on Antennas and Propagation (EuCAP), 2015,
  • [5] Clava: C/C plus plus source-to-source compilation using LARA
    Bispo, Joao
    Cardoso, Joao M. P.
    [J]. SOFTWAREX, 2020, 12
  • [6] Using Source-to-Source Transformation Tools to Provide Distributed Parallel Applications from OpenMP Source Code
    Renault, Eric
    [J]. PROCEEDINGS OF THE INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING, 2008, : 197 - 204
  • [7] A CPU-FPGA Holistic Source-To-Source Compilation Approach for Partitioning and Optimizing C/C plus plus Applications
    Santos, Tiago
    Bispo, Joao
    Cardoso, Joao M. P.
    [J]. 2023 32ND INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, PACT, 2023, : 320 - 322
  • [8] A C/C plus plus Source-to-Source Compiler for dependable applications
    Benso, A
    Chiusano, S
    Prinetto, P
    Tagliaferri, L
    [J]. DSN 2000: INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS, PROCEEDINGS, 2000, : 71 - 78
  • [9] An OpenMP based Parallelization Compiler for C Applications
    Arabnejad, Hamid
    Bispo, Joao
    Barbosa, Jorge G.
    Cardoso, Joao M. P.
    [J]. 2018 IEEE INT CONF ON PARALLEL & DISTRIBUTED PROCESSING WITH APPLICATIONS, UBIQUITOUS COMPUTING & COMMUNICATIONS, BIG DATA & CLOUD COMPUTING, SOCIAL COMPUTING & NETWORKING, SUSTAINABLE COMPUTING & COMMUNICATIONS, 2018, : 915 - 923
  • [10] Source-to-source instrumentation for the optimization of an automatic reading system
    Pereira, P
    Heutte, L
    Lecourtier, Y
    [J]. JOURNAL OF SUPERCOMPUTING, 2001, 18 (01): : 89 - 104