The benefits and challenges of explicit memory management in OpenMP Target GPU offloading
arXiv:2608.14554
Abstract
OpenMP Target Offload is a popular GPU technology for porting compute codes that operate on large buffers. One of the main usability features that is typically emphasized is the semi-automatic handling of buffer synchronization in partitioned memory setups, typical of discreet GPU systems. That feature however comes with potential correctness, performance and resource consumption drawbacks. This paper outlines the drawbacks of that approach and outlines how explicit handling of buffer locality, natively supported through OpenMP, avoids most of those pitfalls, but also comes with its own downsides.
4 pages