Affordable Access

Access to the full text

targetDP: an Abstraction of Lattice Based Parallelism with Portable Performance

Authors
  • Gray, Alan
  • Stratford, Kevin
Type
Published Article
Publication Date
Jul 31, 2014
Submission Date
Apr 29, 2014
Identifiers
DOI: 10.1109/HPCC.2014.212
Source
arXiv
License
Yellow
External links

Abstract

To achieve high performance on modern computers, it is vital to map algorithmic parallelism to that inherent in the hardware. From an application developer's perspective, it is also important that code can be maintained in a portable manner across a range of hardware. Here we present targetDP (target Data Parallel), a lightweight programming layer that allows the abstraction of data parallelism for applications that employ structured grids. A single source code may be used to target both thread level parallelism (TLP) and instruction level parallelism (ILP) on either SIMD multi-core CPUs or GPU-accelerated platforms. targetDP is implemented via standard C preprocessor macros and library functions, can be added to existing applications incrementally, and can be combined with higher-level paradigms such as MPI. We present CPU and GPU performance results for a benchmark taken from the lattice Boltzmann application that motivated this work. These demonstrate not only performance portability, but also the optimisation resulting from the intelligent exposure of ILP.

Report this publication

Statistics

Seen <100 times