[all-commits] [llvm/llvm-project] 56da28: [OpenMP] Add GOMP 5.0 version symbols to API

Jonathan Peyton via All-commits all-commits at lists.llvm.org
Tue Jun 15 14:25:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56da28240f3c9d1c0b7152749bfd4777c67828e0
      https://github.com/llvm/llvm-project/commit/56da28240f3c9d1c0b7152749bfd4777c67828e0
  Author: Peyton, Jonathan L <jonathan.l.peyton at intel.com>
  Date:   2021-06-15 (Tue, 15 Jun 2021)

  Changed paths:
    M openmp/runtime/src/exports_so.txt
    M openmp/runtime/src/kmp.h
    M openmp/runtime/src/kmp_csupport.cpp
    M openmp/runtime/src/kmp_ftn_entry.h
    M openmp/runtime/src/kmp_os.h

  Log Message:
  -----------
  [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




More information about the All-commits mailing list