Parametric flows: Automated behavior equivalencing for symbolic analysis of races in CUDA programs
Authors:
- 1 November 2012
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 21674329,p. 1-10
Abstract
The growing scale of concurrency requires automated abstraction techniques to cut down the effort in concurrent system analysis. In this paper, we show that the high degree of behavioral symmetry present in GPU programs allows CUDA race detection to be dramatically simplified through abstraction. Our abstraction techniques is one of automatically creating parametric flows - control-flow equivalence classes of threads that diverge in the same manner - and checking for data races only across a pair of threads per parametric flow. We have implemented this approach as an extension of our recently proposed GKLEE symbolic analysis framework and show that all our previous results are dramatically improved in that (i) the parametric flow-based analysis takes far less time, and (ii) because of the much higher scalability of the analysis, we can detect even more data race situations that were previously missed by GKLEE because it was forced to downscale examples to limit analysis complexity. Moreover, the parametric flow-based analysis is applicable to other programs with SPMD models.Keywords
This publication has 21 references indexed in Scilit:
- GPUVerify2012
- Verifying GPU kernels by test amplification2012
- Parameterized Verification of GPU Kernel Programs2012
- GKLEE2012
- Efficient compilation of fine-grained SPMD-threaded programs for multicore CPUs2010
- Proving Ptolemy Right: The Environment Abstraction Framework for Model Checking Concurrent Systems2008
- Type-based race detection for Java2000
- Eraser1997
- Reasoning about rings1995
- Time, clocks, and the ordering of events in a distributed systemCommunications of the ACM, 1978