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

Shilei Tian via All-commits all-commits at lists.llvm.org
Tue Feb 23 10:20:39 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6c2984a090e78947f75e096d43b476bf2ae73eb
      https://github.com/llvm/llvm-project/commit/f6c2984a090e78947f75e096d43b476bf2ae73eb
  Author: Shilei Tian <tianshilei1992 at gmail.com>
  Date:   2021-02-23 (Tue, 23 Feb 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




More information about the All-commits mailing list