summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_barrier.cpp
diff options
context:
space:
mode:
authorJoachim Protze <protze@itc.rwth-aachen.de>2019-01-15 15:36:53 +0000
committerJoachim Protze <protze@itc.rwth-aachen.de>2019-01-15 15:36:53 +0000
commit2b46d30fc7049fc5cc5b9f98df654509bb4d61a2 (patch)
treee7fd23a7f6aa013b96787936e4785fb8e4f2bc5f /openmp/runtime/src/kmp_barrier.cpp
parentabdc13a08af81d2f6f196e4ecee88b0f1c1303c3 (diff)
downloadbcm5719-llvm-2b46d30fc7049fc5cc5b9f98df654509bb4d61a2.tar.gz
bcm5719-llvm-2b46d30fc7049fc5cc5b9f98df654509bb4d61a2.zip
[OMPT] Second chunk of final OMPT 5.0 interface updates
The omp-tools.h file is generated from the OpenMP spec to ensure that the interface is implemented as specified. The other changes are necessary to update the interface implementation to the final version as published in 5.0. The omp-tools.h header was previously called ompt.h, currently a copy under this name is installed for legacy tools. Patch partially perpared by @sconvent Reviewers: AndreyChurbanov, hbae, Hahnfeld Reviewed By: hbae Tags: #openmp, #ompt Differential Revision: https://reviews.llvm.org/D55579 llvm-svn: 351197
Diffstat (limited to 'openmp/runtime/src/kmp_barrier.cpp')
-rw-r--r--openmp/runtime/src/kmp_barrier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_barrier.cpp b/openmp/runtime/src/kmp_barrier.cpp
index 79b6bf399b0..b8e8d933905 100644
--- a/openmp/runtime/src/kmp_barrier.cpp
+++ b/openmp/runtime/src/kmp_barrier.cpp
@@ -1910,7 +1910,7 @@ void __kmp_fork_barrier(int gtid, int tid) {
#endif
if (!KMP_MASTER_TID(ds_tid) && ompt_enabled.ompt_callback_implicit_task) {
ompt_callbacks.ompt_callback(ompt_callback_implicit_task)(
- ompt_scope_end, NULL, task_data, 0, ds_tid);
+ ompt_scope_end, NULL, task_data, 0, ds_tid, ompt_task_implicit); // TODO: Can this be ompt_task_initial?
}
}
#endif
OpenPOWER on IntegriCloud