diff options
author | Jay Foad <jay.foad@amd.com> | 2023-11-23 16:44:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-23 16:44:05 +0000 |
commit | cf1e0c0b07c09af6b72ee912a5e0529c8ff66cad (patch) | |
tree | 922643f7d625e1e6a23c605160805a2f6a92cff4 /clang/lib/Basic/Cuda.cpp | |
parent | fe5c360a9aae61db37886c0c795c409b5129905f (diff) | |
download | llvm-cf1e0c0b07c09af6b72ee912a5e0529c8ff66cad.zip llvm-cf1e0c0b07c09af6b72ee912a5e0529c8ff66cad.tar.gz llvm-cf1e0c0b07c09af6b72ee912a5e0529c8ff66cad.tar.bz2 |
[AMDGPU] Define new targets gfx1200 and gfx1201 (#73133)
Define target names and ELF numbers for new GFX12 targets gfx1200 and
gfx1201. For now they behave identically to GFX11.
Diffstat (limited to 'clang/lib/Basic/Cuda.cpp')
-rw-r--r-- | clang/lib/Basic/Cuda.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Basic/Cuda.cpp b/clang/lib/Basic/Cuda.cpp index 2307352..65840b9 100644 --- a/clang/lib/Basic/Cuda.cpp +++ b/clang/lib/Basic/Cuda.cpp @@ -135,6 +135,8 @@ static const CudaArchToStringMap arch_names[] = { GFX(1103), // gfx1103 GFX(1150), // gfx1150 GFX(1151), // gfx1151 + GFX(1200), // gfx1200 + GFX(1201), // gfx1201 {CudaArch::Generic, "generic", ""}, // clang-format on }; |