Skip to main content
SHARE
Publication

Implementing the OpenACC Data Model...

Publication Type
Conference Paper
Book Title
The Seventh International Workshop on
Accelerators and Hybrid Exascale Systems
(AsHES)
Publication Date
Page Numbers
662 to 672
Conference Name
The Seventh International Workshop on Accelerators and Hybrid Exascale Systems (AsHES) in conjunction with 31st IEEE International Parallel and Distributed Processing Symposium (IPDPS)
Conference Location
Orlando, Florida, United States of America
Conference Sponsor
IEEE
Conference Date
-

Programming accelerators today usually requires managing separate virtual and physical memories, such as allocating space in and copying data between host and device memories. The OpenACC API provides data directives and clauses to control this behavior where it is required. This paper describes how the data model is supported in current OpenACC implementations, ranging from research compilers (OpenUH and OpenARC) to a commercial compiler (the PGI OpenACC compiler). This includes implementation of the data directives and clauses, testing whether the data is already present on the device, OpenCL support, managing asynchronous data transfers and memory allocations, handling aliased data, reusing device memory, managing partially present data, and support for shared memory between host and device. Lastly, it also discusses on-going work to manage large, complex dynamic data structures.