[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 15:58:35 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:
I'm guessing it's intentional that when we add a new `sm` it will take that old value that `sm_next` had?
https://github.com/llvm/llvm-project/pull/100247
More information about the llvm-commits
mailing list