D20525: Use more general function for getting gtid which may be faster than specific one.

llvm-svn: 270694
This commit is contained in:
Andrey Churbanov 2016-05-25 12:53:17 +00:00
parent 2af8205429
commit 2fd1654278
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}