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

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

物理学 > 计算物理

arXiv:1306.1737 (physics)
[提交于 2015年6月16日]

标题:A flexible algorithm for calculating pair interactions on SIMD architectures

作者:Szilárd Páll, Berk Hess
查看论文《A flexible algorithm for calculating pair interactions on SIMD architectures》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Calculating interactions or correlations between pairs of particles is typically the most time-consuming task in particle simulation or correlation analysis. Straightforward implementations using a double loop over particle pairs have traditionally worked well, especially since compilers usually do a good job of unrolling the inner loop. In order to reach high performance on modern CPU and accelerator architectures, single-instruction multiple-data (SIMD) parallelization has become essential. Avoiding memory bottlenecks is also increasingly important and requires reducing the ratio of memory to arithmetic operations. Moreover, when pairs only interact within a certain cut-off distance, good SIMD utilization can only be achieved by reordering input and output data, which quickly becomes a limiting factor. Here we present an algorithm for SIMD parallelization based on grouping a fixed number of particles, e.g. 2, 4, or 8, into spatial clusters. Calculating all interactions between particles in a pair of such clusters improves data reuse compared to the traditional scheme and results in a more efficient SIMD parallelization. Adjusting the cluster size allows the algorithm to map to SIMD units of various widths. This flexibility not only enables fast and efficient implementation on current CPUs and accelerator architectures like GPUs or Intel MIC, but it also makes the algorithm future-proof. We present the algorithm with an application to molecular dynamics simulations, where we can also make use of the effective buffering the method introduces.
评论: Accepted for publication in Computer Physics Communications
主题: 计算物理 (physics.comp-ph)
引用方式: arXiv:1306.1737 [physics.comp-ph]
  (或者 arXiv:1306.1737v1 [physics.comp-ph] 对于此版本)
  https://doi.org/10.48550/arXiv.1306.1737
相关 DOI: https://doi.org/10.1016/j.cpc.2013.06.003

提交历史

来自:Berk Hess
[v1] 2015年6月16日 星期二 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

physics
< 上一篇   |   下一篇 >
最新 | 近期 | 2015-06
切换浏览方式为:
physics.comp-ph

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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