Skip to main content

Fast 3-Point Correlation Function Approximation on GPU

  • Conference paper
  • First Online:
Algorithms and Architectures for Parallel Processing (ICA3PP 2015)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9529))

  • 1327 Accesses

Abstract

The problem of 3-Point Correlation Function (3PCF) in astrophysics processes megabytes data with complex calculations, which is an important tool for calculating properties of heterogeneous systems, but its algorithmic complex is a notorious problem. The fast 3PCF Approximation algorithm can improve the efficiency by reduce the precision of result. In this paper, we are going to introduce a design of this algorithm on GPU, which is 13x speedup over a single CPU. Moreover, we will optimize it in the calculation details: converting the 3D arrays to 1D, padding 0s to arrays and shrinking the kernel array. Finally, this algorithm can achieve 27x speedup additional, and 347x speedup over a single CPU.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Bentley, J.: Multidimensional binary search trees used for associative searching. Commun. ACM 18(9), 509–517 (1975)

    Article  MATH  Google Scholar 

  2. Buck, I.: GPU computing with NVIDIA CUDA. In: ACM SIGGRAPH 2007 Courses, p. 6. ACM (2007)

    Google Scholar 

  3. FFTW: Fftw reference (2003). http://www.fftw.org/fftw2_doc/fftw_3.html

  4. Frigo, M., Johnson, S.G.: The design and implementation of FFTW3. Proc. IEEE 93(2), 216–231 (2005)

    Article  Google Scholar 

  5. Gangui, A., Lucchin, F., Matarrese, S., Mollerach, S.: The three-point correlation function of the cosmic microwave background in inflationary models. arXiv preprint astro-ph/9312033 (1993)

  6. Moore, A., Connolly, A., Genovese, C., Gray, A., Grone, L., Kanidoris II, N., Nichol, R., Schneider, J., Szalay, A., Szapudi, I., et al.: Fast algorithms and efficient statistics: N-point correlation functions. In: Banday, A.J., Zaroubi, S., Bartelmann, M. (eds.) Mining the Sky, pp. 71–82. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  7. Moreland, K., Angel, E.: The FFT on a GPU. In: Proceedings of the ACM SIGGRAPH/EUROGRAPHICS Conference on Graphics Hardware, pp. 112–119. Eurographics Association (2003)

    Google Scholar 

  8. Nvidia, C.: CUDA toolkit documentation - cuFFT (2012). http://docs.nvidia.com/cuda/cufft/index.html

  9. Peebles, P.: The Large-Scale Structure of the Universe. Princeton University Press, Princeton (1980)

    Google Scholar 

  10. Sefusatti, E., Scoccimarro, R.: Galaxy bias and halo-occupation numbers from large-scale clustering. Phys. Rev. D 71(6), 063001 (2005)

    Article  Google Scholar 

  11. Yin, L., Yu, C., Sun, J., Liu, X., Xiao, J., Sun, C.: Three-point correlation function parallel algorithm based on MPI. In: 2013 IEEE 10th International Conference on High Performance Computing and Communications and 2013 IEEE International Conference on Embedded and Ubiquitous Computing (HPCC\_EUC), pp. 482–489. IEEE (2013)

    Google Scholar 

  12. Zhang, L., Pen, U.: Fast n-point correlation functions and three-point lensing application. New Astron. 10(7), 569–590 (2005)

    Article  Google Scholar 

  13. Zhang, X., Yu, C.: Fast n-point correlation function approximation with recursive convolution for scalar fields. In: 2011 IEEE Third International Conference on Cloud Computing Technology and Science (CloudCom), pp. 634–639. IEEE (2011)

    Google Scholar 

Download references

Acknowledgments

The work is sponsored by the National Natural Science Foundation of China (61303021).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chao Sun .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Sun, C., Yang, M., Yu, C., Sun, J. (2015). Fast 3-Point Correlation Function Approximation on GPU. In: Wang, G., Zomaya, A., Martinez, G., Li, K. (eds) Algorithms and Architectures for Parallel Processing. ICA3PP 2015. Lecture Notes in Computer Science(), vol 9529. Springer, Cham. https://doi.org/10.1007/978-3-319-27122-4_38

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-27122-4_38

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-27121-7

  • Online ISBN: 978-3-319-27122-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics