This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Make sure device-side __global__ functions are always visible.
ClosedPublic

Authored by tra on Apr 29 2016, 2:42 PM.

Details

Summary

global functions are a special case in CUDA.

Even when the symbol would normally not be externally
visible according to C++ rules, they still must be visible
to host-side stub which launches the kernel.

Diff Detail

Repository
rL LLVM

Event Timeline

tra updated this revision to Diff 55674.Apr 29 2016, 2:42 PM
tra retitled this revision from to [CUDA] Make sure device-side __global__ functions are always visible..
tra updated this object.
tra added reviewers: jlebar, rnk.
tra added a subscriber: cfe-commits.
jlebar accepted this revision.Apr 29 2016, 2:49 PM
jlebar edited edge metadata.
This revision is now accepted and ready to land.Apr 29 2016, 2:49 PM
This revision was automatically updated to reflect the committed changes.