[Openmp-commits] [PATCH] D27975: fix for the __kmpc_global_num_threads function to return the value of the __kmp_all_nth global var

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 20 10:41:54 PST 2016

AndreyChurbanov accepted this revision.
AndreyChurbanov added a reviewer: AndreyChurbanov.
AndreyChurbanov added a comment.
This revision is now accepted and ready to land.


Yonghong, you are right, the __kmp_all_nth counts all threads created by the runtime library, whereas __kmp_nth counts only active threads those belong to OMP teams.


More information about the Openmp-commits mailing list