[clang] [clang] Add cuda-path arguments to failing test (PR #84008)
Jonas Hahnfeld via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 5 05:21:53 PST 2024
hahnjo wrote:
> > It definitely doesn't work for the "pure" CUDA invocations, it still finds my local installation and complains. It might work for the OpenMP invocations, but hard to tell for me on a system with CUDA installed. As it's a `.cu` test after all, I think I would prefer the uniformity of passing `--cuda-path` everywhere and be safe from any weird interaction.
>
> Might need `-nogpulib -nogpuinc` in those cases, we do that in other `.cu` files in the test suite.
No, I already tried that, it doesn't work for me. All `clang/test/Driver/*.cu` that supply `-nocudainc` also pass `--cuda-path`...
https://github.com/llvm/llvm-project/pull/84008
More information about the cfe-commits
mailing list