[clang] cuda clang: Add support for CUDA surfaces (PR #132883)
Austin Schuh via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 3 16:57:29 PDT 2025
================
@@ -0,0 +1,3329 @@
+// RUN: %clang_cc1 -triple nvptx-unknown-unknown -fcuda-is-device -O3 -o - %s -emit-llvm | FileCheck %s
+// RUN: %clang_cc1 -triple nvptx64-unknown-unknown -fcuda-is-device -O3 -o - %s -emit-llvm | FileCheck %s
+#include "../Headers/Inputs/include/cuda.h"
----------------
AustinSchuh wrote:
Any suggestions for how to best not duplicate it? I could copy it over, but that feels worse.
https://github.com/llvm/llvm-project/pull/132883
More information about the cfe-commits
mailing list