[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:22 PST 2026
================
@@ -60,3 +60,14 @@
// RUN: -flto -nogpulib %s 2>&1 | \
// RUN: FileCheck --check-prefix=NO-HIPSTDPAR %s
// NO-HIPSTDPAR-NOT: "-amdgpu-enable-hipstdpar"
+
+// Check that rocThrust and the hipstdpar header are taken from
+// <rocm>/include/hipccl when present.
+// RUN: %clang -### --target=x86_64-unknown-linux-gnu --hipstdpar \
+// RUN: --rocm-path=%S/Inputs/rocm \
+// RUN: --hipstdpar-prim-path=%S/Inputs/hipstdpar/rocprim \
----------------
yxsamliu wrote:
Could we look for rocPRIM under `include/hipccl` too? The new test passes `--hipstdpar-prim-path`, so it skips the default lookup.
https://github.com/llvm/llvm-project/pull/246125
More information about the cfe-commits
mailing list