[PATCH] D53153: [OpenCL] Mark kernel functions with default visibility
Scott Linder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 30 11:39:44 PST 2018
scott.linder added a comment.
In D53153#1314798 <https://reviews.llvm.org/D53153#1314798>, @rjmccall wrote:
> You still have the same linkage model for those other languages, right? Ultimately there's something like a kernel function that has to be declared specially and which becomes the only public interface of the code?
I don't think this is true for all languages targeting AMDGPU. For example, HIP has APIs like `hipMemcpyToSymbol` which accept a string identifying a symbol for a variable in global/constant address space. @yaxunl is my understanding about the HIP runtime requiring dynamic symbols for global variables correct here?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D53153/new/
https://reviews.llvm.org/D53153
More information about the cfe-commits
mailing list