COMMUNICATION OPTIMIZATION AND CODE GENERATION FOR DISTRIBUTED-MEMORY MACHINES

被引:1
|
作者
AMARASINGHE, SP [1 ]
LAM, MS [1 ]
机构
[1] STANFORD UNIV,COMP SYST LAB,STANFORD,CA 94305
来源
SIGPLAN NOTICES | 1993年 / 28卷 / 06期
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents several algorithms to solve code generation and optimization problems specific to machines with distributed address spaces. Given a description of how the computation is to be partitioned across the processors in a machine, our algorithms produce an SPMD (single program multiple data) program to be run on each processor. Our compiler generates the necessary receive and send instructions, optimizes the communication by eliminating redundant communication and aggregating small messages into large messages, allocates space locally on each processor, and translates global data addresses to local addresses. Our techniques are based on an exact data-flow analysis on individual array element accesses. Unlike data dependence analysis, this analysis determines if two dynamic instances refer to the same value, and not just to the same location. Using this information, our compiler can handle more flexible data decompositions and find more opportunities for communication optimization than systems based on data dependence analysis. Our technique is based on a uniform framework, where data decompositions, computation decompositions and the data flow information are all represented as systems of linear inequalities. We show that the problems of communication code generation, local memory management, message aggregation and redundant data communication elimination can all be solved by projecting polyhedra represented by sets of inequalities onto lower dimensional spaces.
引用
收藏
页码:126 / 138
页数:13
相关论文
共 50 条
  • [1] Code Generation for Distributed-Memory Architectures
    Zhao, Jie
    Zhao, Rongcai
    Xu, Jinchen
    [J]. COMPUTER JOURNAL, 2016, 59 (01): : 119 - 132
  • [2] IRREGULAR PERSONALIZED COMMUNICATION ON DISTRIBUTED-MEMORY MACHINES
    RANKA, S
    WANG, JC
    KUMAR, M
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1995, 25 (01) : 58 - 71
  • [3] Code Generation and Optimization of Distributed-Memory Dense Linear Algebra Kernels
    Marker, Bryan
    Batory, Don
    van de Geijn, Robert
    [J]. 2013 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, 2013, 18 : 1282 - 1291
  • [4] Eliminating redundant communication of code generation for distributed memory machines
    Shen, Ya Nan
    Zhao, Rong Cai
    Wang, Lei
    [J]. SNPD 2007: EIGHTH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING, AND PARALLEL/DISTRIBUTED COMPUTING, VOL 2, PROCEEDINGS, 2007, : 751 - +
  • [5] Efficient communication sets generation for block-cyclic distribution on distributed-memory machines
    Huang, TC
    Shiu, LC
    [J]. JOURNAL OF SYSTEMS ARCHITECTURE, 2003, 48 (8-10) : 255 - 265
  • [6] COMMUNICATION ASPECTS OF THE CONJUGATE-GRADIENT METHOD ON DISTRIBUTED-MEMORY MACHINES
    CRONE, LGC
    VANDERVORST, HA
    [J]. SUPERCOMPUTER, 1993, 10 (06): : 4 - 9
  • [7] Code generation for accurate array redistribution on automatic distributed-memory parallelization
    Zhao, Bo
    Ding, Rui
    Han, Lin
    Xu, Jinlong
    [J]. INTERNATIONAL JOURNAL OF NETWORKED AND DISTRIBUTED COMPUTING, 2014, 2 (01) : 11 - 25
  • [8] Code generation for accurate array redistribution on automatic distributed-memory parallelization
    Ding, Rui
    Zhao, Rongcai
    Fu, Liguo
    [J]. 2013 14TH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING AND PARALLEL/DISTRIBUTED COMPUTING (SNPD 2013), 2013, : 267 - 274
  • [9] PERFORMANCE OF ITERATIVE METHODS FOR DISTRIBUTED-MEMORY MACHINES
    MARINESCU, DC
    RICE, JR
    VAVALIS, EA
    [J]. APPLIED NUMERICAL MATHEMATICS, 1993, 12 (05) : 421 - 430
  • [10] Optimal scheduling algorithm for distributed-memory machines
    Darbha, S
    Agrawal, DP
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 1998, 9 (01) : 87 - 95