arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1605.05436cs.DScs.DC
收藏

浮点数求和的并行算法

Parallel Algorithms for Summing Floating-Point Numbers

Michael T. Goodrich, Ahmed Eldawy

摘要:

n个浮点数的精确求和问题是一个基本问题,在大规模模拟和计算几何中有许多应用。不幸的是,由于标准浮点运算中的舍入误差,这个问题变得非常具有挑战性。此外,所有现有的解决方案都依赖于顺序算法,其不能扩展到需要处理的巨大数据集。本文提出了几种有效的并行算法,用于对n个浮点数求和,从而产生一个忠实的舍入浮点表示的总和。我们介绍了PRAM、外部内存和MapReduce模型中的算法,并且还提供了对MapReduce算法的实验分析,因为它们的简单性和实际效率。

英文摘要:

The problem of exactly summing n floating-point numbers is a fundamental problem that has many applications in large-scale simulations and computational geometry. Unfortunately, due to the round-off error in standard floating-point operations, this problem becomes very challenging. Moreover, all existing solutions rely on sequential algorithms which cannot scale to the huge datasets that need to be processed. In this paper, we provide several efficient parallel algorithms for summing n floating point numbers, so as to produce a faithfully rounded floating-point representation of the sum. We present algorithms in PRAM, external-memory, and MapReduce models, and we also provide an experimental analysis of our MapReduce algorithms, due to their simplicity and practical efficiency.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑