Behavioral Non-portability in Scientific Numeric Computing
College of Computer and Information Science, Northeastern University, Boston, USA
Euro-Par 2015: Parallel Processing – 21st International Conference on Parallel and Distributed Computing, 2015
@incollection{gu2015behavioral,
title={Behavioral Non-portability in Scientific Numeric Computing},
author={Gu, Yijia and Wahl, Thomas and Bayati, Mahsa and Leeser, Miriam},
booktitle={Euro-Par 2015: Parallel Processing},
pages={558–569},
year={2015},
publisher={Springer}
}
The precise semantics of floating-point arithmetic programs depends on the execution platform, including the compiler and the target hardware. Platform dependencies are particularly pronounced for arithmetic-intensive parallel numeric programs and infringe on the highly desirable goal of software portability (which is nonetheless promised by heterogeneous computing frameworks like OpenCL): the same program run on the same inputs on different platforms often produces different results. Serious doubts on the portability of numeric applications arise when these differences are behavioral, i.e. when they lead to changes in the control flow of a program. In this paper we present an algorithm that takes a numeric procedure and determines an input that may lead to different branching decisions depending on how the arithmetic in the procedure is compiled. We illustrate the algorithm on a diverse set of examples, characteristic of scientific numeric computing, where control flow divergence actually occurs across different execution platforms.
December 12, 2015 by hgpu