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

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Aug 23 13:07:29 PDT 2018


ABataev added a comment.

In https://reviews.llvm.org/D51107#1211400, @RaviNarayanaswamy wrote:

> Provide additional APIs in plugins if necessary to accomplish the arithmetic operations.
>  By doing arithmetic for target address in libomptarget you are assuming the pointer size is 64.


I don't think it will solve the problem. If the host is 32 bits, the arithmetics also will be 32 bits. IIUC, you're talking about the situation where the host is 64 bits and device is 32 bits, right? In this case, you still will have troubles, because you just cannot bitmap complex types correctly.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D51107





More information about the Openmp-commits mailing list