[PATCH] D75806: [CUDA] Add CUDA 10.2 detection

2020-03-09 Thread Raul Tambre via Phabricator via cfe-commits
tambre added a comment. 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? Reposito

[PATCH] D75806: [CUDA] Add CUDA 10.2 detection

2020-03-09 Thread Artem Belevich via Phabricator via cfe-commits
tra requested changes to this revision. tra added a comment. This revision now requires changes to proceed. 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 de

[PATCH] D75806: [CUDA] Add CUDA 10.2 detection

2020-03-07 Thread Raul Tambre via Phabricator via cfe-commits
tambre created this revision. tambre added reviewers: tra, jlebar. Herald added a project: clang. Herald added a subscriber: cfe-commits. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D75806 Files: clang/include/clang/Basic/Cuda.h clang/lib/Basic/Cuda.cpp clang/lib/Driver/