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

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 17 11:56:18 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,
----------------
Artem-B wrote:

Here's the dump of ELF headers for sm_110/a/f with cuda-13 and 101/a/f with cuda-12.9: https://gist.github.com/Artem-B/1995e3bd80a06b3bee33196e8753d73b

The definitions look fine.

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


More information about the llvm-commits mailing list