Automatic efficient data layout for multithreaded stencil codes on CPUs and GPUs - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Communication Dans Un Congrès Année : 2012

Automatic efficient data layout for multithreaded stencil codes on CPUs and GPUs

Résumé

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. In addition to 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 performances than existing optimizations.
Fichier principal
Vignette du fichier
Jaeger_Barthou_hipc2012.pdf (738.4 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-00793201 , version 1 (28-02-2013)

Identifiants

  • HAL Id : hal-00793201 , version 1

Citer

Julien Jaeger, Denis Barthou. Automatic efficient data layout for multithreaded stencil codes on CPUs and GPUs. High Performance Computing conference, Dec 2012, India. pp.1-10. ⟨hal-00793201⟩
502 Consultations
145 Téléchargements

Partager

Gmail Facebook X LinkedIn More