[all-commits] [llvm/llvm-project] d23b9f: [Libomptarget] Update handling of architectures fo...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Mar 8 09:22:55 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d23b9fa61d190a7a95a83303987b186450d5c58a
      https://github.com/llvm/llvm-project/commit/d23b9fa61d190a7a95a83303987b186450d5c58a
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/CMakeLists.txt
    M openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake

  Log Message:
  -----------
  [Libomptarget] Update handling of architectures for DeviceRTL

The support for enabling and disabling certain architectures for the
OpenMP device RTL is different between AMD and Nvidia. This patch
updates the logic to make it common. This supports the `auto` format
more generally via the `nvptx-arch` and `amdgpu-arch` options. (These
are not availible at CMake time without a runtimes build, or another
install somewhere. But that only prevents users from using auto).

Reviewed By: ye-luo

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




More information about the All-commits mailing list