Accuracy versus time: a case study with summation algorithms

  • Authors:
  • Philippe Langlois;Matthieu Martel;Laurent Thévenoux

  • Affiliations:
  • Université de Perpignan, Perpignan, France;Université de Perpignan, Perpignan, France;Université de Perpignan, Perpignan, France

  • Venue:
  • Proceedings of the 4th International Workshop on Parallel and Symbolic Computation
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this article, we focus on numerical algorithms for which, in practice, parallelism and accuracy do not cohabit well. In order to increase parallelism, expressions are reparsed, implicitly using mathematical laws like associativity, and this reduces the accuracy. Our approach consists in focusing on summation algorithms and in performing an exhaustive study: we generate all the algorithms equivalent to the original one and compatible with our relaxed time constraint. Next we compute the worst errors which may arise during their evaluation, for several relevant sets of data. Our main conclusion is that relaxing very slightly the time constraints by choosing algorithms whose critical paths are a bit longer than the optimal makes it possible to strongly optimize the accuracy. We extend these results to the case of bounded parallelism and to accurate sum algorithms that use compensation techniques.