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

Yonghong Yan via Openmp-commits openmp-commits at lists.llvm.org
Wed Dec 21 06:06:38 PST 2016


Andrey,

I do not think I have the write permission to commit (nor I know how to do
that yet). please go ahead to land it.

Yonghong

On Tue, Dec 20, 2016 at 1:41 PM, Andrey Churbanov via Phabricator <
reviews at reviews.llvm.org> wrote:

> AndreyChurbanov accepted this revision.
> AndreyChurbanov added a reviewer: AndreyChurbanov.
> AndreyChurbanov added a comment.
> This revision is now accepted and ready to land.
>
> LGTM
>
> 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.
>
>
> https://reviews.llvm.org/D27975
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20161221/55550151/attachment.html>


More information about the Openmp-commits mailing list