Performance analysis of OpenMP on a GPU using a CORAL proxy application
Authors:
Open Access
- 15 November 2015
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-11
Abstract
OpenMP provides high-level parallel abstractions for programing heterogeneous systems based on acceleration technology. Active areas of research are looking to characterise the performance that can be expected from even the simplest combinations of directives and how they compare to versions manually implemented and tuned to a specific hardware accelerator. In this paper we analyze the performance of our implementation of the OpenMP 4.0 constructs on an NVIDIA GPU. For performance analysis we use LULESH, a complex proxy application provided by the Department of Energy as part of the CORAL benchmark suite. NVIDIA provides CUDA as a native programming model for GPUs. We compare the performance of an OpenMP 4.0 version of LULESH obtained from a pre-existing OpenMP implementation with a functionally equivalent CUDA implementation. Alongside our performance analysis we also present the tuning steps required to obtain good performance when porting existing applications to a new accelerator architecture. Based on the analysis of the performance characteristics of our application we present an extension to the compiler code-synthesis process for combined OpenMP 4.0 offloading directives. The results obtained using our OpenMP compilation toolchain show performance within as low as 10% of native CUDA C/C++ for application kernels with low register counts.Keywords
This publication has 6 references indexed in Scilit:
- Integrating GPU support for OpenMP offloading directives into Clang2015
- Coordinating GPU Threads for OpenMP 4.0 in LLVM2015
- CUDA-NP2014
- On the Roles of the Programmer, the Compiler and the Runtime System When Programming Accelerators in OpenMP2014
- Exploring Traditional and Emerging Parallel Programming Models Using a Proxy Application2013
- LULESH Programming Model and Performance Ports Overview2012