[Openmp-commits] [PATCH] D110193: [RFC] Initial documentation for declare target indirect support.

Vyacheslav Zakharin via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Sep 21 12:36:42 PDT 2021


vzakhari added inline comments.


================
Comment at: openmp/libomptarget/docs/declare_target_indirect.md:35
+
+FE generates runtime lookup code to match the function address against the key `host_ptr` and produce the new function address `tgt_ptr` that is then used for the indirect function call.
+
----------------
If needed, we can isolate the lookup implementation into a device RTL API, so that FE just generates a lookup call to map the original function address to the device function address.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110193



More information about the Openmp-commits mailing list