[Openmp-commits] [PATCH] D75001: [OpenMP][cmake] ignore warning on unknown CUDA version
Kelvin Li via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Feb 25 12:22:34 PST 2020
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
More information about the Openmp-commits
mailing list