Abstract
Given n values /spl nu/(0), /spl nu/(1), ..., /spl nu/(n-1) and an associative binary operation, denoted by o, the prefix problem is to compute the n prefixes /spl nu/(0) o /spl nu/(1) o...0 /spl nu/(i), 0/spl les/i/spl les/n-1. We are interested in prefix computation on message-passing fully connected multicomputers, in which each processor can only send or receive a message to or from any other processor in a communication step, in as few communication steps as possible. An algorithm is presented to solve the prefix problem on a system of n processors in no more than [1.44 log/sub 2/ n]+1 communication steps. Then, to explore the possibility of obtaining a faster algorithm, a class of algorithms is presented, It is shown that the algorithm in this class requiring the fewest communication steps is equivalent to the first algorithm presented. An algorithm using p<n processors is also presented; it is time-optimal and cost-optimal when p=/spl Theta/(n/log n).
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.