Affiliation:
1. Fujitsu Labs of America, Sunnyvale, CA, USA
2. University of Utah, Salt Lake City, UT, USA
Abstract
Programs written for GPUs often contain correctness errors such as races, deadlocks, or may compute the wrong result. Existing debugging tools often miss these errors because of their limited input-space and execution-space exploration. Existing tools based on conservative static analysis or conservative modeling of SIMD concurrency generate false alarms resulting in wasted bug-hunting. They also often do not target performance bugs (non-coalesced memory accesses, memory bank conflicts, and divergent warps). We provide a new framework called GKLEE that can analyze C++ GPU programs, locating the aforesaid correctness and performance bugs. For these programs, GKLEE can also automatically generate tests that provide high coverage. These tests serve as concrete witnesses for every reported bug. They can also be used for downstream debugging, for example to test the kernel on the actual hardware. We describe the architecture of GKLEE, its symbolic virtual machine model, and describe previously unknown bugs and performance issues that it detected on commercial SDK kernels. We describe GKLEE's test-case reduction heuristics, and the resulting scalability improvement for a given coverage target.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference28 articles.
1. Scalable SMT-based verification of GPU kernel functions
2. GRace
3. M. Boyer K. Skadron and W. Weimer "Automated dynamic analysis of CUDA programs " in Third Workshop on Software Tools for MultiCore Systems 2008. M. Boyer K. Skadron and W. Weimer "Automated dynamic analysis of CUDA programs " in Third Workshop on Software Tools for MultiCore Systems 2008.
4. "SMT-COMP. http://www.smtcomp.org/2011." "SMT-COMP. http://www.smtcomp.org/2011."
Cited by
65 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献