Skip to main content
SHARE
Publication

Clacc: Translating Openacc to Openmp In Clang

Publication Type
Conference Paper
Journal Name
IEEE/ACM Workshop on the LLVM Compiler Infrastructure in HPC (LLVM-HPC)
Publication Date
Page Numbers
18 to 29
Volume
5
Issue
0
Conference Name
The Fifth Workshop on the LLVM Compiler Infrastructure in HPC (LLVM-HPC 2018)
Conference Location
Dallas, Texas, United States of America
Conference Sponsor
IEEE

OpenACC was launched in 2010 as a portable programming model for heterogeneous accelerators. Although various implementations already exist, no extensible, open-source, production-quality compiler support is available to the community. This deficiency poses a serious risk for HPC application developers targeting GPUs and other accelerators, and it limits experimentation and progress for the OpenACC specification. To address this deficiency, Clacc is a recent effort funded by the US Exascale Computing Project to develop production OpenACC compiler support for Clang and LLVM. A key feature of the Clacc design is to translate OpenACC to OpenMP to build on Clang's existing OpenMP compiler and runtime support. In this paper, we describe the Clacc goals and design. We also describe the challenges that we have encountered so far in our prototyping efforts, and we present some early performance results.