2015 · 146 citations · 18 references
ComputingComputer EngineeringComputer ScienceCompilersProgramming LanguagesReconfigurable ComputingControl-flow AnalysisData-flow AnalysisDesign For TestabilityFuzz TestingHardware ObfuscationSoftware TestingCore SystemsDead Code AnalysisGeneration-based FuzzingMany-core ArchitectureMany-core ProcessorsOpencl ProgrammingRandom FuzzingRandom Testing
We address the compiler correctness problem for many-core systems through novel applications of fuzz testing to OpenCL compilers. Focusing on two methods from prior work, random differential testing and testing via equivalence modulo inputs (EMI), we present several strategies for random generation of deterministic, communicating OpenCL kernels, and an injection mechanism that allows EMI testing to be applied to kernels that otherwise exhibit little or no dynamically-dead code. We use these methods to conduct a large, controlled testing campaign with respect to 21 OpenCL (device, compiler) configurations, covering a range of CPU, GPU, accelerator, FPGA and emulator implementations. Our study provides independent validation of claims in prior work related to the effectiveness of random differential testing and EMI testing, proposes novel methods for lifting these techniques to the many-core setting and reveals a significant number of OpenCL compiler bugs in commercial implementations.
18
Rodinia: A benchmark suite for heterogeneous computing
Shuai Che, Michael Boyer, Jiayuan Meng et al. · 2009 · 3K citations
IEEE Software · 2011 · 2K citations
Finding and understanding bugs in C compilers
Xuejun Yang, Yang Chen, Eric Eide et al. · 2011 · 733 citations
Aaftab Munshi · 2009 · 644 citations