[PATCH] D21337: [CUDA] Give templated device functions internal linkage, templated kernels external linkage.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 14 13:56:59 PDT 2016


jlebar added a comment.

tra makes the good point that maybe this should be done in ASTContext, where we already have a special case for __global__.  (I think I gravitated to doing it this way because the GVA* enums have zero documentation -- at least I have a vague idea of what the LLVM attributes do.  :)

Suggestions welcome, Richard, this patch is just a guess.


http://reviews.llvm.org/D21337





More information about the cfe-commits mailing list