Higher Order Flattening

Roman Leshchinskiy, Manuel M. T. Chakravarty, and Gabriele Keller.

In Third International Workshop on Practical Aspects of High-level Parallel Programming (PAPP 2006), Springer-Verlag, LNCS 3992, 2006.

We extend the flattening transformation, which turns nested into flat data parallelism, to the full higher-order case, including lambda abstractions and data parallel arrays of functions. Our central observation is that flattening needs to transform the closures used to represent functional values. Thus, we use closure conversion before flattening and introduce array closures to represent arrays of functional values.

Preprint (PostScript) (8 pages)
Final version from Springer-Verlag

This page is part of Manuel Chakravarty's WWW-stuff.