[clang] [CUDA/HIP] Externalize __device__ const variables for symbol lookup (PR #177292)

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 11 09:48:35 PST 2026


shiltian wrote:

> When we compile on the device side we pass `-fvisibility=hidden`, right? Is the symbol still visible for the lookup in this case?

Do we? I thought the internalization is only done via an extra AMDGPU dedicated argument.

https://github.com/llvm/llvm-project/pull/177292


More information about the cfe-commits mailing list