Skip to main content

Solving Burgers’ Equation Using Multithreading and GPU

  • Conference paper
Book cover Algorithms and Architectures for Parallel Processing (ICA3PP 2010)

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

Abstract

Many-Core system plays a key role on High Performance Computing, HPC, nowadays. This platform shows the big potential on the performance per watt, performance per floor area, cost performance, and so on. This paper presents a finite difference scheme solving the general convection-diffusion-reaction equations adapted for application of Graphics Processing Units (GPU) and multithreading. A two-dimensional nonlinear Burgers’ equation was chosen as the test case. The best results that we measured are speed-up ratio of 12 times at mesh size 1026×1026 by using GPU and 20 times at mesh size 514×514 by using full 8 CPU cores when compared with an equivalent single CPU code.

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 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. OpenMP home page, OpenMP: simple, portable, scalable SMP programming, http://www.openmp.org

  2. Kruger, J., Westermann, R.: Linear algebra operators for GPU implementation of numerical algorithms. ACM Trans. Graphics 22(3), 908–916 (2003)

    Article  Google Scholar 

  3. Goodnight, N., Woolley, C., Lewin, G., Luebke, D., Humphreys, G.: A multigrid solver for boundary value problems using programmable graphics hardware. Graphics Hardware, 1–11 (2003)

    Google Scholar 

  4. Harris, M.J.: Fast fluid dynamics simulation on the GPU. In: GPU Gems, ch. 38, pp. 637–665 (2004)

    Google Scholar 

  5. Hagen, T.R., Lie, K.A., Natvig, J.R.: Solving the Euler equations on graphics processing units. In: Alexandrov, V.N., van Albada, G.D., Sloot, P.M.A., Dongarra, J. (eds.) ICCS 2006. LNCS, vol. 3994, pp. 220–227. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  6. Brandvik, T., Pullan, G.: Acceleration of a two-dimensional Euler flow solver using commodity graphics hardware. In: Proc. Inst. Mech. Engineers. Pt C: J. Mech. Engrg. Sci., vol. 221(12), pp. 1745–1748 (2007)

    Google Scholar 

  7. Brandvik, T., Pullan, G.: Acceleration of a 3D Euler solver using commodity graphics hardware. In: AIAA Paper 2008-607, 46th AIAA Aerospace Sciences Meeting and Exhibit (January 2008)

    Google Scholar 

  8. Corrigan, A., Camelli, F., Löhner, R., Wallin, J.: Running unstructured grid based CFD solvers on modern graphics hardware. In: AIAA Paper 2009-4001, 19th AIAA Computational Fluid Dynamics (June 2009)

    Google Scholar 

  9. Sheu, T.W.H., Wang, S.K., Lin, R.K.: Lin, An implicit scheme for solving the convection-diffusion-reaction equation in two dimensions. Journal of Computational Physics 164(1), 123–142 (2000)

    Article  MATH  Google Scholar 

  10. Bahadir, A.R.: A fully implicit finite-difference scheme for two-dimensional Burgers’ equations. Appl. Math. Comput. 137(1), 131–137 (2003)

    Article  MATH  MathSciNet  Google Scholar 

  11. Jain, P.C., Holla, D.N.: Numerical solution of coupled Burgers’ equations. Int.J. Numer. Meth. Eng. 13, 213–222 (1978)

    MATH  Google Scholar 

  12. PGI home page, PGI recommended Default Flags, http://www.pgroup.com/support

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Kuo, SH., Hsieh, CW., Lin, RK., Sheu, WH. (2010). Solving Burgers’ Equation Using Multithreading and GPU. In: Hsu, CH., Yang, L.T., Park, J.H., Yeo, SS. (eds) Algorithms and Architectures for Parallel Processing. ICA3PP 2010. Lecture Notes in Computer Science, vol 6082. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-13136-3_31

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-13136-3_31

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-13135-6

  • Online ISBN: 978-3-642-13136-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics