Abstract
We discuss fast and accurate evaluation of local averages on GPGPU. This work was motivated by the need to calculate reference fluid densities in the classical density functional theory (DFT) of electrolytes proposed in Gillespie et al. (2002). In Knepley et al. (2010) we developed efficient algorithms for the minimization of three-dimensional DFT models of biological ion channel permeation and selectivity. One of the essential bottlenecks of 3D DFT models is the evaluation of local screening averages of the chemical species’ densities. But the problem has wider applicability and fast evaluation of averages over the local spherical screening neighborhood of every grid point are typically inaccurate due to the use of collocation approximations of densities on Cartesian grids. Accurate evaluations based spectral quadrature were proposed and used in Knepley et al. (2010), but they are significantly more computationally expensive because of their nonlocal nature in the Fourier space. Here we show that the passage to the Fourier space can, in fact, make the averaging calculation much more amenable to efficient implementation on GPGPU architectures. This allows us to take advantage of both improved accuracy and hardware acceleration to arrive at a fast and accurate screening calculations.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
\(\int \chi ^{\varvec{x}}_{R_{\varvec{x}}} d{\varvec{x}}= 1\).
- 2.
The convolution theorem can be derived from these two results.
References
Gillespie D, Nonner W, Eisenberg RS (2002) J Phys Condens Matter 14:12129
Knepley M, Karpeev D, Davidovits S, Eisenberg R, Gillespie D (2010) J Comp Phys 132(12): 124101–124112.
Cooley JW, Tukey JW (1965) Math Comput 19(90):297–301
Vuduc R, Demmel JW, Yelick KA (2005) J Phys Conf Ser 16:521 (Proceedings of SciDAC 2005).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Karpeev, D.A., Knepley, M.G., Brune, P.R. (2013). Accurate Evaluation of Local Averages on GPGPUs. In: Yuen, D., Wang, L., Chi, X., Johnsson, L., Ge, W., Shi, Y. (eds) GPU Solutions to Multi-scale Problems in Science and Engineering. Lecture Notes in Earth System Sciences. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-16405-7_30
Download citation
DOI: https://doi.org/10.1007/978-3-642-16405-7_30
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-16404-0
Online ISBN: 978-3-642-16405-7
eBook Packages: Earth and Environmental ScienceEarth and Environmental Science (R0)