Optimized Stencil Computation Using In-Place Calculation on Modern Multicore Systems

  • Authors:
  • Werner Augustin;Vincent Heuveline;Jan-Philipp Weiss

  • Affiliations:
  • SRG New Frontiers in High Performance Computing,;RG Numerical Simulation, Optimization, and High Performance Computing Karlsruhe Institute of Technology, Universität Karlsruhe (TH), Germany;SRG New Frontiers in High Performance Computing,

  • Venue:
  • Euro-Par '09 Proceedings of the 15th International Euro-Par Conference on Parallel Processing
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Numerical algorithms on parallel systems built upon modern multicore processors are facing two challenging obstacles that keep realistic applications from reaching the theoretically available compute performance. First, the parallelization on several system levels has to be exploited to the full extent. Second, provision of data to the compute cores needs to be adapted to the constraints of a hardware-controlled nested cache hierarchy with shared resources. In this paper we analyze dedicated optimization techniques on modern multicore systems for stencil kernels on regular three-dimensional grids. We combine various methods like a compressed grid algorithm with finite shifts in each time step and loop skewing into an optimized parallel in-place stencil implementation of the three-dimensional Laplacian operator. In that context, memory requirements are reduced by a factor of approximately two while considerable performance gains are observed on modern Intel and AMD based multicore systems.