arrow
返回

A flexible algorithm for calculating pair interactions on SIMD architectures

delete2013-12-01
delete504
PRE
AI
S
Szilárd Páll
B
Berk Hess *
DOI:10.1016/j.cpc.2013.06.003delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
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. (C) 2013 Elsevier B.V. All rights reserved.
Keyword:
Pair interactions
SIMD
GPU
Molecular dynamics
Verlet list
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Computer Physics Communications 封面图
Computer Physics Communications
IF:
3.4
论文数:
1.2W
被引数:
3.7W

机构

R
Royal Institute of Technology
学者数:
1.8W
论文数: 1.8W
被引数: 25
引用论文

引用论文

Efficiency of linked cell algorithms
err2011-03-01
err38
errOAAI
errWelling, Ulrich; Germano, Guido
err分享
err收藏
Efficient particle labeling in atomistic simulations
err2007-03-27
err42
PREAI
errMeloni, Simone; Rosati, Mario; Colombo, Luciano
err分享
err收藏
Electrochromic devices based on tungsten oxide layers modified with polyethylene glycol
err2019-03-18
err0
PREAI
errE. V. Sokhovich; S. V. Mjakin; A. A. Semenova; V. S. Zemko; V. V. Bakhmetyev; O. V. Prostitenko; V. I. Khalimon
err分享
err收藏
Application of a circulating-cathodic-antigen (CCA) strip test and real-time PCR, in comparison with microscopy, for the detection ofSchistosoma haematobiumin urine samples from Ghana
err2013-07-18
err0
PREAI
errB.B. Obeng; Y.A. Aryeetey; C. J. de Dood; A.S. Amoah; I.A. Larbi; A.M. Deelder; M. Yazdanbakhsh; F.C. Hartgers; D.A. Boakye; J.J. Verweij; G. J. van Dam; L. van Lieshout
err分享
err收藏
Scalable molecular dynamics with NAMD使用NAMD的可扩展分子动力学
err2005-10-12
err1.6W
errOAAI
errPhillips, JC; Braun, R; Wang, W; Gumbart, J; Tajkhorshid, E; Villa, E; Chipot, C; Skeel, RD; Kalé, L; Schulten, K
err分享
err收藏
err分享
err收藏
学者 查看更多内容