Programming with Divide-and-Conquer Skeletons: A Case Study of FFT

  • Authors:
  • Sergei Gorlatch

  • Affiliations:
  • University of Passau, D–94030 Passau, Germany E-mail: gorlatch@fmi.uni-passau.de

  • Venue:
  • The Journal of Supercomputing
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

We demonstrate an approach to parallel programming, based onskeletons – parameterized program schemas withefficient implementations over diverse architectures. The contribution ofthe paper is two-fold: (1) we classify divide-and-conquer (DC) algorithmsand provide a family of provably correct parallel implementations for aparticular DC skeleton, called DH (distributable homomorphism); (2) weadjust the mathematical specification of the Fast Fourier Transform (FFT) tothe DH skeleton and, thereby, obtain a generic SPMD program, well suited forimplementation under MPI. The generic program includes the efficient FFTsolutions used in practice – the binary-exchange and the 2D- and3D-transpose implementations – as special cases.