Skip to main content
SHARE
Publication

Understanding Portability of a High-Level Programming Model on Contemporary Heterogeneous Architectures...

by Amit J Sabne, Putt Sakdhnagool, Seyong Lee, Jeffrey S Vetter
Publication Type
Journal
Journal Name
IEEE Micro
Publication Date
Page Numbers
48 to 58
Volume
35
Issue
4

Accelerator-based heterogeneous computing is gaining momentum in the high-performance computing arena. However, the increased complexity of heterogeneous architectures demands more generic, high-level programming models. OpenACC is one such attempt to tackle this problem. Although the abstraction provided by OpenACC offers productivity, it raises questions concerning both functional and performance portability. In this article, the authors propose HeteroIR, a high-level, architecture-independent intermediate representation, to map high-level programming models, such as OpenACC, to heterogeneous architectures. They present a compiler approach that translates OpenACC programs into HeteroIR and accelerator kernels to obtain OpenACC functional portability. They then evaluate the performance portability obtained by OpenACC with their approach on 12 OpenACC programs on Nvidia CUDA, AMD GCN, and Intel Xeon Phi architectures. They study the effects of various compiler optimizations and OpenACC program settings on these architectures to provide insights into the achieved performance portability.