[PATCH] D90311: [CUDA][HIP] Fix linkage for -fgpu-rdc

2020-11-03 Thread Yaxun Liu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGabd8cd9199d1: [CUDA][HIP] Fix linkage for -fgpu-rdc (authored by yaxunl). Herald added a project: clang. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D90311/

[PATCH] D90311: [CUDA][HIP] Fix linkage for -fgpu-rdc

2020-11-02 Thread Artem Belevich via Phabricator via cfe-commits
tra accepted this revision. tra added a comment. This revision is now accepted and ready to land. LGTM. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D90311/new/ https://reviews.llvm.org/D90311 ___ cfe-commits mailing list cfe-commits@lists.ll

[PATCH] D90311: [CUDA][HIP] Fix linkage for -fgpu-rdc

2020-10-28 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl created this revision. yaxunl added a reviewer: tra. yaxunl requested review of this revision. Currently for explicit template function instantiation in CUDA/HIP device compilation clang emits instantiated kernel with external linkage and instantiated device function with internal linkage.