A GPU implementation of inclusion-based points-to analysis
Authors:
Open Access
- 25 February 2012
- journal article
- conference paper
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 47 (8) , 107-116
Abstract
Graphics Processing Units (GPUs) have emerged as powerful accelerators for many regular algorithms that operate on dense arrays and matrices. In contrast, we know relatively little about using GPUs to accelerate highly irregular algorithms that operate on pointer-based data structures such as graphs. For the most part, research has focused on GPU implementations of graph analysis algorithms that do not modify the structure of the graph, such as algorithms for breadth-first search and strongly-connected components. In this paper, we describe a high-performance GPU implementation of an important graph algorithm used in compilers such as gcc and LLVM: Andersen-style inclusion-based points-to analysis. This algorithm is challenging to parallelize effectively on GPUs because it makes extensive modifications to the structure of the underlying graph and performs relatively little computation. In spite of this, our program, when executed on a 14 Streaming Multiprocessor GPU, achieves an average speedup of 7x compared to a sequential CPU implementation and outperforms a parallel implementation of the same algorithm running on 16 CPU cores. Our implementation provides general insights into how to produce high-performance GPU implementations of graph algorithms, and it highlights key differences between optimizing parallel programs for multicore CPUs and for GPUs.Keywords
This publication has 28 references indexed in Scilit:
- An Efficient CUDA Implementation of the Tree-Based Barnes Hut n-Body Algorithm2011
- A performance study of general-purpose applications on graphics processors using CUDAJournal of Parallel and Distributed Computing, 2008
- The ant and the grasshopper2007
- Optimistic parallelism requires abstractionsACM SIGPLAN Notices, 2007
- Cloning-based context-sensitive pointer alias analysis using binary decision diagrams2004
- Points-to analysis using BDDs2003
- Scaling Java Points-to Analysis Using Spark2003
- Ultra-fast aliasing analysis using CLAACM SIGPLAN Notices, 2001
- Off-line variable substitution for scaling points-to analysis2000
- Partial online cycle elimination in inclusion constraint graphs1998