HomePhabricator

[OpenMP] Add GOMP 5.0 version symbols to API

Authored by jlpeyton on Jun 3 2021, 12:09 PM.

Description

[OpenMP] Add GOMP 5.0 version symbols to API

  • Add GOMP versioned pause functions
  • Add GOMP versioned affinity format functions

To do the affinity format functions, only attach versioned symbols
to the APPEND Fortran entries (e.g., omp_set_affinity_format_) since
GOMP only exports two symbols (one for Fortran, one for C). Our
affinity format functions have three symbols.
e.g., with omp_set_affinity_format:

  1. omp_set_affinity_format (Fortran interface)
  2. omp_set_affinity_format_ (Fortran interface)
  3. ompc_set_affinity_format (C interface)

Have the GOMP version of the C symbol alias the ompc_* 3) version
instead of the Fortran unappended version 1).

Differential Revision: https://reviews.llvm.org/D103647

Details

Committed
jlpeytonJun 15 2021, 2:25 PM
Differential Revision
D103647: [OpenMP] Add GOMP 5.0 version symbols to API
Parents
rG92baf414dbfb: [OpenMP] Fix affinity determine capable algorithm on Linux
Branches
Unknown
Tags
Unknown