[OpenMP][libomptarget] Fix data sharing and globalization infrastructure to work...
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Fri, 13 Jul 2018 16:14:22 +0000 (16:14 +0000)
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Fri, 13 Jul 2018 16:14:22 +0000 (16:14 +0000)
commit9e94326185b9c6427ebc86bce00fbf250b3c2150
tree97af23a8971f7601a6900b292135b139ae8736c7
parent667eac80daca61bc549ae880a54071a51c6c37b9
[OpenMP][libomptarget] Fix data sharing and globalization infrastructure to work in SPMD mode

Summary: This patch fixes the data sharing infrastructure to work for the SPMD and non-SPMD cases.

Reviewers: ABataev, grokos, carlo.bertolli, caomhin

Reviewed By: ABataev, grokos

Subscribers: guansong, openmp-commits

Differential Revision: https://reviews.llvm.org/D49204

llvm-svn: 337013
openmp/libomptarget/deviceRTLs/nvptx/src/data_sharing.cu
openmp/libomptarget/deviceRTLs/nvptx/src/interface.h
openmp/libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.h