Application of GPUs for the Calculation of Two Point Correlation Functions in Cosmology

Rafael Ponce, Miguel Cardenas-Montes, Juan Jose Rodriguez-Vazquez, Eusebio Sanchez, Ignacio Sevilla
Centro de Investigaciones Energeticas Medioambientales y Tecnologicas, Av.Complutense 40, 28040 Madrid, Spain
arXiv:1204.6630v1 [astro-ph.IM] (30 Apr 2012)


   author={Ponce}, R. and {Cardenas-Montes}, M. and {Rodriguez-Vazquez}, J.~J. and {Sanchez}, E. and {Sevilla}, I.},

   title={"{Application of GPUs for the Calculation of Two Point Correlation Functions in Cosmology}"},

   journal={ArXiv e-prints},




   keywords={Astrophysics – Instrumentation and Methods for Astrophysics, Astrophysics – Cosmology and Extragalactic Astrophysics, Physics – Computational Physics},




   adsnote={Provided by the SAO/NASA Astrophysics Data System}


In this work, we have explored the advantages and drawbacks of using GPUs instead of CPUs in the calculation of a standard 2-point correlation function algorithm, which is useful for the analysis of Large Scale Structure of galaxies. Taking into account the huge volume of data foreseen in upcoming surveys, our main goal has been to accelerate significantly the analysis codes. We find that GPUs offer a 100-fold increase in speed with respect to a single CPU without a significant deviation in the results. For comparison’s sake, an MPI version was developed as well. Some issues, like code implementation, which arise from using this option are discussed.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: