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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314691
91177308-0d34-0410-b5e6-
96231b3b80d8
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