A "minimal disruption" skeleton experiment: seamless map & reduce embedding in OCaml - Archive ouverte HAL
Communication Dans Un Congrès Procedia Computer Science Année : 2012

A "minimal disruption" skeleton experiment: seamless map & reduce embedding in OCaml

Résumé

We discuss the implementation of a minimalist parallel library in OCaml. The library provides parallel map and fold (reduce) higher order functions and targets standard cache coherent shared memory multi-cores. Our Parmap.parmap and Parmap.parfold functions may be used to seamlessly replace OCaml List map and fold standard functions preserving their full functional semantics while achieving nearly optimal speedup on standard multi-core architectures. We discuss the design of the Parmap module, the main implementation features and we present some experimental results assessing the effciency of the Parmap parallel functions. Overall, Parmap represents a perfect incarnation of the "propagate the concept with minimal disruption" principle introduced in Cole's algorithmic skeleton manifesto.
Fichier principal
Vignette du fichier
parmap-author-file.pdf (351.26 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00692515 , version 1 (20-03-2013)

Identifiants

Citer

Marco Danelutto, Roberto Di Cosmo. A "minimal disruption" skeleton experiment: seamless map & reduce embedding in OCaml. International Conference on Computational Science, Jun 2012, Omaha, United States. pp.1837-1846, ⟨10.1016/j.procs.2012.04.202⟩. ⟨hal-00692515⟩

Relations

149 Consultations
345 Téléchargements

Altmetric

Partager

More