Results

**1 - 2**of**2**### parallel prefix networks

, 2009

"... A parallel prefix network computes each x0 ◦ x1 ◦... xk for 0 ≤ k < n, for an associative operator ◦. This is one of the fundamental problems in computer science, because it gives insight into how parallel computation can be used to solve an apparently sequential problem. As parallel programming bec ..."

Abstract
- Add to MetaCart

A parallel prefix network computes each x0 ◦ x1 ◦... xk for 0 ≤ k < n, for an associative operator ◦. This is one of the fundamental problems in computer science, because it gives insight into how parallel computation can be used to solve an apparently sequential problem. As parallel programming becomes the dominant programming paradigm, parallel prefix or scan is proving to be a very important building block of parallel algorithms and applications. There are a great many different parallel prefix networks, with different properties such as number of operators, depth and allowed fanout from the operators. In this paper, ideas from functional programming are combined with search to enable a deep exploration of parallel prefix network design. Networks that improve on the best known previous results are generated. It is argued that precise modelling in Haskell, together with simple visualization of the networks, gives a new, more experimental, approach to parallel prefix network design, improving on the manual techniques typically employed in the literature. The programming idiom that marries search with higher order functions may well have wider application than the network generation described here. 1