[clang] [CUDA] Rename SM_32 to SM_32_ to work around AIX headers (PR #88779)
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 15 12:28:49 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
----------------
Artem-B wrote:
Nit. We don't really need SM3 here. For one-off we could Just use `{CudaArch::SM_32_, "sm_32" , "compute_32"}}`
https://github.com/llvm/llvm-project/pull/88779
More information about the cfe-commits
mailing list