【24h】

A Parallel Algorithm for Minimum Spanning Tree on GPU

机译:GPU上最小生成树的并行算法

获取原文

摘要

Computing a minimum spanning tree (MST) of a graph is a fundamental problem in Graph Theory and arises as a subproblem in many applications. In this paper, we propose a parallel MST algorithm and implement it on a GPU (Graphics Processing Unit). One of the steps of previous parallel MST algorithms is a heavy use of parallel list ranking. Besides the fact that list ranking is present in several parallel libraries, it is very time-consuming. Using a different graph decomposition, called strut, we devised a new parallel MST algorithm that does not make use of the list ranking procedure. Based on the BSP/CGM model we proved that our algorithm is correct and it finds the MST after O(log p) iterations (communication and computation rounds). To show that our algorithm has a good performance onreal parallel machines, we have implemented it on GPU. The way that we have designed the parallel algorithm allowed us to exploit the computing power of the GPU. The efficiency of the algorithm was confirmed by our experimental results. The tests performed show that, for randomly constructed graphs, with vertex numbers varying from 10,000 to 30,000 and density between 0.02 and 0.2, the algorithm constructs an MST in a maximum of six iterations. When the graph is not very sparse, our implementation achieved a speedup of more than 50, for some instances as high 296, over a minimum spanning tree sequential algorithm previously proposed in the literature.
机译:计算图形的最小生成树(MST)是图中的基本问题,并作为许多应用中的子问题。在本文中,我们提出了一种并行MST算法并在GPU(图形处理单元)上实现它。先前并行MST算法的步骤之一是繁重的并行列表排名。除了在几个并行库中存在列表排名的事实,它非常耗时。使用不同的图形分解,称为Strut,我们设计了一种新的并行MST算法,不利用列表排名过程。基于BSP / CGM模型,我们证明了我们的算法是正确的,并且它在O(log p)迭代之后发现了MST(通信和计算轮)。为了表明,我们的算法具有良好的性能onreal并联机器,我们已经在GPU上实施了它。我们设计并行算法的方式使我们能够利用GPU的计算能力。我们的实验结果证实了算法的效率。所执行的测试表明,对于随机构造的图表,顶点数在10,000到30,000之间变化和0.02和0.2之间的密度,该算法最多地构造了六个迭代的MST。当图不是很稀疏,我们的实施实现了加速的超过50,对于某些情况下高达296,比以前文献提出了最小生成树顺序算法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号