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

Johannes Doerfert via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 9 23:38:22 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
----------------
jdoerfert wrote:

Very true, but we should do that independently.
I'll open an issue or ask someone to look into it.

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


More information about the cfe-commits mailing list