Re: r326590 - [OPENMP] Treat local variables in CUDA mode as thread local.

2018-03-02 Thread Jonas Hahnfeld via cfe-commits
Hi Alexey, Am 2018-03-02 18:17, schrieb Alexey Bataev via cfe-commits: Author: abataev Date: Fri Mar 2 09:17:12 2018 New Revision: 326590 URL: http://llvm.org/viewvc/llvm-project?rev=326590&view=rev Log: [OPENMP] Treat local variables in CUDA mode as thread local. In CUDA mode all local varia

r326590 - [OPENMP] Treat local variables in CUDA mode as thread local.

2018-03-02 Thread Alexey Bataev via cfe-commits
Author: abataev Date: Fri Mar 2 09:17:12 2018 New Revision: 326590 URL: http://llvm.org/viewvc/llvm-project?rev=326590&view=rev Log: [OPENMP] Treat local variables in CUDA mode as thread local. In CUDA mode all local variables are actually thread local|threadprivate, not private, and, thus, they