[clang] [CUDA] Add support for sm101 and sm120 target architectures (PR #127187)

Sebastian Jodłowski via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 14 15:26:51 PST 2025


================
@@ -21,6 +21,10 @@ class SM<string version, list<SMFeatures> newer_list> : SMFeatures {
                         !strconcat(f, "|", newer.Features));
 }
 
+let Features = "sm_101a" in def SM_101a : SMFeatures;
+
+def SM_101 : SM<"101", [SM_101a]>;
----------------
jodelek wrote:

Added sm120 and sm120a.

Thanks for the clarification with the other part - I was completely lost there. I hope I got it right.

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


More information about the cfe-commits mailing list