================
@@ -0,0 +1,55 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -aux-triple 
nvptx64-nvidia-cuda -std=c++20 -emit-llvm -o - %s | FileCheck %s 
--check-prefix=HOST
+// RUN: %clang_cc1 -triple nvptx64-nvidia-cuda -aux-triple 
x86_64-unknown-linux-gnu -fcuda-is-device -std=c++20 -emit-llvm -o - %s | 
FileCheck %s --check-prefix=DEVICE
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -aux-triple 
amdgcn-amd-amdhsa -x hip -std=c++20 -emit-llvm -o - %s | FileCheck %s 
--check-prefix=HOST
----------------
Fznamznon wrote:

```suggestion
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -aux-triple 
amdgpu9.00-amd-amdhsa -x hip -std=c++20 -emit-llvm -o - %s | FileCheck %s 
--check-prefix=HOST
```

AFAIK there is some movement around triples, could you please not use amdgcn

https://github.com/llvm/llvm-project/pull/240947
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to