[Openmp-commits] [PATCH] D103647: [OpenMP] Add GOMP 5.0 version symbols to API

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jun 3 14:19:40 PDT 2021


jlpeyton created this revision.
jlpeyton added reviewers: AndreyChurbanov, tlwilmar, hbae, Nawrin.
jlpeyton added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
jlpeyton requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

- 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).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103647

Files:
  openmp/runtime/src/exports_so.txt
  openmp/runtime/src/kmp.h
  openmp/runtime/src/kmp_csupport.cpp
  openmp/runtime/src/kmp_ftn_entry.h
  openmp/runtime/src/kmp_os.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103647.349684.patch
Type: text/x-patch
Size: 9473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210603/11db2240/attachment.bin>


More information about the Openmp-commits mailing list