[clang] [llvm] [CUDA] Add a pseudo GPU sm_next which allows overriding for SM/PTX version. (PR #100247)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 23 16:22:14 PDT 2024


================
@@ -96,6 +96,7 @@ static const OffloadArchToStringMap arch_names[] = {
     SM(89),                          // Ada Lovelace
     SM(90),                          // Hopper
     SM(90a),                         // Hopper
+    SM(next),                        // Placeholder for a new arch.
----------------
jhuber6 wrote:

Okay, so we don't rely on the actual integers here and don't need to worry about weird ABI stuff I guess.

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


More information about the llvm-commits mailing list