• DocumentCode
    1984173
  • Title

    Tuning a Finite Difference Computation for Parallel Vector Processors

  • Author

    Zumbusch, Gerhard

  • Author_Institution
    Inst. fur Angewandte Math., Friedrich-Schiller-Univ. Jena, Jena, Germany
  • fYear
    2012
  • fDate
    25-29 June 2012
  • Firstpage
    63
  • Lastpage
    70
  • Abstract
    Current CPU and GPU architectures heavily use data and instruction parallelism at different levels. Floating point operations are organised in vector instructions of increasing vector length. For reasons of performance it is mandatory to use the vector instructions efficiently. Several ways of tuning a model problem finite difference stencil computation are discussed. The combination of vectorisation and an interleaved data layout, cache aware algorithms, loop unrolling, parallelisation and parameter tuning lead to optimised implementations at a level of 90% peak performance of the floating point pipelines on recent Intel Sandy Bridge and AMD Bulldozer CPU cores, both with AVX vector instructions as well as on Nvidia Fermi/ Kepler GPU architectures. Furthermore, we present numbers for parallel multi-core/ multi-processor and multi-GPU configurations. They represent regularly more than an order of speed up compared to a standard implementation. The analysis may also explain deficiencies of automatic vectorisation for linear data layout and serve as a foundation of efficient implementations of more complex expressions.
  • Keywords
    finite difference methods; graphics processing units; parallel architectures; pipeline processing; vector processor systems; AMD Bulldozer CPU cores; AVX vector instructions; CPU architecture; Intel Sandy Bridge; Nvidia Fermi-Kepler GPU architecture; cache aware algorithms; data parallelism; finite difference computation tuning; floating point operations; floating point pipelines; instruction parallelism; interleaved data layout; linear data layout; loop unrolling; multiGPU configuration; parallel multicore configuration; parallel multiprocessor configuration; parallel vector processors; parameter tuning; vector instructions; vector length; Bandwidth; Computer architecture; Graphics processing unit; Layout; Registers; Tuning; Vectors; GPU computing; automatic tuning; cache aware algorithms; finite differences; vectorisation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel and Distributed Computing (ISPDC), 2012 11th International Symposium on
  • Conference_Location
    Munich/Garching, Bavaria
  • Print_ISBN
    978-1-4673-2599-8
  • Type

    conf

  • DOI
    10.1109/ISPDC.2012.17
  • Filename
    6341495