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 条
  • [1] AUTOMATIC PARALLELIZATION OF DIVIDE-AND-CONQUER ALGORITHMS
    FREISLEBEN, B
    KIELMANN, T
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1992, 634 : 849 - 850
  • [2] Parallelization of divide-and-conquer eigenvector accumulation
    Gansterer, WN
    Zottl, J
    [J]. EURO-PAR 2005 PARALLEL PROCESSING, PROCEEDINGS, 2005, 3648 : 847 - 856
  • [3] Massive parallelization of divide-and-conquer algorithms over powerlists
    Achatz, K
    Schulte, W
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 1996, 26 (1-3) : 59 - 78
  • [4] Divide-and-conquer learning and modular perceptron networks
    Fu, HC
    Lee, YP
    Chiang, CC
    Pao, HT
    [J]. IEEE TRANSACTIONS ON NEURAL NETWORKS, 2001, 12 (02): : 250 - 263
  • [5] Divide-and-conquer learning and modular perceptron networks
    Fu, H.-C.
    Lee, Y.-P.
    Chiang, C.-C.
    Pao, H.-T.
    [J]. 2001, Institute of Electrical and Electronics Engineers Inc. (12):
  • [6] DIVIDE-AND-CONQUER
    SAWYER, P
    [J]. CHEMICAL ENGINEER-LONDON, 1990, (484): : 36 - 38
  • [7] DIVIDE-AND-CONQUER
    JEFFRIES, T
    [J]. BYTE, 1993, 18 (03): : 187 - &
  • [8] DIVIDE-AND-CONQUER
    WRIGHT, DP
    SCOFIELD, CL
    [J]. BYTE, 1991, 16 (04): : 207 - 210
  • [9] DIVIDE-AND-CONQUER
    GEORGHIOU, C
    [J]. FIBONACCI QUARTERLY, 1992, 30 (03): : 284 - 285
  • [10] DIVIDE-AND-CONQUER
    LEWIS, R
    [J]. CHEMISTRY IN BRITAIN, 1992, 28 (12) : 1092 - 1093