Quantifying OpenMP: Statistical Insights into Usage and Adoption

Tal Kadosh, Niranjan Hasabnis, Timothy Mattson, Yuval Pinter, Gal Oren

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

In high-performance computing (HPC), the demand for efficient parallel programming models has grown dramatically since the end of Dennard Scaling and the subsequent move to multi-core CPUs. OpenMP stands out as a popular choice due to its simplicity and portability, offering a directive-driven approach for shared-memory parallel programming. Despite its wide adoption, however, there is a lack of comprehensive data on the actual usage of OpenMP constructs, hindering unbiased insights into its popularity and evolution. This paper presents a statistical analysis of OpenMP usage and adoption trends based on a novel and extensive database, HPCORPUS, compiled from GitHub repositories containing C, C++, and Fortran code. The results reveal that OpenMP is the dominant parallel programming model, accounting for 45% of all analyzed parallel APIs. Furthermore, it has demonstrated steady and continuous growth in popularity over the past decade. Analyzing specific OpenMP constructs, the study provides in-depth insights into their usage patterns and preferences across the three languages. Notably, we found that while OpenMP has a strong 'common core' of constructs in common usage (while the rest of the API is less used), there are new adoption trends as well, such as simd and target directives for accelerated computing and task for irregular parallelism. Overall, this study sheds light on OpenMP's significance in HPC applications and provides valuable data for researchers and practitioners. It showcases OpenMP's versatility, evolving adoption, and relevance in contemporary parallel programming, underlining its continued role in HPC applications and beyond. These statistical insights are essential for making informed decisions about parallelization strategies and provide a foundation for further advancements in parallel programming models and techniques. HPCORPUS, as well as the analysis scripts and raw results, are available at: https://github.com/Scientific-Computing-Lab-NRCN/HPCorpus

Original languageEnglish
Title of host publication2023 IEEE High Performance Extreme Computing Conference, HPEC 2023
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798350308600
DOIs
StatePublished - 2023
Externally publishedYes
Event2023 IEEE High Performance Extreme Computing Conference, HPEC 2023 - Virtual, Online, United States
Duration: 25 Sep 202329 Sep 2023

Publication series

Name2023 IEEE High Performance Extreme Computing Conference, HPEC 2023

Conference

Conference2023 IEEE High Performance Extreme Computing Conference, HPEC 2023
Country/TerritoryUnited States
CityVirtual, Online
Period25/09/2329/09/23

Bibliographical note

Publisher Copyright:
© 2023 IEEE.

Funding

This research was supported by the Israeli Council for Higher Education (CHE) via the Data Science Research Center, Ben- Gurion University of the Negev, Israel; Pazy grant 226/20; Intel Corporation (oneAPI CoE program); and the Lynn and William Frankel Center for Computer Science. Computational support was provided by the NegevHPC project [44], Intel Developer Cloud [45], and Google Cloud Platform (GCP). The authors thank Re em Harel, Yehonatan Fridman, Israel Hen, and Gabi Dadush for their help and support. This research was supported by the Israeli Council for Higher Education (CHE) via the Data Science Research Center, Ben-Gurion University of the Negev, Israel; Pazy grant 226/20; Intel Corporation (oneAPI CoE program); and the Lynn and William Frankel Center for Computer Science. Computational support was provided by the NegevHPC project [44], Intel Developer Cloud [45], and Google Cloud Platform (GCP). The authors thank Re’em Harel, Yehonatan Fridman, Israel Hen, and Gabi Dadush for their help and support.

FundersFunder number
Data Science Research Center
Google Cloud Platform
Gurion University of the Negev, Israel
Intel Developer Cloud
Lynn and William Frankel Center for Computer Science
Intel Corporation
Ben-Gurion University of the Negev226/20
Council for Higher Education

    Keywords

    • BigQuery
    • C
    • C++
    • CUDA
    • Cilk
    • Fortran
    • GitHub
    • HPCorpus
    • MPI
    • OpenACC
    • OpenCL
    • OpenMP
    • SYCL
    • TBB

    Fingerprint

    Dive into the research topics of 'Quantifying OpenMP: Statistical Insights into Usage and Adoption'. Together they form a unique fingerprint.

    Cite this