An Optimal Parallel Prefix-Sums Algorithm on the Memory Machine Models for GPUs
An Optimal Parallel Prefix-Sums Algorithm on the Memory Machine Models for GPUs
复制标题
GPU内存机模型上的最优并行前缀和算法
DOI:
10.1007/978-3-642-33078-0_8
复制
发表时间:
2012
期刊:
影响因子:
--
通讯作者:
K. Nakano
中科院分区:
文献类型:
--
作者:
K. Nakano
The main contribution of this paper is to show optimal algorithms computing the sum and the prefix-sums 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 numberpof threads, the widthwof the memory, and the memory access latencyl. We first show that the sum ofnnumbers can be computed intime units on the DMM and the UMM. We then go on to show thattime units are necessary to compute the sum. Finally, we show an optimal parallel algorithm that computes the prefix-sums ofnnumbers intime units on the DMM and the UMM.