[Openmp-commits] [PATCH] D95300: [OpenMP][deviceRTLs] Separate declaration of target dependent functions from `target_impl.h`

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Jan 23 18:36:26 PST 2021


tianshilei1992 created this revision.
tianshilei1992 added reviewers: jdoerfert, JonChesterfield, ABataev, grokos.
Herald added subscribers: jfb, guansong, yaxunl, jvesely.
tianshilei1992 requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.

This patch created a new header file `target_impl.h` for declarations
of all target dependent functions. All future targets can get things work by
simply implementing all functions declared in the header and macros/data same as
each `target_impl.h`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95300

Files:
  openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
  openmp/libomptarget/deviceRTLs/common/debug.h
  openmp/libomptarget/deviceRTLs/common/omptarget.h
  openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
  openmp/libomptarget/deviceRTLs/target_interface.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95300.318803.patch
Type: text/x-patch
Size: 8236 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210124/7b9d38b5/attachment.bin>


More information about the Openmp-commits mailing list