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 条
  • [1] Source-to-source compilation targeting OpenMP-based automatic parallelization of C applications
    Hamid Arabnejad
    João Bispo
    João M. P. Cardoso
    Jorge G. Barbosa
    The Journal of Supercomputing, 2020, 76 : 6753 - 6785
  • [2] Source-to-source compilation targeting OpenMP-based automatic parallelization of C applications
    Arabnejad, Hamid
    Bispo, Joao
    Cardoso, Joao M. P.
    Barbosa, Jorge G.
    JOURNAL OF SUPERCOMPUTING, 2020, 76 (09): : 6753 - 6785
  • [3] Clava: C/C plus plus source-to-source compilation using LARA
    Bispo, Joao
    Cardoso, Joao M. P.
    SOFTWAREX, 2020, 12
  • [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
    2015 9th European Conference on Antennas and Propagation (EuCAP), 2015,
  • [5] A C/C plus plus Source-to-Source Compiler for dependable applications
    Benso, A
    Chiusano, S
    Prinetto, P
    Tagliaferri, L
    DSN 2000: INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS, PROCEEDINGS, 2000, : 71 - 78
  • [6] Source-to-source translation for code-optimization
    Chowdhary, K. R.
    Purohit, Rajendra
    Purohit, Sunil Dutt
    JOURNAL OF INFORMATION & OPTIMIZATION SCIENCES, 2023, 44 (03): : 407 - 416
  • [7] Source-to-source instrumentation for the optimization of an automatic reading system
    Pereira, P
    Heutte, L
    Lecourtier, Y
    JOURNAL OF SUPERCOMPUTING, 2001, 18 (01): : 89 - 104
  • [8] Using Source-to-Source Transformation Tools to Provide Distributed Parallel Applications from OpenMP Source Code
    Renault, Eric
    PROCEEDINGS OF THE INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING, 2008, : 197 - 204
  • [9] Automatic Sparsity Detection implemented as a source-to-source transformation
    Giering, Ralf
    Kaminski, Thomas
    COMPUTATIONAL SCIENCE - ICCS 2006, PT 4, PROCEEDINGS, 2006, 3994 : 591 - 598
  • [10] AUTOMATIC SOURCE-CODE PARALLELIZATION USING HICOR OBJECTS
    GILDER, MR
    KRISHNAMOORTHY, MS
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 1994, 22 (03) : 303 - 350