DocumentCode
1432711
Title
Parallel solutions of simple indexed recurrence equations
Author
Ben-Asher, Yosi ; Haber, Gadi
Author_Institution
Dept. Comput. Sci., Haifa Univ., Israel
Volume
12
Issue
1
fYear
2001
fDate
1/1/2001 12:00:00 AM
Firstpage
22
Lastpage
37
Abstract
We define a new type of recurrence equations called “Simple Indexed Recurrences” (SIR). In this type of equations, ordinary recurrences are generalized to X[g(i)]=opi(X[f(i)], X[g(i)]), where f, g : {1...n}→{1...m}, opi(x, y) is a binary associative operator and g is distinct, i.e., ∀i≠j g(i)≠g(j). This enables us to model certain sequential loops as a sequence of SIR equations. A parallel algorithm that solves a set of SIR equations will, in fact, parallelize sequential loops of the above type. Such a parallel SIR algorithm must be efficient enough to compete with the O(n) work complexity of the original loop. We show why efficient parallel algorithms for the related problems of list ranking and tree contraction, which require O(n) work, cannot be applied to solving SIR. We instead use repeated iterations of pointer jumping to compute the final values of X[] in n/p·log p steps and n·log p work, with p processors. A sequence of experiments was performed to test the effect of synchronous and asynchronous executions on the actual performance of the algorithm. These experiments show that pointer jumping requires O(n)) work in most practical cases of SIR loops. An efficient solution is given for the special case where we know how to compute the inverse of opi, and finally, useful applications of SIR to the well-known Livermore loops benchmark are presented
Keywords
computational complexity; parallel algorithms; parallelising compilers; Livermore loops benchmark; SIR equations; binary associative operator; indexed recurrence equations; list ranking; ordinary recurrences; parallel algorithms; parallel solutions; pointer jumping; sequential loops; tree contraction; Difference equations; Indexing; Optical computing; Parallel algorithms; Performance evaluation; Testing;
fLanguage
English
Journal_Title
Parallel and Distributed Systems, IEEE Transactions on
Publisher
ieee
ISSN
1045-9219
Type
jour
DOI
10.1109/71.899937
Filename
899937
Link To Document