[all-commits] [llvm/llvm-project] c637d4: [OpenMP][NVPTX] Fixed a compilation error in devic...

Shilei Tian via All-commits all-commits at lists.llvm.org
Tue Mar 2 20:01:30 PST 2021


  Branch: refs/heads/release/12.x
  Home:   https://github.com/llvm/llvm-project
  Commit: c637d4d136fd476d4a7418f5ecb76b80bcb6f8fc
      https://github.com/llvm/llvm-project/commit/c637d4d136fd476d4a7418f5ecb76b80bcb6f8fc
  Author: Shilei Tian <tianshilei1992 at gmail.com>
  Date:   2021-03-02 (Tue, 02 Mar 2021)

  Changed paths:
    M openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt

  Log Message:
  -----------
  [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

(cherry picked from commit f6c2984a090e78947f75e096d43b476bf2ae73eb)




More information about the All-commits mailing list