[Openmp-commits] [PATCH] D51107: [LIBOMPTARGET] Add support for mapping of lambda captures.

Ravi Narayanaswamy via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Aug 23 13:20:41 PDT 2018


RaviNarayanaswamy added a comment.

If the objects which are copied are not compatible between host and target due to use of pointers which have different size in a structure then it is users responsibility.
I am more interested in where you allocate memory on device you get back an opaque object of size 64.  The opaque object may be 64bit device pointer  or a high 32bit pointer to device memory and low 32bit offset from that memory or it can be a pointer to a structure which has other information.  The idea having libomptarget is to provide a thin layer between compiler and device specific plugin and we need to support different types of plugin.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D51107





More information about the Openmp-commits mailing list