[PATCH] D59474: [OpenMP 5.0] Codegen support for user-defined mappers

Lingda Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 10 09:18:17 PDT 2019


lildmh marked an inline comment as done.
lildmh added inline comments.


================
Comment at: lib/CodeGen/CGOpenMPRuntime.cpp:8729
+/// \code
+/// void .omp_mapper.<type_name>.<mapper_id>.(void *rt_mapper_handle,
+///                                           void *base, void *begin,
----------------
ABataev wrote:
> This function looks like the universal one, regardless of the type `<type_name>` specifics. Do we really need to generate it for each particular type and mapper? Or we could use the same function for all types/mappers?
I think we need a particular mapper function for each type and mapper, because the code generated within the mapper function depends on what type and what mapper it is.


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

https://reviews.llvm.org/D59474





More information about the cfe-commits mailing list