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

计算机工程 ›› 2012, Vol. 38 ›› Issue (2): 42-44. doi: 10.3969/j.issn.1000-3428.2012.02.013

• 软件技术与数据库 • 上一篇    下一篇

基于GPU的单源最短路径算法设计与实现

郭绍忠 1,王 伟 1,周 刚 1,胡 艳 2   

  1. (1. 解放军信息工程大学信息工程学院,郑州 450002;2. 卫星导航定位总站,北京 100094)
  • 收稿日期:2011-07-13 出版日期:2012-01-20 发布日期:2012-01-20
  • 作者简介:郭绍忠(1964-),女,副教授,主研方向:分布式计算;王 伟,硕士研究生;周 刚,副教授、博士;胡 艳,硕士

Design and Implementation of GPU-based Single Source Shortest Path Algorithm

GUO Shao-zhong 1, WANG Wei 1, ZHOU Gang 1, HU Yan 2   

  1. (1. Institute of Information Engineering, PLA Information Engineering University, Zhengzhou 450002, China; 2. Satellite Tracking and Locating Terminal Station, Beijing 100094, China)
  • Received:2011-07-13 Online:2012-01-20 Published:2012-01-20

摘要: 针对目前图形处理器(GPU)上的动态数据处理问题,在分析现有并行单源最短路径(SSSP)算法的基础上,对GPU上的Moore SSSP算法进行并行化设计与实现。搜索时,综合应用层次化任务分配、层次化工作队列、层次化Kernel调用等策略。在不同类型图数据上进行实验测试,实验结果表明,该算法能有效减少空线程开销、访存开销以及同步时间。

关键词: 图形处理器, 图论, 动态数据, 单源最短路径, 计算统一设备架构

Abstract: Based on analyzing existing parallel Single Source Shortest Path(SSSP) algorithm, aiming at the problem of dynamic data processing on Graphic Processor Unit(GPU), this paper designs and implements parallel Moore SSSP algorithm on GPU. The algorithm applies strategies like hierarchical task arrangement, hierarchical work queue and hierarchical Kernel invokes in key step. Experimental results indicate that the algorithm can reduce idle thread cost, memory access cost and synchronizing cost.

Key words: Graphic Processor Unit(GPU), graphic theory, dynamic data, Single Source Shortest Path(SSSP), Compute Unified Device Architecture(CUDA)

中图分类号: