[PATCH] D64558: Added mapping for pointers captured in Lambdas in OpenMP target regions

David Truby via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 11 05:02:59 PDT 2019


DavidTruby created this revision.
DavidTruby added a reviewer: ABataev.
Herald added subscribers: cfe-commits, jdoerfert, guansong.
Herald added a project: clang.

This adds a zero length array section mapping for each pointer captured by a lambda that is used in a target region, as per section 2.19.7.1 of the OpenMP 5 specification.


Repository:
  rC Clang

https://reviews.llvm.org/D64558

Files:
  lib/CodeGen/CGOpenMPRuntime.cpp
  test/OpenMP/nvptx_lambda_pointer_capturing.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64558.209179.patch
Type: text/x-patch
Size: 10378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190711/f5d784b6/attachment.bin>


More information about the cfe-commits mailing list