[Openmp-commits] [PATCH] D157918: [Libomptarget] Support mapping indirect host calls to device functions

Jan-Patrick Lehr via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Aug 25 13:47:25 PDT 2023


jplehr added inline comments.


================
Comment at: openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp:310
+      IndirectCallTable.size() * sizeof(std::pair<void *, void *>);
+  void *DevicePtr = Device.allocate(TableSize, nullptr, TARGET_ALLOC_DEVICE);
+  if (auto Err = Device.dataSubmit(DevicePtr, IndirectCallTable.data(),
----------------
Can this error?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157918



More information about the Openmp-commits mailing list