• DocumentCode
    1815109
  • Title

    Data layout inference for code vectorisation

  • Author

    Sinkarovs, Artjoms ; Scholz, Sven-Bodo

  • Author_Institution
    Sch. of Mathematica & Comput. Sci., Heriot-Watt Univ., Edinburgh, UK
  • fYear
    2013
  • fDate
    1-5 July 2013
  • Firstpage
    527
  • Lastpage
    534
  • Abstract
    SIMD instructions of modern CPUs are crucially important for the performance of compute-intensive algorithms. Auto-vectorisation often fails due to an unfortunate choice of data layout by the programmer. This paper proposes a data layout inference for auto-vectorisation which identifies layout transformations that convert SIMD-unfavorable layouts of data structures into favorable ones. We present a type system for layout transformations and we sketch an inference algorithm for it. Finally, we present some initial performance figures for the impact of the inferred layout transformations. They show that non-intuitive layouts that are inferred through our system can have a vast performance impact on compute intensive programs.
  • Keywords
    data structures; inference mechanisms; parallel processing; SIMD instructions; auto-vectorisation; code vectorisation; compute intensive programs; compute-intensive algorithms; data layout inference; data structures; inference algorithm; layout transformations; modern CPU; nonintuitive layouts; Acceleration; Arrays; Indexes; Layout; Planets; Shape; Vectors;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    High Performance Computing and Simulation (HPCS), 2013 International Conference on
  • Conference_Location
    Helsinki
  • Print_ISBN
    978-1-4799-0836-3
  • Type

    conf

  • DOI
    10.1109/HPCSim.2013.6641464
  • Filename
    6641464