[Clang][OpenMP] Update driver test case for OpenMP offload to use sm_35
authorShilei Tian <tianshilei1992@gmail.com>
Sat, 20 Feb 2021 20:13:22 +0000 (15:13 -0500)
committerShilei Tian <tianshilei1992@gmail.com>
Sat, 20 Feb 2021 20:14:13 +0000 (15:14 -0500)
commit33d660939d9acb027f9941f037802936124dad8c
tree1beca6a7883f9d9e3223bb5892cb9de5b3e5a3a5
parente8b8f896024620eb86bf924be73100d83c74c736
[Clang][OpenMP] Update driver test case for OpenMP offload to use sm_35

`sm_35` is the minimum requirement for OpenMP offloading on NVPTX device.
Current driver test case is using `sm_20`. D97003 is going to switch the minimum
CUDA version to 9.2, which only supports `sm_30+`. This patch makes step for the
change.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D97120
clang/test/Driver/Inputs/libomptarget/libomptarget-nvptx-cuda_80-sm_35.bc [moved from clang/test/Driver/Inputs/libomptarget/libomptarget-nvptx-cuda_80-sm_20.bc with 100% similarity]
clang/test/Driver/openmp-offload-gpu.c