[PATCH] D20034: [CUDA] Only __shared__ variables can be static local on device side.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Fri May 6 15:13:14 PDT 2016


jlebar added a comment.

What are we supposed to do if we encounter a static __shared__ variable in an HD function?  Presumably that also should be an error if we invoke the HD function from the device?


http://reviews.llvm.org/D20034





More information about the cfe-commits mailing list