<div dir="ltr">Andrey,<div><br></div><div>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. </div><div><br></div><div>Yonghong</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 20, 2016 at 1:41 PM, Andrey Churbanov via Phabricator <span dir="ltr"><<a href="mailto:reviews@reviews.llvm.org" target="_blank">reviews@reviews.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">AndreyChurbanov accepted this revision.<br>
AndreyChurbanov added a reviewer: AndreyChurbanov.<br>
AndreyChurbanov added a comment.<br>
This revision is now accepted and ready to land.<br>
<br>
LGTM<br>
<br>
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.<br>
<br>
<br>
<a href="https://reviews.llvm.org/D27975" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D27975</a><br>
<br>
<br>
<br>
</blockquote></div><br></div></div>