[clang] [CUDA] Rename SM_32 to SM_32_ to work around AIX headers (PR #88779)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 15 12:31:24 PDT 2024


================
@@ -86,7 +88,7 @@ static const CudaArchToStringMap arch_names[] = {
     // clang-format off
     {CudaArch::UNUSED, "", ""},
     SM2(20, "compute_20"), SM2(21, "compute_20"), // Fermi
-    SM(30), SM(32), SM(35), SM(37),  // Kepler
+    SM(30), SM3(32, "compute_32"), SM(35), SM(37),  // Kepler
----------------
jhuber6 wrote:

Didn't do it originally becausei tm ake the formatting a little awkward, but I'll change it.

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


More information about the cfe-commits mailing list