[PATCH] D134396: [OpenMP][libomptarget] New plugin infrastructure and new CUDA plugin

Kevin Sala Penadés via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 17 08:30:06 PDT 2022


kevinsala updated this revision to Diff 468213.
kevinsala set the repository for this revision to rG LLVM Github Monorepo.
kevinsala added a comment.

This update fixes the comments of the reviewers. The major changes with respect to the latest version is the removal of `TgtError` class and use of `llvm::Error` directly. It also replaces the `std::unordered_map` with `llvm::DenseMap` and removes the map's lock too. Additionally, the patch adds a few changes needed by the future "nextgen" AMD plugin, now under development.

If these changes are fine by the reviewers, I'll update the patch with the rebased version, so it can be merged.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134396/new/

https://reviews.llvm.org/D134396

Files:
  llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h
  openmp/libomptarget/CMakeLists.txt
  openmp/libomptarget/include/Utilities.h
  openmp/libomptarget/include/rtl.h
  openmp/libomptarget/plugins-nextgen/CMakeLists.txt
  openmp/libomptarget/plugins-nextgen/aarch64/CMakeLists.txt
  openmp/libomptarget/plugins-nextgen/common/CMakeLists.txt
  openmp/libomptarget/plugins-nextgen/common/PluginInterface/CMakeLists.txt
  openmp/libomptarget/plugins-nextgen/common/PluginInterface/GlobalHandler.cpp
  openmp/libomptarget/plugins-nextgen/common/PluginInterface/GlobalHandler.h
  openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
  openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h
  openmp/libomptarget/plugins-nextgen/cuda/CMakeLists.txt
  openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
  openmp/libomptarget/plugins-nextgen/exports
  openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp
  openmp/libomptarget/plugins-nextgen/ppc64/CMakeLists.txt
  openmp/libomptarget/plugins-nextgen/ppc64le/CMakeLists.txt
  openmp/libomptarget/plugins-nextgen/x86_64/CMakeLists.txt
  openmp/libomptarget/src/rtl.cpp
  openmp/libomptarget/test/lit.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134396.468213.patch
Type: text/x-patch
Size: 171757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221017/b5c44070/attachment-0001.bin>


More information about the llvm-commits mailing list