[Openmp-commits] [PATCH] D54035: [OPENMP][OFFLOADING]Change the lambda capturing flags.

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Nov 2 08:27:20 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL345981: [OPENMP][OFFLOADING]Change the lambda capturing flags. (authored by ABataev, committed by ).
Herald added a subscriber: llvm-commits.

Repository:
  rL LLVM

https://reviews.llvm.org/D54035

Files:
  openmp/trunk/libomptarget/src/omptarget.cpp


Index: openmp/trunk/libomptarget/src/omptarget.cpp
===================================================================
--- openmp/trunk/libomptarget/src/omptarget.cpp
+++ openmp/trunk/libomptarget/src/omptarget.cpp
@@ -543,7 +543,7 @@
 }
 
 static const unsigned LambdaMapping = OMP_TGT_MAPTYPE_PTR_AND_OBJ |
-                                      OMP_TGT_MAPTYPE_PRIVATE |
+                                      OMP_TGT_MAPTYPE_LITERAL |
                                       OMP_TGT_MAPTYPE_IMPLICIT;
 static bool isLambdaMapping(int64_t Mapping) {
   return (Mapping & LambdaMapping) == LambdaMapping;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54035.172367.patch
Type: text/x-patch
Size: 606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20181102/19a8a7da/attachment.bin>


More information about the Openmp-commits mailing list