[Openmp-commits] [PATCH] D21925: __kmp_partition_places: Update assertion for new parameter

Jonas Hahnfeld via Openmp-commits openmp-commits at lists.llvm.org
Sun Jul 3 23:05:21 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL274482: __kmp_partition_places: Update assertion for new parameter update_master_only (authored by Hahnfeld).

Changed prior to commit:
  http://reviews.llvm.org/D21925?vs=62481&id=62650#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D21925

Files:
  openmp/trunk/runtime/src/kmp_runtime.c

Index: openmp/trunk/runtime/src/kmp_runtime.c
===================================================================
--- openmp/trunk/runtime/src/kmp_runtime.c
+++ openmp/trunk/runtime/src/kmp_runtime.c
@@ -4646,7 +4646,7 @@
                       team->t.t_id, f, th->th.th_new_place,
                       th->th.th_first_place, th->th.th_last_place ) );
                 }
-                KMP_DEBUG_ASSERT( place == masters_place );
+                KMP_DEBUG_ASSERT( update_master_only || place == masters_place );
             }
             else {
                 int S, rem, gap, s_count;
@@ -4705,7 +4705,7 @@
                        team->t.t_id, f, th->th.th_new_place,
                        th->th.th_first_place, th->th.th_last_place) );
                 }
-                KMP_DEBUG_ASSERT( place == masters_place );
+                KMP_DEBUG_ASSERT( update_master_only || place == masters_place );
             }
         }
         break;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21925.62650.patch
Type: text/x-patch
Size: 957 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20160704/e855fbbc/attachment.bin>


More information about the Openmp-commits mailing list