[clang] cuda clang: Move nvptx-surface.cu test to CodeGenCUDA (PR #134758)

Austin Schuh via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 8 11:52:13 PDT 2025


================
@@ -2,6 +2,170 @@
 // RUN: %clang_cc1 -triple nvptx64-unknown-unknown -fcuda-is-device -O3 -o - %s -emit-llvm | FileCheck %s
 #include "Inputs/cuda.h"
 
+struct char1 {
----------------
AustinSchuh wrote:

Some of it was around one of the tests trying to include cuda.h inside an `extern "C"` section.

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


More information about the cfe-commits mailing list