14th Symposium on Computer Architecture and High Performance Computing (SCAB-PAD'02) Implementing Declarative Parallel Bottom-Avoiding Choice Vit?ria, ES, Brazil October 28-October 30 ISBN: 0-7695-1772-2
Non-deterministic choice supports efficient parallel speculation, but unrestricted non-determinism destroys the referential transparency of purely-declarative languages by removing unfoldability and it bears the danger of wasting resources on unncessary computations. While numerous choice mechanisms have been proposed that preserve unfoldability, and some concurrent implementations exist, we believe that no compiled parallel implementation has previously been constructed. This paper presents the design, semantics, implementation and use of a family of bottom-avoiding choice operators for Glasgow parallel Haskell. The subtle semantic properties of our choice operations are described, including a careful classification using an existing framework, together with a discussion of operational semantics issues and the pragmatics of distributed memory implementation. The expressiveness of our choice operators is demonstrated by constructing a branch and bound search, a merge and a speculative conditional. Their effectiveness is demonstrated by comparing the parallel per-formance of the speculative search with naive and ?perfect? implementations. Their efficiency is assessed by measuring runtime overhead and heap consumption.
Citation:
A. Du Bois, R. Pointon, H.-W. Loidl, P. Trinder, "Implementing Declarative Parallel Bottom-Avoiding Choice," sbac-pad, pp.0082, 14th Symposium on Computer Architecture and High Performance Computing (SCAB-PAD'02), 2002 Usage of this product signifies your acceptance of the Terms of Use. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||