[Openmp-commits] [PATCH] D121499: [openmp] Generalise function instantiation macro from dlwrap

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Mar 11 15:57:19 PST 2022


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

Generalise the instantiation boilerplate for easier reuse elsewhere

Now compiles without <tuple>, i.e. on a GPU for potential use in D121467 <https://reviews.llvm.org/D121467>.
Splitting type into a separate parameter allows use with overloaded functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121499

Files:
  openmp/libomptarget/include/dlwrap.h
  openmp/libomptarget/include/make_function.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121499.414766.patch
Type: text/x-patch
Size: 23222 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220311/b73e071e/attachment-0001.bin>


More information about the Openmp-commits mailing list