[Openmp-commits] [PATCH] D95820: [OpenMP] Add bounds to num_teams clause (OpenMP 5.1)

Nawrin Sultana via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Feb 1 14:14:11 PST 2021


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

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95820

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95820.320595.patch
Type: text/x-patch
Size: 12502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210201/f09b1007/attachment.bin>


More information about the Openmp-commits mailing list