[Openmp-commits] [PATCH] Task Team Synchronization Fix
terry.l.wilmarth at intel.com
Thu May 21 08:45:52 PDT 2015
See comment in code.
Comment at: runtime/src/kmp_runtime.c:5063
@@ -5063,1 +5062,3 @@
+ // Old threads (except for master) and new threads need task_state and task_team reinitialized.
+ // Master thread will make a memo of old task_state later, then it will update task_state and task_team
This has a bug that was fixed later. Just take the two lines from the loop below, and add them to the loop above, after the call to __kmp_initialize_info. Then the comment and (now empty) loop below can be removed.
More information about the Openmp-commits