[PATCH] D75001: [OpenMP][cmake] ignore warning on unknown CUDA version

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 25 12:10:53 PST 2020


tra added a comment.

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.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75001





More information about the cfe-commits mailing list