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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to