[Openmp-commits] [PATCH] D145513: [Libomptarget] Update handling of architectures for DeviceRTL

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Mar 7 08:37:14 PST 2023


jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, tianshilei1992, gregrodgers, ye-luo, JonChesterfield.
Herald added subscribers: kosarev, tpr.
Herald added a project: All.
jhuber6 requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.

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 with a runtimes build, or another
install somewhere. But that only prevents users from using auto).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145513

Files:
  openmp/libomptarget/DeviceRTL/CMakeLists.txt
  openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145513.503063.patch
Type: text/x-patch
Size: 5999 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230307/bd24459a/attachment-0001.bin>


More information about the Openmp-commits mailing list