diff options
author | Andrey Churbanov <Andrey.Churbanov@intel.com> | 2016-05-25 12:53:17 +0000 |
---|---|---|
committer | Andrey Churbanov <Andrey.Churbanov@intel.com> | 2016-05-25 12:53:17 +0000 |
commit | 2fd1654278ef9cf2af0fa342a70f8e9a4eb7ddb0 (patch) | |
tree | 2c48aedc5e3f1fda9655da74b91e05adcd45ec6e | |
parent | 2af8205429378e9375b400b3df7f857f651a378f (diff) | |
download | bcm5719-llvm-2fd1654278ef9cf2af0fa342a70f8e9a4eb7ddb0.tar.gz bcm5719-llvm-2fd1654278ef9cf2af0fa342a70f8e9a4eb7ddb0.zip |
D20525: Use more general function for getting gtid which may be faster than specific one.
llvm-svn: 270694
-rw-r--r-- | openmp/runtime/src/ompt-specific.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/ompt-specific.h b/openmp/runtime/src/ompt-specific.h index fdac6b7a4fd..c8b50fbcbf8 100644 --- a/openmp/runtime/src/ompt-specific.h +++ b/openmp/runtime/src/ompt-specific.h @@ -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); } |