IEEE Transactions on Parallel and Distributed Systems · 2020 · 22 citations · 43 references
ComputingComputer ScienceHigh-performance ComputingAlgorithmsParallel AlgorithmsParallel ComputingData ParallelismGraph AlgorithmsGraph ColoringGraphics Processing Unit ArchitectureGraphics Processing Unit ComputingGraphics Processing UnitsColor AllocationGraph ProcessingRecursionRecursive Algorithm Design
There are great challenges in performing graph coloring on GPU in general. First, the long-tail problem exists in the recursion algorithm because the conflict (i.e., different threads assign the adjacent nodes to the same color) becomes more likely to occur as the number of iterations increases. Second, it is hard to parallelize the sequential spread algorithm because the color allocation depends on the adjoining iteration. Third, the atomic operation is widely used on GPU to maintain the color list, which can greatly reduce the efficiency of GPU threads. In this article, we propose a two-stage high-performance graph coloring algorithm, called Feluca, aiming to address the above challenges. Feluca combines the recursion-based method with the sequential spread-based method. In the first stage, Feluca uses a recursive routine to color a majority of vertices in the graph. Then, it switches to the sequential spread method to color the remaining vertices in order to avoid the conflicts of the recursive algorithm. Moreover, the following techniques are proposed to further improve the graph coloring performance. i) A new method is proposed to eliminate the cycles in the graph; ii) a top-down scheme is developed to avoid the atomic operation originally required for color selection; and iii) a novel color-centric coloring paradigm is designed to improve the degree of parallelism for the sequential spread part. All these newly developed techniques, together with further GPU-specific optimizations such as coalesced memory access, comprise an efficient parallel graph coloring solution in Feluca. We have conducted extensive experiments on NVIDIA GPU. The results show that Feluca can achieve 1.19 - 8.39× speedup over the state-of-the-art algorithms.
43
Register allocation & spilling via graph coloring
Gregory J. Chaitin · 1982 · 668 citations
The Complexity of Near-Optimal Graph Coloring
M. R. Garey, David S. Johnson · Journal of the ACM · 1976 · 326 citations · Full text
Gunrock: a high-performance graph processing library on the GPU
Yangzihao Wang, Andrew Davidson, Yuechao Pan et al. · 2015 · 305 citations · Full text
Farzad Khorasani, Keval Vora, Rajiv Gupta et al. · 2014 · 276 citations