aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-11-09 16:28:32 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-11-09 16:28:32 +0000
commitb0b83c8b0cb020425fe5cfbc892d170cec696caa (patch)
tree2b73f51cb086243f8b18eb8fa096c143e7a29dec /clang/lib/Basic/VirtualFileSystem.cpp
parent64956b5e9afb2badbd91354aefba7bfdbd1652d4 (diff)
downloadllvm-b0b83c8b0cb020425fe5cfbc892d170cec696caa.zip
llvm-b0b83c8b0cb020425fe5cfbc892d170cec696caa.tar.gz
llvm-b0b83c8b0cb020425fe5cfbc892d170cec696caa.tar.bz2
Fixes and improvements to tasking in barriers
1) 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. 2) 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. 3) Remove an unneeded assignment of tt_found_tasks in task team free function. Differential Revision: http://reviews.llvm.org/D14456 llvm-svn: 252486
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions