[OPENMP][NVPTX]Improve thread limit counter, NFC.
Patch improves performance of the full runtime mode by moving
thread-limit counter to the shared memory. It also allows to save
Reviewers: grokos, gtbercea, kkwli0
Subscribers: guansong, jdoerfert, caomhin, openmp-commits
Differential Revision: https://reviews.llvm.org/D61526
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@359922 91177308-0d34-0410-b5e6-96231b3b80d8
5 files changed