[PATCH] D38468: [CUDA] Fix name of __activemask()

Jonas Hahnfeld via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 2 10:51:54 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL314691: [CUDA] Fix name of __activemask() (authored by Hahnfeld).

Changed prior to commit:
  https://reviews.llvm.org/D38468?vs=117384&id=117392#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D38468

Files:
  cfe/trunk/lib/Headers/__clang_cuda_intrinsics.h


Index: cfe/trunk/lib/Headers/__clang_cuda_intrinsics.h
===================================================================
--- cfe/trunk/lib/Headers/__clang_cuda_intrinsics.h
+++ cfe/trunk/lib/Headers/__clang_cuda_intrinsics.h
@@ -186,7 +186,7 @@
   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
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38468.117392.patch
Type: text/x-patch
Size: 522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171002/d06a98a3/attachment-0001.bin>


More information about the cfe-commits mailing list