CO322: DS & A Parallel Computing: Dhammika Elkaduwe
CO322: DS & A Parallel Computing: Dhammika Elkaduwe
Parallel Computing
Dhammika Elkaduwe
University of Peradeniya
World is parallel!
Your phone has few cores in it!!
Can we make use of more than one processing element?
World is parallel!
Your phone has few cores in it!!
Can we make use of more than one processing element?
Basic idea:
I Similar to bubble sort
I Can be implemented in parallel systems (you tell me why :))
I Compare all odd ones with adjacent element, repeat for even
elements.
I Repeat until array is sorted.