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 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits