bitonicsort

bitonicsort - Introduction to Parallel Computing George...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Introduction to Parallel Computing George Karypis Sorting Outline ¡ Background ¡ Sorting Networks ¡ Quicksort ¡ Bucket-Sort & Sample-Sort Background ¡ Input Specification ¢ Each processor has n/p elements ¢ A ordering of the processors ¡ Output Specification ¢ Each processor will get n/p consecutive elements of the final sorted array. ¢ The “chunk” is determined by the processor ordering. ¡ Variations ¢ Unequal number of elements on output. ¡ In general, this is not a good idea and it may require a shift to obtain the equal size distribution. Basic Operation: Compare-Split Operation Single element per processor Multiple elements per processor Sorting Networks ¡ Sorting is one of the fundamental problems in Computer Science ¡ For a long time researchers have focused on the problem of “how fast can we sort n elements”? ¢ Serial ¡ nlog(n) lower-bound for comparison-based sorting ¢ Parallel ¡ O(1), O(log(n)), O(???) ¡ Sorting networks ¢ Custom-made hardware for sorting! ¡ Hardware & algorithm ¡ Mostly of theoretical interest but fun to study! Elements of Sorting Networks ¡ Key Idea: ¢ Perform many comparisons in parallel....
View Full Document

This note was uploaded on 11/17/2010 for the course CSE 5500 taught by Professor Ian during the Spring '10 term at UConn.

Page1 / 32

bitonicsort - Introduction to Parallel Computing George...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online