[all-commits] [llvm/llvm-project] 5e3487: [OpenMP] Add ident_t flags for compiler OpenMP ver...

Jonathan Peyton via All-commits all-commits at lists.llvm.org
Thu Nov 5 09:15:08 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e34877480dfcb8c3cd6f95ac0a46aca417b19bc
      https://github.com/llvm/llvm-project/commit/5e34877480dfcb8c3cd6f95ac0a46aca417b19bc
  Author: Peyton, Jonathan L <jonathan.l.peyton at intel.com>
  Date:   2020-11-05 (Thu, 05 Nov 2020)

  Changed paths:
    M openmp/runtime/src/kmp.h
    M openmp/runtime/src/kmp_dispatch.cpp

  Log Message:
  -----------
  [OpenMP] Add ident_t flags for compiler OpenMP version

This patch adds the mask and ident_t function to get the
openmp version. It also adds logic to force monotonic:dynamic
behavior when OpenMP version less than 5.0.

The OpenMP version is stored in the format:
major*10+minor e.g., OpenMP 5.0 = 50

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




More information about the All-commits mailing list