[llvm-dev] __syncthreads() inrtinsic seems to be missing from __clang_cuda_device_functions.h

Johannes Doerfert via llvm-dev llvm-dev at lists.llvm.org
Fri May 22 16:42:02 PDT 2020


We list it as a builtin and it should be available if the target is nvptx.

Do you have problems due to the missing function?


Cheers,

   Johannes


On 5/22/20 1:27 PM, Jesse Lu via llvm-dev wrote:
> Hi!
>
> I see the `__syncthreads_{and|or|count}()` CUDA intrinsics listed in
> https://github.com/llvm/llvm-project/blob/master/clang/lib/Headers/__clang_cuda_device_functions.h
> but
> the vanilla `__syncthreads()` intrinsic seems to be missing. Is this an
> oversight, or is it omitted for a specific reason?
>
> Thank you!
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200522/2cf5060f/attachment.html>


More information about the llvm-dev mailing list