A Lightweight Approach to Performance Portability with targetDP
EPCC, The University of Edinburgh, Edinburgh, EH9 3FD, UK
arXiv:1609.01479 [cs.DC], (6 Sep 2016)
@article{gray2016lightweight,
title={A Lightweight Approach to Performance Portability with targetDP},
author={Gray, Alan and Stratford, Kevin},
year={2016},
month={sep},
archivePrefix={"arXiv"},
primaryClass={cs.DC}
}
Leading HPC systems achieve their status through use of highly parallel devices such as NVIDIA GPUs or Intel Xeon Phi many-core CPUs. The concept of performance portability across such architectures, as well as traditional CPUs, is vital for the application programmer. In this paper we describe targetDP, a lightweight abstraction layer which allows grid-based applications to target data parallel hardware in a platform agnostic manner. We demonstrate the effectiveness of our pragmatic approach by presenting performance results for a complex fluid application (with which the model was co-designed), plus a separate lattice QCD particle physics code. For each application, a single source code base is seen to achieve portable performance, as assessed within the context of the Roofline model. TargetDP can be combined with MPI to allow use on systems containing multiple nodes: we demonstrate this through provision of scaling results on traditional and GPU-accelerated large scale supercomputers.
September 8, 2016 by hgpu