aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Cuda.cpp
diff options
context:
space:
mode:
authorTim Renouf <tim.renouf@amd.com>2020-10-06 18:23:59 +0100
committerTim Renouf <tim.renouf@amd.com>2020-11-03 16:27:43 +0000
commitee3e642627575bc8fb0a7008f8a02c891e172b7b (patch)
tree5e35529357295ff4873f8303701d9e00053c8f1b /clang/lib/Basic/Cuda.cpp
parentfbc0d41bb0e465a0e2a799e7e3b86be4319019f2 (diff)
downloadllvm-ee3e642627575bc8fb0a7008f8a02c891e172b7b.zip
llvm-ee3e642627575bc8fb0a7008f8a02c891e172b7b.tar.gz
llvm-ee3e642627575bc8fb0a7008f8a02c891e172b7b.tar.bz2
[AMDGPU] Add gfx90c target
This differentiates the Ryzen 4000/4300/4500/4700 series APUs that were previously included in gfx909. Differential Revision: https://reviews.llvm.org/D90419 Change-Id: Ia901a7157eb2f73ccd9f25dbacec38427312377d
Diffstat (limited to 'clang/lib/Basic/Cuda.cpp')
-rw-r--r--clang/lib/Basic/Cuda.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/Cuda.cpp b/clang/lib/Basic/Cuda.cpp
index 42a8a09..5977084b5 100644
--- a/clang/lib/Basic/Cuda.cpp
+++ b/clang/lib/Basic/Cuda.cpp
@@ -87,7 +87,7 @@ CudaArchToStringMap arch_names[] = {
GFX(805), // tongapro
GFX(810), // stoney
GFX(900), // vega, instinct
- GFX(902), GFX(904), GFX(906), GFX(908), GFX(909),
+ GFX(902), GFX(904), GFX(906), GFX(908), GFX(909), GFX(90c),
GFX(1010), GFX(1011), GFX(1012), GFX(1030), GFX(1031)
// clang-format on
};