Many-Core Compiler Fuzzing

Christopher Lidbury, Andrei Lascu, Nathan Chong, Alastair F. Donaldson
Imperial College London, UK
36th annual ACM SIGPLAN conference on Programming Language Design and Implementation (PLDI), 2015


   title={Many-Core Compiler Fuzzing},

   author={Lidbury, Christopher and Lascu, Andrei and Chong, Nathan and Donaldson, Alastair F},



Download Download (PDF)   View View   Source Source   



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.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: