Finding the maximum,merging, and sorting in a parallel computation model |
| |
Authors: | Yossi Shiloach Uzi Vishkin |
| |
Institution: | IBM Scientific Center, Technion, Haifa, Israel;Computer Science Department, Technion, Haifa, Israel |
| |
Abstract: | A model for synchronized parallel computation is described in which all p processors have access to a common memory. This model is used to solve the problems of finding the maximum, merging, and sorting by p processors. The main results are: 1. Finding the maximum of n elements (1 < p ≤ n) within a depth of ; (optimal for ). 2. Merging two sorted lists of length m and n (m ≤ n) within a depth of for p ≤ n (optimal for ), for . 3. Sorting n elements within a depth of for p ≤ n, (optimal for ). for . The depth of O(klogn) for processors was also achieved by Hirschberg (Comm. ACM21, No. 8 1978, 657–661) and Preparata IEEE Trans ComputersC-27 (July 1978), 669–673). Our algorithm is substantially simpler. All the elementary operations including allocation of processors to their jobs are taken into account in deriving the depth complexity and not only comparisons. |
| |
Keywords: | |
本文献已被 ScienceDirect 等数据库收录! |
|