summaryrefslogtreecommitdiffstats
path: root/openmp/libomptarget/test/mapping/declare_mapper_api.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [OPENMP][OFFLOADING]Fix the test, NFC.Alexey Bataev2019-08-061-4/+5
| | | | llvm-svn: 368068
* [OpenMP 5.0] libomptarget interface for declare mapper functions.Michael Kruse2019-08-041-0/+46
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 llvm-svn: 367772
OpenPOWER on IntegriCloud