• DocumentCode
    2037725
  • Title

    Automatic efficient data layout for multithreaded stencil codes on CPU sand GPUs

  • Author

    Jaeger, Johann ; Barthou, D.

  • Author_Institution
    Univ. of Versailles, St. Quentin, France
  • fYear
    2012
  • fDate
    18-22 Dec. 2012
  • Firstpage
    1
  • Lastpage
    10
  • Abstract
    Stencil based computation on structured grids is a kernel at the heart of a large number of scientific applications. The variety of stencil kernels used in practice make this computation pattern difficult to assemble into a high performance computing library. With the multiplication of cores on a single chip, answering architectural alignment requirements became an even more important key to high performance. Along with vector accesses, data layout optimization must also consider concurrent parallel accesses. In this paper, we develop a strategy to automatically generate stencil codes for multicore vector architectures, searching for the best data layout possible to answer architectural alignment problems. We introduce a new method for aligning multidimensional data structures, called multipadding, that can be adapted to specificities of multicores and GPUs architectures. We present multiple methods with different level of complexity. We show on different stencil patterns that generated codes with multipadding display better performance than existing optimizations.
  • Keywords
    data structures; graphics processing units; grid computing; multi-threading; parallel processing; software libraries; CPU; GPU architectures; architectural alignment problems; architectural alignment requirements; automatic efficient data layout; computation pattern; concurrent parallel accesses; core multiplication; data layout optimization; high performance computing library; multicore vector architectures; multicores; multidimensional data structures; multipadding; multithreaded stencil codes; scientific applications; single chip; stencil based computation; stencil kernels; structured grids;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    High Performance Computing (HiPC), 2012 19th International Conference on
  • Conference_Location
    Pune
  • Print_ISBN
    978-1-4673-2372-7
  • Electronic_ISBN
    978-1-4673-2370-3
  • Type

    conf

  • DOI
    10.1109/HiPC.2012.6507504
  • Filename
    6507504