[clang] [Clang] [CUDA] Support ADL kernel launches (PR #240947)

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 11 03:39:36 PST 2026


================
@@ -0,0 +1,60 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -aux-triple nvptx64-nvidia-cuda -std=c++20 -fsyntax-only -fno-spell-checking -verify %s
+// RUN: %clang_cc1 -triple nvptx64-nvidia-cuda -aux-triple x86_64-unknown-linux-gnu -fcuda-is-device -std=c++20 -fsyntax-only -fno-spell-checking -verify %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -x hip -std=c++20 -fsyntax-only -fno-spell-checking -verify %s
----------------
Fznamznon wrote:

Same here with the triple

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


More information about the cfe-commits mailing list