This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Allow static variables in __host__ __device__ functions, so long as they're never codegen'ed for device.
ClosedPublic

Authored by jlebar on Sep 30 2016, 6:01 PM.

Event Timeline

jlebar updated this revision to Diff 73182.Sep 30 2016, 6:01 PM
jlebar retitled this revision from to [CUDA] Allow static variables in __host__ __device__ functions, so long as they're never codegen'ed for device..
jlebar updated this object.
jlebar added reviewers: tra, rnk.
jlebar added a subscriber: cfe-commits.
rnk accepted this revision.Oct 3 2016, 9:31 AM
rnk edited edge metadata.

lgtm

This revision is now accepted and ready to land.Oct 3 2016, 9:31 AM
This revision was automatically updated to reflect the committed changes.