2010 · 128 citations · 9 references
ComputingComputer EngineeringComputer ScienceComputer GraphicsFormal MethodsParallel ComputingData-flow AnalysisDeductive VerificationGraphics Processing Unit ComputingHardware AccelerationKernel DesignKernel ProgrammingBank ConflictsBarrier PlacementBoolean Satisfiability Modulo TheoriesCuda ProgrammingGpgpu ComputingNormalizationSatisfiability Modulo Theories For Hardware VerificationSymbolic Execution Of Kernel Code
Interest in Graphical Processing Units (GPUs) is skyrocketing due to their potential to yield spectacular performance on many important computing applications. Unfortunately, writing such efficient GPU kernels requires painstaking manual optimization effort which is very error prone. We contribute the first comprehensive symbolic verifier for kernels written in CUDA C. Called the 'Prover of User GPU programs (PUG),' our tool efficiently and automatically analyzes real-world kernels using Satisfiability Modulo Theories (SMT) tools, detecting bugs such as data races, incorrectly synchronized barriers, bank conflicts, and wrong results. PUG's innovative ideas include a novel approach to symbolically encode thread interleavings, exact analysis for correct barrier placement, special methods for avoiding interleaving generation, dividing up the analysis over barrier intervals, and handling loops through three approaches: loop normalization, overapproximation, and invariant finding. PUG has analyzed over a hundred CUDA kernels from public distributions and in-house projects, finding bugs as well as subtle undocumented assumptions.
9
E. M. Clarke, Orna Grümberg, D. Long · 1996 · 6.9K citations
Dynamic partial-order reduction for model checking software
Cormac Flanagan, Patrice Godefroid · 2005 · 641 citations · Full text
Type-based race detection for Java
Cormac Flanagan, Stephen N. Freund · 2000 · 446 citations
Christoph Csallner, Nikolai Tillmann, Yannis Smaragdakis · 2008 · 200 citations
Alex Aiken, David Gay · 1998 · 124 citations · Full text