summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src
diff options
context:
space:
mode:
authorJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>2016-08-08 13:23:08 +0000
committerJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>2016-08-08 13:23:08 +0000
commitad0c42e3a9a185bc904aba3407f9dd5c9b08f67c (patch)
tree39c7df4093cc273352a25d807f0b3ff180bd7105 /openmp/runtime/src
parentfa00ba3c1a43b52779d9d23fd9baef57601f6ea1 (diff)
downloadbcm5719-llvm-ad0c42e3a9a185bc904aba3407f9dd5c9b08f67c.tar.gz
bcm5719-llvm-ad0c42e3a9a185bc904aba3407f9dd5c9b08f67c.zip
kmp_gsupport: Fix library initialization with taskgroup
Differential Revision: https://reviews.llvm.org/D23259 llvm-svn: 278003
Diffstat (limited to 'openmp/runtime/src')
-rw-r--r--openmp/runtime/src/kmp_gsupport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_gsupport.c b/openmp/runtime/src/kmp_gsupport.c
index 23c97d19bc7..62baa2b24cf 100644
--- a/openmp/runtime/src/kmp_gsupport.c
+++ b/openmp/runtime/src/kmp_gsupport.c
@@ -1259,7 +1259,7 @@ PARALLEL_LOOP(xexpand(KMP_API_NAME_GOMP_PARALLEL_LOOP_RUNTIME), kmp_sch_runtime)
void
xexpand(KMP_API_NAME_GOMP_TASKGROUP_START)(void)
{
- int gtid = __kmp_get_gtid();
+ int gtid = __kmp_entry_gtid();
MKLOC(loc, "GOMP_taskgroup_start");
KA_TRACE(20, ("GOMP_taskgroup_start: T#%d\n", gtid));
OpenPOWER on IntegriCloud