J. Träff:

"Simplified, stable parallel merging";

Report for CoRR - Computing Research Repository; Report No. arXiv:1202.6575, 2012; 6 pages.

This note makes an observation that significantly simplifies a number of previous parallel, two-way merge algorithms based on binary search and sequential merge in parallel. First, it is shown that the additional merge step of distinguished elements as found in previous algorithms is not necessary, thus simplifying the implementation and reducing constant factors. Second, by fixating the requirements to the binary search, the merge algorithm becomes stable, provided

that the sequential merge subroutine is stable. The stable, parallel merge algorithm can easily be used to implement a stable, parallel merge sort.

For ordered sequences with n and m elements, m ≤ n, the simplified merge algorithm runs in O(n/p + log n) operations using p processing elements. It can be implemented on an EREW PRAM, but since it requires only a single synchronization step, it is also a candidate

for implementation on other parallel, shared-memory computers.

Parallel merging, Parallel algorithms, Implementation, Shared-memory computers, PRAM.

Created from the Publication Database of the Vienna University of Technology.