[Openmp-commits] [PATCH] OMPT event_barrier_end fix
Jonathan Peyton
jonathan.l.peyton at intel.com
Wed Jul 1 08:16:30 PDT 2015
REPOSITORY
rL LLVM
http://reviews.llvm.org/D10863
Files:
openmp/trunk/runtime/src/kmp_barrier.cpp
Index: openmp/trunk/runtime/src/kmp_barrier.cpp
===================================================================
--- openmp/trunk/runtime/src/kmp_barrier.cpp
+++ openmp/trunk/runtime/src/kmp_barrier.cpp
@@ -1502,7 +1502,7 @@
KA_TRACE(10, ("__kmp_join_barrier: T#%d(%d:%d) leaving\n", gtid, team_id, tid));
#if OMPT_SUPPORT
- if (ompt_status == ompt_status_track) {
+ if (ompt_status & ompt_status_track) {
#if OMPT_TRACE
if ((ompt_status == ompt_status_track_callback) &&
ompt_callbacks.ompt_callback(ompt_event_barrier_end)) {
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10863.28871.patch
Type: text/x-patch
Size: 568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20150701/6e9ec526/attachment.bin>
More information about the Openmp-commits
mailing list