Finding Inputs that Trigger Floating-Point Exceptions in GPUs via Bayesian Optimization
DescriptionTesting code for floating-point exceptions is crucial as exceptions can quickly propagate and produce unreliable numerical answers. The state-of-the-art to test for floating-point exceptions in GPUs is quite limited and solutions require the application's source code, which precludes their use in accelerated libraries where the source is not publicly available. We present an approach to find inputs that trigger floating-point exceptions in black-box GPU functions, i.e., functions where the source code and information about input bounds are unavailable. Our approach is the first to use Bayesian optimization (BO) to identify such inputs and uses novel strategies to overcome the challenges that arise in applying BO to this problem. We implement our approach in the Xscope framework and demonstrate it on 58 functions from the CUDA Math Library and functions from ten HPC programs. Xscope is able to identify inputs that trigger exceptions in about 72% of the tested functions.
Event Type
Paper
TimeTuesday, 15 November 20224:30pm - 5pm CST
LocationC146
Session Formats
Recorded
Tags
Correctness
System Software
Registration Categories
TP
Reproducibility Badges
Back To Top Button