[CUDA] Add partial support for recent CUDA versions.
authorArtem Belevich <tra@google.com>
Tue, 7 Apr 2020 18:00:19 +0000 (11:00 -0700)
committerArtem Belevich <tra@google.com>
Wed, 8 Apr 2020 18:19:44 +0000 (11:19 -0700)
commita9627b7ea7e2b47488188cb1d80a23b24a8066b2
treee539e3c8cc11324093b5ff90df38e8395b7d0d62
parent33386b20aa82c73e28b871cfa35c89a3808c9f92
[CUDA] Add partial support for recent CUDA versions.

Generate PTX using newer versions of PTX and allow using sm_80 with CUDA-11.
None of the new features of CUDA-10.2+ have been implemented yet, so using these
versions will still produce a warning.

Differential Revision: https://reviews.llvm.org/D77670
clang/include/clang/Basic/Cuda.h
clang/lib/Basic/Cuda.cpp
clang/lib/Basic/Targets/NVPTX.cpp
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
clang/lib/Driver/ToolChains/Cuda.cpp
llvm/lib/Target/NVPTX/NVPTX.td