commit | e8bd614a37e220abc0cbc5f24cfea266526eecea | [log] [tgz] |
---|---|---|
author | Michael Kruse <llvm@meinersbur.de> | Sun Aug 04 04:18:28 2019 +0000 |
committer | Michael Kruse <llvm@meinersbur.de> | Sun Aug 04 04:18:28 2019 +0000 |
tree | 61208ebcf970506f608c29d11d8724c2ea806a44 | |
parent | 716f6ba727f8f606255a39c84cd974f50d51c386 [diff] |
[OpenMP 5.0] libomptarget interface for declare mapper functions. This patch implements the libomptarget runtime interface for OpenMP 5.0 declare mapper functions. The declare mapper functions generated by Clang will call them to complete the mapping of members. kmpc_mapper_num_components gets the current number of components for a user-defined mapper; kmpc_push_mapper_component pushes back one component for a user-defined mapper. The design slides can be found at https://github.com/lingda-li/public-sharing/blob/master/mapper_runtime_design.pptx Patch by Lingda Li <lildmh@gmail.com> Differential Revision: https://reviews.llvm.org/D60972 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@367772 91177308-0d34-0410-b5e6-96231b3b80d8