forked from OSchip/llvm-project
[HIP] Add gfx1031 and gfx1030
Differential Revision: https://reviews.llvm.org/D87324
This commit is contained in:
parent
f4ac79a364
commit
041da0d828
|
@ -84,7 +84,7 @@ CudaArchToStringMap arch_names[] = {
|
|||
GFX(810), // stoney
|
||||
GFX(900), // vega, instinct
|
||||
GFX(902), GFX(904), GFX(906), GFX(908), GFX(909),
|
||||
GFX(1010), GFX(1011), GFX(1012),
|
||||
GFX(1010), GFX(1011), GFX(1012), GFX(1030), GFX(1031)
|
||||
// clang-format on
|
||||
};
|
||||
#undef SM
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
// REQUIRES: clang-driver, x86-registered-target, amdgpu-registered-target
|
||||
|
||||
// RUN: %clang -### -target x86_64-linux-gnu \
|
||||
// RUN: --offload-arch=gfx1030 \
|
||||
// RUN: --offload-arch=gfx1031 \
|
||||
// RUN: -nogpuinc -nogpulib \
|
||||
// RUN: %s 2>&1 | FileCheck %s
|
||||
|
||||
// CHECK: {{"[^"]*clang[^"]*".* "-target-cpu" "gfx1030"}}
|
||||
// CHECK: {{"[^"]*clang[^"]*".* "-target-cpu" "gfx1031"}}
|
Loading…
Reference in New Issue