[PATCH] D123441: [CUDA][HIP] Fix host used external kernel in archive
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 12 13:50:26 PDT 2022
yaxunl added a comment.
Also, I don't see the advantage of resolving this issue through toolchains. You still need to detect kernels and device variables referenced by host code, and generate IR's which introduce artificial references to them. It just becomes more complicated since you have to do them with external tools and handle extra outputs and inputs with the toolchain. Whereas in the current approach the information is directly available in AST and the IR can be generated by clang codegen.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123441/new/
https://reviews.llvm.org/D123441
More information about the cfe-commits
mailing list