Vectorization, threading, and cache-blocking considerations for hydrocodes on emerging architectures

J. Fung, R. T. Aulwes, M. T. Bement, J. M. Campbell, C. R. Ferenbaugh, B. A. Jean, T. M. Kelley, M. A. Kenamond, B. R. Lally, E. G. Lovegrove, E. M. Nelson, D. M. Powell

Research output: Contribution to journalArticlepeer-review

Abstract

The computational efficiency of existing hydrocodes is expected to suffer as computer architectures advance beyond the traditional parallel central processing unit (CPU) model . Concerning new computer architectures, sources of relative performance degradation might include reduced memory bandwidth per core, increased resource contention due to concurrency, increased single instruction, multiple data (SIMD) length, and increasingly complex memory hierarchies. Concerning existing codes, any performance degradation will be influenced by a lack of attention to performance in their design and implementation. This work reports on considerations for improving computational performance in preparation for current and expected changes to computer architecture. The algorithms studied will include increasingly complex prototypes for radiation hydrodynamics codes, such as gradient routines and diffusion matrix assembly (e.g., in ). The meshes considered for the algorithms are structured or unstructured meshes. The considerations applied for performance improvements are meant to be general in terms of architecture (not specifically graphical processing unit (GPUs) or multi-core machines, for example) and include techniques for vectorization, threading, tiling, and cache blocking. Out of a survey of optimization techniques on applications such as diffusion and hydrodynamics, we make general recommendations with a view toward making these techniques conceptually accessible to the applications code developer. Published 2015. This article is a U.S. Government work and is in the public domain in the USA. We present considerations for improving computational performance of hydrodynamics codes in preparation for current and expected changes to computer architecture. The algorithms studied include prototypes such as gradient routines, and the considerations applied for performance improvements include techniques for vectorization, threading, tiling, and cache blocking. Out of a survey of optimization techniques on applications such as diffusion and hydro, we make general recommendations with a view toward making these techniques conceptually accessible to the applications code developer.

Original languageEnglish
Pages (from-to)596-613
Number of pages18
JournalInternational Journal for Numerical Methods in Fluids
Volume79
Issue number11
DOIs
StatePublished - Dec 20 2015
Externally publishedYes

Keywords

  • Arbitrary Lagrangian Eulerian (ALE) methods
  • Computer science and advanced architectures
  • Lagrangian hydrodynamics
  • Radiation hydrodynamics

Fingerprint

Dive into the research topics of 'Vectorization, threading, and cache-blocking considerations for hydrocodes on emerging architectures'. Together they form a unique fingerprint.

Cite this