Back to Search Start Over

Static Generation of Efficient OpenMP Offload Data Mappings

Authors :
Marzen, Luke
Dutta, Akash
Jannesari, Ali
Publication Year :
2024

Abstract

Increasing heterogeneity in HPC architectures and compiler advancements have led to OpenMP being frequently used to enable computations on heterogeneous devices. However, the efficient movement of data on heterogeneous computing platforms is crucial for achieving high utilization. Programmers must explicitly map data between the host and connected accelerator devices to achieve efficient data movement. Ensuring efficient data transfer requires programmers to reason about complex data flow. This can be a laborious and error-prone process since the programmer must keep a mental model of data validity and lifetime spanning multiple data environments. We present a static analysis tool, OMPDart (OpenMP Data Reduction Tool), for OpenMP programs that models data dependencies between host and device regions and applies source code transformations to achieve efficient data transfer. Our evaluations on nine HPC benchmarks demonstrate that OMPDart is capable of generating effective data mapping constructs that substantially reduce data transfer between host and device.<br />Comment: Accepted to the 2024 International Conference for High Performance Computing, Networking, Storage, and Analysis (SC24)

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2406.13881
Document Type :
Working Paper