- When the number of threads in a team increases, new threads need to have all their barrier struct fields initialized. We were missing the parent_bar and team fields.
- For non-forkjoin barriers, we now do the __kmp_task_team_setup before the gather. The setup now sets up the task_team that all the threads will switch to after the barrier, but it needs to be done before other threads do the switch.
- Remove an unneeded assignment of tt_found_tasks in task team free function.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM