According to the OpenMP standard, barrier operation must perform
implicit flush operation. Currently, if there is only one thread in the
team, barrier does not flush the memory. Patch fixes this problem.
Details
Details
- Reviewers
- grokos - gtbercea - kkwli0 - jdoerfert 
- Commits
- rGca424d100c15: [OPENMP][NVPTX]Perform memory flush if number of threads to sync is 1 or less.
 rL367024: [OPENMP][NVPTX]Perform memory flush if number of threads to sync is 1 or less.
 rOMP367024: [OPENMP][NVPTX]Perform memory flush if number of threads to sync is 1 or less.
Diff Detail
Diff Detail
- Repository
- rL LLVM