作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (20): 15-17. doi: 10.3969/j.issn.1000-3428.2007.20.005

• 博士论文 • 上一篇    下一篇

基于DAG图的自适应代码划分优化算法

周 静1,2;曾国荪1,2

  

  1. 1. 同济大学计算机科学及技术系,上海 201804;2. 国家高性能计算机工程技术中心同济分中心,上海 201804
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-10-20 发布日期:2007-10-20

Adaptive Algorithm for Code Partitioning Based on DAG

ZHOU Jing1,2;ZENG Guo-sun1,2

  

  1. 1. Department of Computer Science and Technology, Tongji University, Shanghai 201804;2. Tongji Branch, National Engineering & Technology Center of High Performance Computer, Shanghai 201804
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-10-20 Published:2007-10-20

摘要: 并行编译的两大工作是程序代码划分和调度。对于调度问题,目前已有大量的解决方案,但是针对代码划分提取并行性的研究工作却非常少。该文提出了通过合并结点来划分DAG图的新的划分算法。实例分析证明,该算法是一种有效的、低复杂度的自适应代码划分解决方案,并且适用于异构计算的任务图划分。

关键词: 并行编译, 有向无环图, 代码划分, 任务合并, 关键路径

Abstract: Two main phrases of the compiler of the parallel machine are the code partitioning to abstract parallelism and the scheduling phrase. There are many more solutions to the scheduling phrase in the literature, but few regards the code partitioning phrase. A novel adaptive algorithm for code partitioning which merges points to partition the directed acyclic graph (DAG) is presented. It has been proved through the case that the algorithm is an efficient and low complexity solution for code partitioning. It is also suitable to the task graph partitioning for heterogeneous computing.

Key words: parallel compiler, directed acyclic graph (DAG), code partitioning, task merging, critical path

中图分类号: