kkwli0 added a comment.

In D75001#1891966 <https://reviews.llvm.org/D75001#1891966>, @tra wrote:

> In D75001#1891861 <https://reviews.llvm.org/D75001#1891861>, @kkwli0 wrote:
>
> > @tra Will it also include -fopenmp-targets=nvptx64-nvidia-cuda?
>
>
> If you're asking whether the warning will be disabled for OpenMP, then no. 
> This OpenMP target appears to rely on CUDA, and I think all the reasons for 
> the warning existence do still apply.
>  If you're asking about the workaround, it would only work for non-CUDA 
> compilations that don't really need CUDA SDK, so the answer is probably 'no' 
> as well as you will need a valid CUDA path.


Thanks.  I meant the former.  This can also solve the other issue mentioned in 
D74571 <https://reviews.llvm.org/D74571>.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75001/new/

https://reviews.llvm.org/D75001



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to