[llvm-branch-commits] [llvm] [Offload] Add global variable address/size queries (PR #147972)
Joseph Huber via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jul 10 08:21:11 PDT 2025
https://github.com/jhuber6 approved this pull request.
I'm wondering if we could just make it `getSymbol` instead of `getKernel`. We need to disambiguate for the underlying runtime calls (AMDGPU needs `.kd` and CUDA uses a different one) but that should be easily doable with a quick lookup in the ELF to see if the symbol is a function or variable.
https://github.com/llvm/llvm-project/pull/147972
More information about the llvm-branch-commits
mailing list