[Openmp-commits] [PATCH] D60972: [OpenMP 5.0] libomptarget interface for declare mapper functions

Lingda Li via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Apr 24 12:29:18 PDT 2019


lildmh added a comment.

Hi George,

Thanks for the review.

You are right that `target_data` is a combination of `target_data_begin` and `target_data_end`. They also need to add that code to check if there is a valid mapper. This modification will be in a future patch.

The purpose of this patch is to have an API that is called by the mapper function generated by Clang. In the generated mapper function, it could perform either the functionality of `target_data_begin` or `target_data_end`, or a combination of both, depending on the map type. Therefore it's necessary to have `target_data`, the combination of `target_data_begin` and `target_data_end`.


Repository:
  rOMP OpenMP

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

https://reviews.llvm.org/D60972





More information about the Openmp-commits mailing list