The search functionality is under construction.

IEICE TRANSACTIONS on Information

Optimal Parallel Algorithms for Computing the Sum, the Prefix-Sums, and the Summed Area Table on the Memory Machine Models

Koji NAKANO

  • Full Text Views

    0

  • Cite this

Summary :

The main contribution of this paper is to show optimal parallel algorithms to compute the sum, the prefix-sums, and the summed area table on two memory machine models, the Discrete Memory Machine (DMM) and the Unified Memory Machine (UMM). The DMM and the UMM are theoretical parallel computing models that capture the essence of the shared memory and the global memory of GPUs. These models have three parameters, the number p of threads, and the width w of the memory, and the memory access latency l. We first show that the sum of n numbers can be computed in $O({nover w}+{nlover p}+llog n)$ time units on the DMM and the UMM. We then go on to show that $Omega({nover w}+{nlover p}+llog n)$ time units are necessary to compute the sum. We also present a parallel algorithm that computes the prefix-sums of n numbers in $O({nover w}+{nlover p}+llog n)$ time units on the DMM and the UMM. Finally, we show that the summed area table of size $sqrt{n} imessqrt{n}$ can be computed in $O({nover w}+{nlover p}+llog n)$ time units on the DMM and the UMM. Since the computation of the prefix-sums and the summed area table is at least as hard as the sum computation, these parallel algorithms are also optimal.

Publication
IEICE TRANSACTIONS on Information Vol.E96-D No.12 pp.2626-2634
Publication Date
2013/12/01
Publicized
Online ISSN
1745-1361
DOI
10.1587/transinf.E96.D.2626
Type of Manuscript
Special Section PAPER (Special Section on Parallel and Distributed Computing and Networking)
Category

Authors

Koji NAKANO
  Hiroshima University

Keyword