[OPENMP][NVPTX]Enable fast shuffles on 64bit values only if CUDA >= 9.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 10 Dec 2018 14:29:05 +0000 (14:29 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 10 Dec 2018 14:29:05 +0000 (14:29 +0000)
commitcc6cf64c38f49ad203aa2252c4209e21103f06f6
treea01828afc2266ffa6cd3202bba8d456828e8ebed
parent4d62f6c3142b4b93e69e39a8238d1189744669b9
[OPENMP][NVPTX]Enable fast shuffles on 64bit values only if CUDA >= 9.

Summary:
Shuffle on 64bit data is allowed only for CUDA >= 9.0. Also, fixed the
constant for the mask, need one extra L in the end.

Reviewers: gtbercea, kkwli0

Subscribers: guansong, caomhin, openmp-commits

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

llvm-svn: 348758
openmp/libomptarget/deviceRTLs/nvptx/src/reduction.cu