Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This looks like an elaborate way to achieve the effect of -Wno-unknown_cuda_version. :-)
Similar change has been discussed recently. See https://reviews.llvm.org/D74571#1875340 which details why I think it's not a good idea.
Comment Actions
Thanks for the context!
To avoid other people stepping into this trap, maybe it'd make sense to reword this warning to say "unsupported" instead of "unknown"?
Or maybe add detection for newer versions, but introduce a separate warning for unsupported versions?