NESTED ALGORITHMIC SKELETONS FROM HIGHER ORDER FUNCTIONS
Greg Michaelson, Norman Scaife, PAUL BRISTOW et al. · International Journal of Parallel Emergent and Distributed Systems · 2001
Algorithmic skeletons provide a promising basis for the automatic utilisation of parallelism at sites of higher order function use through static program analysis. However, decisions about whether or not to realise particular higher order function instances as skeletons must be based on information about processing resources available at runtime In principle, nested higher order functions may be realised as nested skeletons. However, where higher order function arguments result from partially applied functions, free-variable bindings must be identified and communicated through the corresponding skeleton hierarchy to where those arguments are actually applied Here, a skeleton based parallelising compiler for Standard ML is presented. Hybrid skeletons, which can change from parallel to serial evaluation at runtime, are considered and mechanisms for their nesting are discussed. The main compilation stages are illustrated for simple examples. A nested higher order function based algorithm for multiplying matrices of arbitrary length integers is presented along with performance figures for compiled code running on a Fujitsu AP3000.
Cited by 42 works. doi:10.1080/01495730108935271
Authors
References
- Department of Computer Science
- Can programming be liberated from the von Neumann style?
- The Definition of Standard ML
- The MPI Message Passing Interface Standard
- Definitional interpreters for higher-order programming languages
- Algorithmic skeletons : structured management of parallel computation
- The categorical abstract machine
- The use of explicit plans to guide inductive proofs
- The Algebra of Programming
- Models and languages for parallel computation