A fast GPU algorithm for graph connectivity
Jyothish Soman, Kishore Kothapalli, P. J. Narayanan · IEEE International Symposium on Parallel & Distributed Processing, Workshops and Phd Forum · 2010
Graphics processing units provide a large computational power at a very low price which position them as an ubiquitous accelerator. General purpose programming on the graphics processing units (GPGPU) is best suited for regular data parallel algorithms. They are not directly amenable for algorithms which have irregular data access patterns such as list ranking, and finding the connected components of a graph, and the like. In this work, we present a GPU-optimized implementation for finding the connected components of a given graph. Our implementation tries to minimize the impact of irregularity, both at the data level and functional level. Our implementation achieves a speed up of 9 to 12 times over the best sequential CPU implementation. For instance, our implementation finds connected components of a graph of 10 million nodes and 60 million edges in about 500 milliseconds on a GPU, given a random edge list. We also draw interesting observations on why PRAM algorithms, such as the Shiloach-Vishkin algorithm may not be a good fit for the GPU and how they should be modified.
Cited by 97 works. doi:10.1109/ipdpsw.2010.5470817
Authors
References
- Introduction to Algorithms
- Group formation in large social networks
- Graphs over time
- An O(logn) parallel connectivity algorithm
- Computing connected components on parallel computers
- An introduction to parallel algorithms
- R-MAT: A Recursive Model for Graph Mining
- Accelerating Large Graph Algorithms on the GPU Using CUDA
- Parallel algorithms for the transitive closure and the connected component problems
- A Scalable Distributed Parallel Breadth-First Search Algorithm on BlueGene/L