[Openmp-commits] [PATCH] D70971: [libomptarget] Build a minimal deviceRTL for amdgcn

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 3 10:33:33 PST 2019


JonChesterfield created this revision.
JonChesterfield added a reviewer: ABataev.
Herald added subscribers: openmp-commits, jfb, mgorny, jvesely.
Herald added a reviewer: jdoerfert.
Herald added a project: OpenMP.

[libomptarget] Build a minimal deviceRTL for amdgcn

Repeat of D70414 <https://reviews.llvm.org/D70414>, with an include path fixed. Diff for sanity checking.

The CMakeLists.txt file is functionally identical to the one used in the aomp fork.
Whitespace changes were made based on nvptx/CMakeLists.txt, plus the
copyright notice updated to match (Greg was the original author so would
like his sign off on that here).

This change will build a small subset of the deviceRTL if an appropriate toolchain is
available, e.g. a local install of rocm. Support.h is moved from nvptx as a dependency
of debug.h.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70971

Files:
  openmp/libomptarget/deviceRTLs/CMakeLists.txt
  openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
  openmp/libomptarget/deviceRTLs/amdgcn/src/device_environment.h
  openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
  openmp/libomptarget/deviceRTLs/common/debug.h
  openmp/libomptarget/deviceRTLs/common/support.h
  openmp/libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.h
  openmp/libomptarget/deviceRTLs/nvptx/src/support.cu
  openmp/libomptarget/deviceRTLs/nvptx/src/support.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70971.231946.patch
Type: text/x-patch
Size: 14239 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20191203/8b387bd4/attachment-0001.bin>


More information about the Openmp-commits mailing list