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.
Paths
| Differential D19748
[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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 29 2016, 2:49 PM Closed by commit rL268299: [CUDA] Make sure device-side __global__ functions are always visible. (authored by tra). · Explain WhyMay 2 2016, 1:36 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 55885 cfe/trunk/lib/AST/ASTContext.cpp
cfe/trunk/test/CodeGenCUDA/ptx-kernels.cu
|