forked from OSchip/llvm-project
D20525: Use more general function for getting gtid which may be faster than specific one.
llvm-svn: 270694
This commit is contained in:
parent
2af8205429
commit
2fd1654278
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue