Publisher
Springer International PublishingCitation
Neth, B., Scogland, T. R., Duran, A., & de Supinski, B. R. (2021, September). Beyond Explicit Transfers: Shared and Managed Memory in OpenMP. In International Workshop on OpenMP (pp. 183-194). Springer, Cham.Rights
© Springer Nature Switzerland AG 2021Collection Information
This item from the UA Faculty Publications collection is made available by the University of Arizona with support from the University of Arizona Libraries. If you have questions, please contact us at repository@u.library.arizona.edu.Abstract
OpenMP began supporting offloading in version 4.0, almost 10 years ago. It introduced the programming model for offload to GPUs or other accelerators that was common at the time, requiring users to explicitly transfer data between host and devices. But advances in heterogeneous computing and programming systems have created a new environment. No longer are programmers required to manage tracking and moving their data on their own. Now, for those who want it, inter-device address mapping and other runtime systems push these data management tasks behind a veil of abstraction. In the context of this progress, OpenMP offloading support shows signs of its age. However, because of its ubiquity as a standard for portable, parallel code, OpenMP is well positioned to provide a similar standard for heterogeneous programming. Towards this goal, we review the features available in other programming systems and argue that OpenMP expand its offloading support to better meet the expectations of modern programmers. The first step, detailed here, augments OpenMP’s existing memory space abstraction with device awareness and a concept of shared and managed memory. Thus, users can allocate memory accessible to different combinations of devices that do not require explicit memory transfers. We show the potential performance impact of this feature and discuss the possible downsides.Note
12 month embargo; first online: 08 September 2021ISSN
0302-9743EISSN
1611-3349Version
Final accepted manuscriptae974a485f413a2113503eed53cd6c53
10.1007/978-3-030-85262-7_13