• DocumentCode
    2800139
  • Title

    Comparing CUDA and OpenGL implementations for a Jacobi iteration

  • Author

    Amorim, Ronan ; Haase, Gundolf ; Liebmann, Manfred ; Santos, Rodrigo Weber dos

  • Author_Institution
    Inst. for Math. & Sci. Comput., Karl Franzens Univ. of Graz, Graz, Austria
  • fYear
    2009
  • fDate
    21-24 June 2009
  • Firstpage
    22
  • Lastpage
    32
  • Abstract
    The use of the GPU as a general purpose processor is becoming more popular and there are different approaches for this kind of programming. In this paper we present a comparison between different implementations of the OpenGL and CUDA approaches for solving our test case, a weighted Jacobi iteration with a structured matrix originating from a finite element discretization of the elliptic PDE part of the cardiac bidomain equations. The CUDA approach using textures showed to be the fastest with a speedup of 31 over a CPU implementation using one core and SSE. CUDA showed to be an efficient and easy way of programming GPU for general purpose problems, though it is also easier to write inefficient codes.
  • Keywords
    Jacobian matrices; computer graphics; finite element analysis; CUDA; Jacobi iteration; OpenGL; elliptic PDE; finite element discretization; Jacobian matrices; CUDA; GPU computing; Jacobi iteration; finite elements;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    High Performance Computing & Simulation, 2009. HPCS '09. International Conference on
  • Conference_Location
    Leipzig
  • Print_ISBN
    978-1-4244-4906-4
  • Electronic_ISBN
    978-1-4244-4907-1
  • Type

    conf

  • DOI
    10.1109/HPCSIM.2009.5192847
  • Filename
    5192847