SLIDE 21 Sequence of Elements (a) (b) (c) Hypercube
Split along the third the sequence into two and one larger than the pivot. Split along the second
- dimension. Partitions each
subblock into two smaller subblocks. Split along the first
are sorted according to
big blocks−one smaller the global ordering imposed
100 001 110 0** 1** 01* 11* 10* 00* 100 001 100 001 010 110 001 000 101 111 011 010 000 101 010 110 111 011 000 101 111 011 010 011 100 101 110 111 000
by the processors’ labels
Figure 9.21 The execution of the hypercube formulation of quicksort for d = 3. The three splits –
- ne along each communication link – are shown in (a), (b), and (c). The second column represents
the partitioning of the n-element sequence into subcubes. The arrows between subcubes indicate the movement of larger elements. Each box is marked by the binary representation of the process labels in that subcube. A ∗ denotes that all the binary combinations are included.