[OpenMP][NVPTX] Fixed a compilation error in deviceRTLs caused by unsupported feature...
authorShilei Tian <tianshilei1992@gmail.com>
Tue, 23 Feb 2021 18:20:13 +0000 (13:20 -0500)
committerShilei Tian <tianshilei1992@gmail.com>
Tue, 23 Feb 2021 18:20:21 +0000 (13:20 -0500)
commitf6c2984a090e78947f75e096d43b476bf2ae73eb
tree12bc1a93e2e4af3226c5c8ae988bc1dfc50335bb
parentaf8adea155a14b99381532fc22122b7218e65db4
[OpenMP][NVPTX] Fixed a compilation error in deviceRTLs caused by unsupported feature in release verion of LLVM

`ptx71` is not supported in release version of LLVM yet. As a result,
the support of CUDA 11.2 and CUDA 11.1 caused a compilation error as mentioned
in D97004. Since the support in D97004 is just a WA for releease, and we'll not
use it in the near future, using `ptx70` for CUDA 11 is feasible.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D97195
openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt