Modular Divide-and-Conquer Parallelization of Nested Loops

被引:9
|
作者
Farzan, Azadeh [1 ]
Nicolet, Victor [1 ]
机构
[1] Univ Toronto, Toronto, ON, Canada
关键词
Parallelization; Program Synthesis; Homomorphisms; Divide and Conquer; PERFORMANCE; ALGORITHMS; CODE;
D O I
10.1145/3314221.3314612
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We propose a methodology for automatic generation of divide-and-conquer parallel implementations of sequential nested loops. We focus on a class of loops that traverse read-only multidimensional collections (lists or arrays) and compute a function over these collections. Our approach is modular, in that, the inner loop nest is abstracted away to produce a simpler loop nest for parallelization. The summarized version of the loop nest is then parallelized. The main challenge addressed by this paper is that to perform the code transformations necessary in each step, the loop nest may have to be augmented (automatically) with extra computation to make possible the abstraction and/or the parallelization tasks. We present theoretical results to justify the correctness of our modular approach, and algorithmic solutions for automation. Experimental results demonstrate that our approach can parallelize highly non-trivial loop nests efficiently.
引用
下载
收藏
页码:610 / 624
页数:15
相关论文
共 50 条
  • [31] AVERAGE COMPLEXITY OF DIVIDE-AND-CONQUER ALGORITHMS
    VEROY, BS
    INFORMATION PROCESSING LETTERS, 1988, 29 (06) : 319 - 326
  • [32] Automatic parallelization of divide and conquer algorithms
    Rugina, R
    Rinard, M
    ACM SIGPLAN NOTICES, 1999, 34 (08) : 72 - 83
  • [33] Speaker Diarization Using Divide-and-Conquer
    Cheng, Shih-Sian
    Tseng, Chun-Han
    Chen, Chia-Ping
    Wang, Hsin-Min
    INTERSPEECH 2009: 10TH ANNUAL CONFERENCE OF THE INTERNATIONAL SPEECH COMMUNICATION ASSOCIATION 2009, VOLS 1-5, 2009, : 1059 - +
  • [34] Divide-and-Conquer With Sequential Monte Carlo
    Lindsten, F.
    Johansen, A. M.
    Naesseth, C. A.
    Kirkpatrick, B.
    Schon, T. B.
    Aston, J. A. D.
    Bouchard-Cote, A.
    JOURNAL OF COMPUTATIONAL AND GRAPHICAL STATISTICS, 2017, 26 (02) : 445 - 458
  • [35] SOLUTION OF A DIVIDE-AND-CONQUER MAXIMIN RECURRENCE
    LI, Z
    REINGOLD, EM
    SIAM JOURNAL ON COMPUTING, 1989, 18 (06) : 1188 - 1200
  • [36] A divide-and-conquer approach to evolvable hardware
    Torresen, J
    EVOLVABLE SYSTEMS: FROM BIOLOGY TO HARDWARE, 1998, 1478 : 57 - 65
  • [37] Synthesis of Implementations for Divide-and-Conquer Specifications
    Bortin, Maksym
    FORMAL METHODS: FOUNDATIONS AND APPLICATIONS, SBMF 2022, 2022, 13768 : 73 - 88
  • [38] FINDING RECTANGLE INTERSECTIONS BY DIVIDE-AND-CONQUER
    GUTING, RH
    WOOD, D
    IEEE TRANSACTIONS ON COMPUTERS, 1984, 33 (07) : 671 - 675
  • [39] A frame for general divide-and-conquer recurrences
    Wang, XD
    Fu, QX
    INFORMATION PROCESSING LETTERS, 1996, 59 (01) : 45 - 51
  • [40] A DIVIDE-AND-CONQUER METHOD FOR POLYNOMIAL ZEROS
    FREEMAN, TL
    BRANKIN, RW
    JOURNAL OF COMPUTATIONAL AND APPLIED MATHEMATICS, 1990, 30 (01) : 71 - 79