[OpenMP] Add lower and upper bound in num_teams clause
authorNawrin Sultana <nawrin.sultana@intel.com>
Fri, 30 Oct 2020 18:04:25 +0000 (13:04 -0500)
committerNawrin Sultana <nawrin.sultana@intel.com>
Wed, 10 Feb 2021 19:58:50 +0000 (13:58 -0600)
commit4692bb4a8a6f78ee166ac8d2b1ec9082bd6e2be5
tree429bcb9fdb09b74bc0642d740833a5eb2862d62a
parent544cebd6197820e35047eba0d0e04b9008bdb860
[OpenMP] Add lower and upper bound in num_teams clause

This patch adds lower-bound and upper-bound to num_teams clause
according to OpenMP 5.1 specification. The initial number of teams
created is implementation defined, but it will be greater than or
equal to lower-bound and less than or equal to upper-bound. If
num_teams clause is not specified, the number of teams created is
implementation defined, but it will be greater or equal to 1.

Differential Revision: https://reviews.llvm.org/D95820
openmp/runtime/src/dllexports
openmp/runtime/src/i18n/en_US.txt
openmp/runtime/src/kmp.h
openmp/runtime/src/kmp_csupport.cpp
openmp/runtime/src/kmp_runtime.cpp
openmp/runtime/test/teams/kmp_num_teams.c [new file with mode: 0644]