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

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Feb 25 06:56:49 PST 2020

Hahnfeld added a comment.

In D75001#1887876 <https://reviews.llvm.org/D75001#1887876>, @jdoerfert wrote:

> I like this way better. I was hoping we could do it in our cmake only :)
> Give others a day or so to comment before your commit but I'm fine with this.

Well, that doesn't really work if `openmp-commits` is only subscribed on commit. That said, the solution is a bit ugly but I don't have an alternative right now.

Somewhat related, that means Clang issues a warning for every compilation should there be a "unsupported" CUDA version around, even if it's not used? @tra maybe we can only issue the warning if CUDA is going to be used?

  rG LLVM Github Monorepo



More information about the Openmp-commits mailing list