commit | 12eef2767778bdadcdda41293c6516aec3f960c1 | [log] [tgz] |
---|---|---|
author | Alexey Bataev <[email protected]> | Mon Jan 07 14:25:25 2019 +0000 |
committer | Alexey Bataev <[email protected]> | Mon Jan 07 14:25:25 2019 +0000 |
tree | 77062198c3a62674c7ac933b846bcf0a1154f0a6 | |
parent | 38895e681eba872ed3a16e6428366cdcb398d61c [diff] |
[OPENMP][NVPTX]Fix dynamic scheduling. Summary: Previous implementation may cause the runtime crash when the number of teams is > 1024. Patch fixes this problem + reduces number of the atomic operations by 32 times. Reviewers: grokos, gtbercea, kkwli0 Subscribers: guansong, jfb, openmp-commits, caomhin Differential Revision: https://reviews.llvm.org/D56332 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@350524 91177308-0d34-0410-b5e6-96231b3b80d8