Many-Core Compiler Fuzzing
Imperial College London, UK
36th annual ACM SIGPLAN conference on Programming Language Design and Implementation (PLDI), 2015
@article{lidbury2015many,
title={Many-Core Compiler Fuzzing},
author={Lidbury, Christopher and Lascu, Andrei and Chong, Nathan and Donaldson, Alastair F},
year={2015}
}
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.
July 10, 2015 by hgpu