scholarly journals A Practical Tree Contraction Algorithm for Parallel Skeletons on Trees of Unbounded Degree

2011 ◽  
Vol 4 ◽  
pp. 7-16 ◽  
Author(s):  
Akimasa Morihata ◽  
Kiminori Matsuzaki
Algorithmica ◽  
1997 ◽  
Vol 18 (3) ◽  
pp. 445-460 ◽  
Author(s):  
E. W. Mayr ◽  
R. Werchner

Author(s):  
Wojciech Plandowski ◽  
Wojciech Rytter ◽  
Tomasz Szymacha

2006 ◽  
Vol 32 (7-8) ◽  
pp. 604-615 ◽  
Author(s):  
J. Falcou ◽  
J. Sérot ◽  
T. Chateau ◽  
J.T. Lapresté
Keyword(s):  

2012 ◽  
Vol 22 (02) ◽  
pp. 1240005 ◽  
Author(s):  
ALEXANDER COLLINS ◽  
CHRISTIAN FENSCH ◽  
HUGH LEATHER

Parallel skeletons are a structured parallel programming abstraction that provide programmers with a predefined set of algorithmic templates that can be combined, nested and parameterized with sequential code to produce complex programs. The implementation of these skeletons is currently a manual process, requiring human expertise to choose suitable implementation parameters that provide good performance. This paper presents an empirical exploration of the optimization space of the FastFlow parallel skeleton framework. We performed this using a Monte Carlo search of a random subset of the space, for a representative set of platforms and programs. The results show that the space is program and platform dependent, non-linear, and that automatic search achieves a significant average speedup in program execution time of 1.6× over a human expert. An exploratory data analysis of the results shows a linear dependence between two of the parameters, and that another two parameters have little effect on performance. These properties are then used to reduce the size of the space by a factor of 6, reducing the cost of the search. This provides a starting point for automatically optimizing parallel skeleton programs without the need for human expertise, and with a large improvement in execution time compared to that achievable using human expert tuning.


2005 ◽  
Vol 15 (03) ◽  
pp. 321-336 ◽  
Author(s):  
KIMINORI MATSUZAKI ◽  
ZHENJIANG HU ◽  
KAZUHIKO KAKEHI ◽  
MASATO TAKEICHI

While tree contraction algorithms play an important role in efficient tree computation in parallel, it is difficult to develop such algorithms due to the strict conditions imposed on contracting operators. In this paper, we propose a systematic method of deriving efficient tree contraction algorithms from recursive functions on trees. We identify a general recursive form that can be parallelized into efficient tree contraction algorithms, and present a derivation strategy for transforming general recursive functions to the parallelizable form. We illustrate our approach by deriving a novel parallel algorithm for the maximum connected-set sum problem on arbitrary trees, the tree-version of the well-known maximum segment sum problem.


2000 ◽  
Vol 10 (04) ◽  
pp. 359-370 ◽  
Author(s):  
JOONSEON AHN ◽  
TAISOOK HAN

Programming with parallel skeletons is an attractive framework because it encourages programmers to develop efficient and portable parallel programs. However, extracting parallelism from sequential specifications and constructing efficient parallel programs using the skeletons are still difficult tasks. In this paper, we propose an analytical approach to transforming recursive functions on general recursive data structures into compositions of parallel skeletons. Using static slicing, we have defined a classification of subexpressions based on their data-parallelism. Then, skeleton-based parallel programs are generated from the classification. To extend the scope of parallelization, we have adopted more general parallel skeletons which do not require the associativity of argument functions. In this way, our analytical method can parallelize recursive functions with complex data flows.


Sign in / Sign up

Export Citation Format

Share Document