aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Cuda.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2023-07-17 09:34:45 +0100
committerJay Foad <jay.foad@amd.com>2023-07-17 13:06:12 +0100
commit92542f2a400024e8a878242afe8231e17df345e5 (patch)
treefd42491f5e3401af8bac8004057cd56531615f4e /clang/lib/Basic/Cuda.cpp
parente6afacc0347c8f95678d56692ebc409ae85b162c (diff)
downloadllvm-92542f2a400024e8a878242afe8231e17df345e5.zip
llvm-92542f2a400024e8a878242afe8231e17df345e5.tar.gz
llvm-92542f2a400024e8a878242afe8231e17df345e5.tar.bz2
[AMDGPU] Add targets gfx1150 and gfx1151
This is the target definition only. Currently they are treated the same as GFX 11.0.x. Differential Revision: https://reviews.llvm.org/D155429
Diffstat (limited to 'clang/lib/Basic/Cuda.cpp')
-rw-r--r--clang/lib/Basic/Cuda.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Basic/Cuda.cpp b/clang/lib/Basic/Cuda.cpp
index 356bfd6..2307352 100644
--- a/clang/lib/Basic/Cuda.cpp
+++ b/clang/lib/Basic/Cuda.cpp
@@ -133,6 +133,8 @@ static const CudaArchToStringMap arch_names[] = {
GFX(1101), // gfx1101
GFX(1102), // gfx1102
GFX(1103), // gfx1103
+ GFX(1150), // gfx1150
+ GFX(1151), // gfx1151
{CudaArch::Generic, "generic", ""},
// clang-format on
};