[clang] [llvm] [Offload][CUDA] Add initial cuda_runtime.h overlay (PR #94821)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 7 22:21:46 PDT 2024


================
@@ -0,0 +1,30 @@
+// RUN: %clang++ -foffload-via-llvm --offload-arch=native %s -o %t
+// RUN: %t | %fcheck-generic
+
+// UNSUPPORTED: aarch64-unknown-linux-gnu
+// UNSUPPORTED: aarch64-unknown-linux-gnu-LTO
+// UNSUPPORTED: x86_64-pc-linux-gnu
+// UNSUPPORTED: x86_64-pc-linux-gnu-LTO
----------------
arsenm wrote:

Better to enable supported cases? 

https://github.com/llvm/llvm-project/pull/94821


More information about the cfe-commits mailing list