[clang] [Driver][AMDGPU] Look for hipstdpar/rocThrust headers under include/jipccl (PR #246125)
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 25 12:55:23 PST 2026
================
@@ -580,12 +587,18 @@ void RocmInstallationDetector::AddHIPIncludeArgs(const ArgList &DriverArgs,
const char *ThrustPath;
if (HasRocThrustLibrary)
ThrustPath = DriverArgs.MakeArgString(HIPRocThrustPathArg);
+ else if (UseHipccl)
+ // The include root, so that <thrust/...> resolves.
+ ThrustPath = DriverArgs.MakeArgString(HipcclInc);
----------------
yxsamliu wrote:
Could we put `include/hipccl` first when we select it? With both layouts installed, the new forwarding header still pulls in the old rocThrust and rocPRIM headers.
https://github.com/llvm/llvm-project/pull/246125
More information about the cfe-commits
mailing list