[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:19:22 PDT 2018
ABataev created this revision.
ABataev added a reviewer: gtbercea.
Herald added a subscriber: guansong.
The previously used combination `PTR_AND_OBJ | PRIVATE` could be used
for mapping of some data in Fortran. Changed it to `PTR_AND_OBJ |
LITERAL`.
Repository:
rOMP OpenMP
https://reviews.llvm.org/D54035
Files:
libomptarget/src/omptarget.cpp
Index: libomptarget/src/omptarget.cpp
===================================================================
--- libomptarget/src/omptarget.cpp
+++ 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.172364.patch
Type: text/x-patch
Size: 567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20181102/cc03dca4/attachment.bin>
More information about the Openmp-commits
mailing list