[PATCH] D44985: Remove initializer for CUDA shared varirable

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 28 11:55:23 PDT 2018


rjmccall added a comment.

What exactly are you trying to express here?  Are you just trying to make these external declarations when compiling for the device because `__shared__` variables are actually defined on the host?  That should be handled by the frontend by setting up the AST so that these declarations are not definitions.


https://reviews.llvm.org/D44985





More information about the cfe-commits mailing list