[all-commits] [llvm/llvm-project] 83af41: [Libomptarget] Replace Nvidia arch lookup with 'nv...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Jan 17 10:38:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83af411ca7c1572c79e4a515bf17a035837aae48
      https://github.com/llvm/llvm-project/commit/83af411ca7c1572c79e4a515bf17a035837aae48
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-01-17 (Tue, 17 Jan 2023)

  Changed paths:
    M openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake
    M openmp/libomptarget/test/lit.cfg

  Log Message:
  -----------
  [Libomptarget] Replace Nvidia arch lookup with 'nvptx-arch'

This method to look up the CUDA architecture is deprecated in newer
versions of CMake. We also have our own way to query this information
that we control now via the `nvptx-arch` program, which should always be
present in LLVM builds with clang going forward. This is currently only
used for testing so I think we should be okay with the dependency.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D141933




More information about the All-commits mailing list