[Openmp-commits] [PATCH] D27975: fix for the __kmpc_global_num_threads function to return the value of the __kmp_all_nth global var
Phabricator via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Dec 21 13:30:58 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL290272: Fix for the __kmpc_global_num_threads function to return the value of theā¦ (authored by achurbanov).
Changed prior to commit:
https://reviews.llvm.org/D27975?vs=82078&id=82262#toc
Repository:
rL LLVM
https://reviews.llvm.org/D27975
Files:
openmp/trunk/runtime/src/kmp_csupport.cpp
Index: openmp/trunk/runtime/src/kmp_csupport.cpp
===================================================================
--- openmp/trunk/runtime/src/kmp_csupport.cpp
+++ openmp/trunk/runtime/src/kmp_csupport.cpp
@@ -121,9 +121,9 @@
kmp_int32
__kmpc_global_num_threads(ident_t *loc)
{
- KC_TRACE( 10, ("__kmpc_global_num_threads: num_threads = %d\n", __kmp_nth ) );
+ KC_TRACE(10,("__kmpc_global_num_threads: num_threads = %d\n", __kmp_all_nth));
- return TCR_4(__kmp_nth);
+ return TCR_4(__kmp_all_nth);
}
/*!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27975.82262.patch
Type: text/x-patch
Size: 528 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20161221/052738b5/attachment.bin>
More information about the Openmp-commits
mailing list