subject

Consider the following technique for performing the compare-split operation. Let x1 , x2 , ..., xk be the elements stored at process Pi in increasing order, and let y1 , y2 , ..., yk be the elements stored at process Pj in decreasing order. Process Pi sends x1 to Pj . Process Pj compares x1 with y1 and then sends the larger element back to process Pi and keeps the smaller element for itself. The same procedure is repeated for pairs (x 2 , y2 ), (x3 , y3 ), ..., (xk , yk ). If for any pair (xl , yl ) for 1≤ l≤ k , xl yl , then no more exchanges are needed. Finally, each process sorts its elements.

Required:
a. Show that this method correctly performs a compare-split operation.
b. Analyze its run time, and compare the relative merits of this method to those of the method presented in the text.
c. Is this method better suited for MIMD or SIMD parallel computers?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:30
What are the steps involved in accepting all the changes in a document? arrange these in order click edit. click accept or reject. click changes. click accept all.
Answers: 1
question
Computers and Technology, 22.06.2019 18:00
Martha is a healer, a healthcare provider, and an experienced nurse. she wants to share her daily experiences, as well as her 12 years of work knowledge, with people who may be interested in health and healing. which mode of internet communication can martha use?
Answers: 3
question
Computers and Technology, 22.06.2019 19:30
Avariable definition defines the name of a variable that will be used in a program, as well as
Answers: 3
question
Computers and Technology, 22.06.2019 21:30
Im doing this last minute and literally none of my neighbors or people that my dad works with use excel so if anyone could me make up an example
Answers: 1
You know the right answer?
Consider the following technique for performing the compare-split operation. Let x1 , x2 , ..., xk b...
Questions
question
Computers and Technology, 26.07.2019 15:00
Questions on the website: 13722360