arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1506.09100cs.DS
收藏

多项式时间构造最优树形通信数据布局描述

Polynomial-time Construction of Optimal Tree-structured Communication Data Layout Descriptions

Robert Ganian, Martin Kalany, Stefan Szeider, Jesper Larsson Träff

摘要:

我们表明,构建树结构的数据布局,是最佳的空间或其他标准,从给定的序列的位移的描述的问题,可以解决在多项式时间。这个问题是相关的高效的编译器和库支持通信的非连续数据,树结构的描述与低度节点和小索引数组是有益的通信软件和硬件。一个重要的例子是消息传递接口(MPI),它具有一种使用一组越来越通用的构造函数将任意数据布局描述为树的机制。我们的算法表明,所谓的MPI数据类型重建问题的树与完整的MPI构造函数集可以在多项式时间内得到最佳解决,反驳了以前的说法,该问题是NP-难的。我们的算法可以进一步处理自然构造函数,目前在MPI中找不到。我们的算法是基于动态规划,并要求解决一系列的最短路径问题的增量建立,有向,无环图。该算法以$O(n^4)$时间步长运行,并且需要$O(n^2)$空间用于长度为$n$的输入位移序列。

英文摘要:

We show that the problem of constructing tree-structured descriptions of data layouts that are optimal with respect to space or other criteria from given sequences of displacements, can be solved in polynomial time. The problem is relevant for efficient compiler and library support for communication of noncontiguous data, where tree-structured descriptions with low-degree nodes and small index arrays are beneficial for the communication soft- and hardware. An important example is the Message-Passing Interface (MPI) which has a mechanism for describing arbitrary data layouts as trees using a set of increasingly general constructors. Our algorithm shows that the so-called MPI datatype reconstruction problem by trees with the full set of MPI constructors can be solved optimally in polynomial time, refuting previous conjectures that the problem is NP-hard. Our algorithm can handle further, natural constructors, currently not found in MPI. Our algorithm is based on dynamic programming, and requires the solution of a series of shortest path problems on an incrementally built, directed, acyclic graph. The algorithm runs in $O(n^4)$ time steps and requires $O(n^2)$ space for input displacement sequences of length $n$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑