跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

数学 > 数值分析

arXiv:1505.05571 (math)
[提交于 2015年5月21日]

标题:Fast exact summation using small and large superaccumulators

作者:Radford M. Neal
查看论文《Fast exact summation using small and large superaccumulators》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:I present two new methods for exactly summing a set of floating-point numbers, and then correctly rounding to the nearest floating-point number. Higher accuracy than simple summation (rounding after each addition) is important in many applications, such as finding the sample mean of data. Exact summation also guarantees identical results with parallel and serial implementations, since the exact sum is independent of order. The new methods use variations on the concept of a "superaccumulator" - a large fixed-point number that can exactly represent the sum of any reasonable number of floating-point values. One method uses a "small" superaccumulator with sixty-seven 64-bit chunks, each with 32-bit overlap with the next chunk, allowing carry propagation to be done infrequently. The small superaccumulator is used alone when summing a small number of terms. For big summations, a "large" superaccumulator is used as well. It consists of 4096 64-bit chunks, one for every possible combination of exponent bits and sign bit, plus counts of when each chunk needs to be transferred to the small superaccumulator. To add a term to the large superaccumulator, only a single chunk and its associated count need to be updated, which takes very few instructions if carefully implemented. On modern 64-bit processors, exactly summing a large array using this combination of large and small superaccumulators takes less than twice the time of simple, inexact, ordered summation, with a serial implementation. A parallel implementation using a small number of processor cores can be expected to perform exact summation of large arrays at a speed that reaches the limit imposed by memory bandwidth. Some common methods that attempt to improve accuracy without being exact may therefore be pointless, at least for large summations, since they are slower than computing the sum exactly.
主题: 数值分析 (math.NA); 分布式、并行与集群计算 (cs.DC); 数值分析 (cs.NA); 计算 (stat.CO)
引用方式: arXiv:1505.05571 [math.NA]
  (或者 arXiv:1505.05571v1 [math.NA] 对于此版本)
  https://doi.org/10.48550/arXiv.1505.05571

提交历史

来自:Radford M. Neal
[v1] 2015年5月21日 星期四 01:17:04 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

math.NA
< 上一篇   |   下一篇 >
最新 | 近期 | 2015-05
切换浏览方式为:
math
cs.DC
cs.NA
stat.CO

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站