[llvm] [LLVM] Update CUDA ELF flags for their new ABI (PR #149534)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 18 13:00:56 PDT 2025
================
@@ -679,7 +681,18 @@ StringRef ELFObjectFileBase::getNVPTXCPUName() const {
// Hopper architecture.
case ELF::EF_CUDA_SM90:
- return getPlatformFlags() & ELF::EF_CUDA_ACCELERATORS ? "sm_90a" : "sm_90";
+ return getPlatformFlags() & ELF::EF_CUDA_ACCELERATORS_V1 ? "sm_90a"
+ : "sm_90";
----------------
Artem-B wrote:
Do they have any extra flags for the recently added `f` variants of the architecture?
https://github.com/llvm/llvm-project/pull/149534
More information about the llvm-commits
mailing list