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.
@article{arxiv.1204.6630,
title = {Application of GPUs for the Calculation of Two Point Correlation Functions in Cosmology},
author = {Rafael Ponce and Miguel Cardenas-Montes and Juan Jose Rodriguez-Vazquez and Eusebio Sanchez and Ignacio Sevilla},
journal= {arXiv preprint arXiv:1204.6630},
year = {2012}
}
Comments
To appear in the ADASS XXI (Paris, 2011) conference proceedings. Code available at http://wwwae.ciemat.es/cosmo/gp2pcf/