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, 23.06.2019 16:30
You have read about the beginnings of the internet and how it was created. what was the internet originally created to do? (select all that apply) share research. play games. communicate. share documents. sell toys
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
Me ajude por favor , coloquei uma senha e não consigo tira-la no chorme
Answers: 2
question
Computers and Technology, 24.06.2019 07:00
Why would a business likely use a java applet - to back up their data files for the business - to create a program that a customer can launch in their web browser - to create music on a powerpoint presentation - to organize files on their company directory
Answers: 3
question
Computers and Technology, 24.06.2019 13:30
Which of the following is not a “fatal four” event?
Answers: 2
You know the right answer?
Consider the following technique for performing the compare-split operation. Let x1 , x2 , ..., xk b...
Questions
question
Mathematics, 26.04.2021 03:10
question
Arts, 26.04.2021 03:10
question
Mathematics, 26.04.2021 03:10
question
Mathematics, 26.04.2021 03:20
question
Mathematics, 26.04.2021 03:20
question
Mathematics, 26.04.2021 03:20
question
Mathematics, 26.04.2021 03:20
question
Mathematics, 26.04.2021 03:20