[clang] [clang][CUDA] Search include/cccl of CUDA 13 installations (PR #235910)
Ambrose Leeb via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 4 08:51:42 PST 2026
================
@@ -1063,10 +1063,18 @@ void CudaToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs,
if (DriverArgs.hasFlag(options::OPT_offload_inc, options::OPT_no_offload_inc,
true) &&
- CudaInstallation.isValid())
+ CudaInstallation.isValid()) {
+ StringRef IncludePath = CudaInstallation.getIncludePath();
CC1Args.append(
- {"-internal-isystem",
- DriverArgs.MakeArgString(CudaInstallation.getIncludePath())});
+ {"-internal-isystem", DriverArgs.MakeArgString(IncludePath)});
+
+ // From CUDA 13.0 on, libcu++, CUB and Thrust are in include/cccl, and some
----------------
Sirraide wrote:
I suppose that would be fine yeah
https://github.com/llvm/llvm-project/pull/235910
More information about the cfe-commits
mailing list