Treffer: In search of a map:using program slicing to discover potential parallelism in recursive functions

Title:
In search of a map:using program slicing to discover potential parallelism in recursive functions
Source:
Barwell , A D & Hammond , K 2017 , In search of a map : using program slicing to discover potential parallelism in recursive functions . in Proceedings of the 6th ACM SIGPLAN International Workshop on Functional High-Performance Computing (FHPC 2017) . ACM , New York , pp. 30-41 , FHPC 2017 Workshop on Functional High-Performance Computing , Oxford , United Kingdom , 7/09/17 . https://doi.org/10.1145/3122948.3122951
Publisher Information:
ACM
Publication Year:
2017
Document Type:
Fachzeitschrift article in journal/newspaper
File Description:
application/pdf
Language:
English
ISBN:
978-1-4503-5181-2
1-4503-5181-6
Relation:
urn:ISBN:9781450351812
DOI:
10.1145/3122948.3122951
Rights:
info:eu-repo/semantics/openAccess
Accession Number:
edsbas.B2EC6E41
Database:
BASE

Weitere Informationen

Recursion schemes, such as the well-known map, can be used as loci of potential parallelism, where schemes are replaced with an equivalent parallel implementation. This paper formalises a novel technique, using program slicing, that automatically and statically identifies computations in recursive functions that can be lifted out of the function and then potentially performed in parallel. We define a new program slicing algorithm, build a prototype implementation, and demonstrate its use on 12 Haskell examples, including benchmarks from the NoFib suite and functions from the standard Haskell Prelude. In all cases, we obtain the expected results in terms of finding potential parallelism. Moreover, we have tested our prototype against synthetic benchmarks, and found that our prototype has quadratic time complexity. For the NoFib benchmark examples we demonstrate that relative parallel speedups can be obtained (up to 32.93x the sequential performance on 56 hyperthreaded cores).