SSSP on GPU without atomic operation

Feng Wang, Liehuang Zhu, Changyou Zhang*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Graph is a general theoretical model in many large scale data-driven applications. SSSP (Single Source Shortest Path) algorithm is a foundation for most important algorithms and applications. GPU remains its mainstream station in high performance computing with heterogeneous architecture computers. Because of the high parallelization of the GPU threads, the distances of the vertices of the GPU are updated by atomic operations to avoid the read and write errors. Most atomic operations are unnecessary since the read-write conflicts are rare in large graph. However, without atomic operations the result accuracy can’t be guaranteed. The atomic operations take large part of the running time of the program. To improve the performance of SSSP on GPU, we proposed an algorithm with data block iterations instead of atomic operations. The algorithm not only gets a high speed-up but also guarantees the accuracy of the result. Experimental results show that this SSSP algorithm gained a speedup of three times than the serial algorithm on CPU and more than ten times than the parallel algorithm on GPU with atomic operation.

Original languageEnglish
Title of host publicationHuman Centered Computing - 2nd International Conference, HCC 2016, Revised Selected Papers
EditorsBo Hu, Qiaohong Zu
PublisherSpringer Verlag
Pages409-419
Number of pages11
ISBN (Print)9783319318530
DOIs
Publication statusPublished - 2016
Event2nd International Conference on Human Centered Computing, HCC 2016 - Colombo, Sri Lanka
Duration: 7 Jan 20169 Jan 2016

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume9567
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference2nd International Conference on Human Centered Computing, HCC 2016
Country/TerritorySri Lanka
CityColombo
Period7/01/169/01/16

Keywords

  • Atomic operation
  • Data block iteration
  • Graph
  • SSSP

Fingerprint

Dive into the research topics of 'SSSP on GPU without atomic operation'. Together they form a unique fingerprint.

Cite this