AutoPar-Clava: An Automatic Parallelization source-to-source tool for C code applications

被引:6
|
作者
Arabnejad, Hamid [1 ]
Bispo, Joao [2 ]
Barbosa, Jorge G. [3 ]
Cardoso, Joao M. P. [2 ]
机构
[1] Univ Porto, Fac Engn FEUP, Porto, Portugal
[2] Univ Porto, Fac Engn FEUP, INESC TEC, Porto, Portugal
[3] Univ Porto, Fac Engn FEUP, LIACC, Porto, Portugal
来源
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年
关键词
Automatic parallelization; source-to-source Compilation; Parallel Programming; OpenMP; DEPENDENCE; EFFICIENT;
D O I
10.1145/3183767.3183770
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Automatic parallelization of sequential code has become increasingly relevant in multicore programming. In particular, loop parallelization continues to be a promising optimization technique for scienti.c applications, and can provide considerable speedups for program execution. Furthermore, if we can verify that there are no true data dependencies between loop iterations, they can be easily parallelized. This paper describes Clava AutoPar, a library for the Clava weaver that performs automatic and symbolic parallelization of C code. The library is composed of two main parts, parallel loop detection and source-to-source code parallelization. The system is entirely automatic and attempts to statically detect parallel loops for a given input program, without any user intervention or profiling information. We obtained a geometric mean speedup of 1.5 for a set of programs from the C version of the NAS benchmark, and experimental results suggest that the performance obtained with Clava AutoPar is comparable or better than other similar research and commercial tools.
引用
收藏
页码:13 / 19
页数:7
相关论文
共 50 条
  • [41] Automatic source code generation for microcontrollers
    Rozehnal, Z
    PROGRAMMABLE DEVICES AND SYSTEMS, 2000, : 195 - 197
  • [42] A Survey of Automatic Source Code Summarization
    Zhang, Chunyan
    Wang, Junchao
    Zhou, Qinglei
    Xu, Ting
    Tang, Ke
    Gui, Hairen
    Liu, Fudong
    SYMMETRY-BASEL, 2022, 14 (03):
  • [43] Automatic Source Code Plagiarism Detection
    Kustanto, Cynthia
    Liem, Inggriani
    SNPD 2009: 10TH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCES, NETWORKING AND PARALLEL DISTRIBUTED COMPUTING, PROCEEDINGS, 2009, : 481 - 486
  • [44] Modification of IRI-2016 source code: improvements, parallelization
    Ivonin, Vladimir A.
    Lebedev, Valentin P.
    Yasyukevich, Yury V.
    2024 4TH URSI ATLANTIC RADIO SCIENCE MEETING, AT-RASC 2024, 2024,
  • [45] Hybrid parallelization of the LIGGGHTS open-source DEM code
    Berger, R.
    Kloss, C.
    Kohlmeyer, A.
    Pirker, S.
    POWDER TECHNOLOGY, 2015, 278 : 234 - 247
  • [46] GPT-Driven Source-to-Source Transformation for Generating Compilable Parallel CUDA Code for Nussinov's Algorithm
    Palkowski, Marek
    Gruzewski, Mateusz
    ELECTRONICS, 2024, 13 (03)
  • [47] Automatic Code Review by Learning the Revision of Source Code
    Shi, Shu-Ting
    Li, Ming
    Lo, David
    Thung, Ferdian
    Huo, Xuan
    THIRTY-THIRD AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FIRST INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE / NINTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2019, : 4910 - 4917
  • [48] Automatic verification of object code against source code
    Subramanian, S
    Cook, JV
    COMPASS '96 - PROCEEDINGS OF THE ELEVENTH ANNUAL CONFERENCE ON COMPUTER ASSURANCE: SYSTEMS INTEGRITY, SOFTWARE SAFETY, PROCESS SECURITY, 1996, : 46 - 55
  • [49] Source-to-Source Parallelization Compilers for Scientific Shared-Memory Multi-core and Accelerated Multiprocessing: Analysis, Pitfalls, Enhancement and Potential
    Re’em Harel
    Idan Mosseri
    Harel Levin
    Lee-or Alon
    Matan Rusanovsky
    Gal Oren
    International Journal of Parallel Programming, 2020, 48 : 1 - 31
  • [50] A Performance Testing Tool for Source Code
    Luo, Jun
    Yang, Wei
    MECHANICAL DESIGN AND POWER ENGINEERING, PTS 1 AND 2, 2014, 490-491 : 1553 - +