[Openmp-commits] [openmp] r270694 - D20525: Use more general function for getting gtid which may be faster than specific one.
Andrey Churbanov via Openmp-commits
openmp-commits at lists.llvm.org
Wed May 25 05:53:18 PDT 2016
Author: achurbanov
Date: Wed May 25 07:53:17 2016
New Revision: 270694
URL: http://llvm.org/viewvc/llvm-project?rev=270694&view=rev
Log:
D20525: Use more general function for getting gtid which may be faster than specific one.
Modified:
openmp/trunk/runtime/src/ompt-specific.h
Modified: openmp/trunk/runtime/src/ompt-specific.h
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/ompt-specific.h?rev=270694&r1=270693&r2=270694&view=diff
==============================================================================
--- openmp/trunk/runtime/src/ompt-specific.h (original)
+++ openmp/trunk/runtime/src/ompt-specific.h Wed May 25 07:53:17 2016
@@ -69,7 +69,7 @@ ompt_get_thread_gtid(int gtid)
inline ompt_thread_t *
ompt_get_thread()
{
- int gtid = __kmp_gtid_get_specific();
+ int gtid = __kmp_get_gtid();
return ompt_get_thread_gtid(gtid);
}
More information about the Openmp-commits
mailing list