[llvm] [LLVM] Fix offload and update CUDA ABI for all SM values (PR #159354)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 17 11:19:56 PDT 2025


================
@@ -951,8 +957,12 @@ enum : unsigned {
   EF_CUDA_SM86 = 0x56,
   EF_CUDA_SM87 = 0x57,
   EF_CUDA_SM89 = 0x59,
-  // The sm_90a variant uses the same machine flag.
   EF_CUDA_SM90 = 0x5a,
+  EF_CUDA_SM100 = 0x64,
+  EF_CUDA_SM101 = 0x65,
----------------
jhuber6 wrote:

I don't have easy access to CUDA 13.0 yet, just an ELF someone else gave me which these  work on. Will it be sufficient to just handle both cases?

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


More information about the llvm-commits mailing list