[CUDA] Fix name of __activemask()

The name has two underscores in the official CUDA documentation:
http://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#warp-vote-functions

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

llvm-svn: 314691
This commit is contained in:
Jonas Hahnfeld 2017-10-02 17:50:11 +00:00
parent ea89ff7c25
commit f21a60233c
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ inline __device__ unsigned int __ballot_sync(unsigned int mask, int pred) {
return __nvvm_vote_ballot_sync(mask, pred);
}
inline __device__ unsigned int activemask() { return __nvvm_vote_ballot(1); }
inline __device__ unsigned int __activemask() { return __nvvm_vote_ballot(1); }
#endif // !defined(__CUDA_ARCH__) || __CUDA_ARCH__ >= 300