forked from OSchip/llvm-project
[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:
parent
ea89ff7c25
commit
f21a60233c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue