================
@@ -236,6 +236,8 @@ enum class OpenMPOffloadMappingFlags : uint64_t {
// dynamic.
// This is an OpenMP extension for the sake of OpenACC support.
OMP_MAP_OMPX_HOLD = 0x2000,
+ /// Self directs mapping without creating a separate device copy.
+ OMP_MAP_SELF = 0x4000,
----------------
kparzysz wrote:
Whoever generates the mappings has to guarantee that they are correct. The
OMP_MAP_LITERAL is just a mechanism to pass the pointer[1] without any
modifications.
Is the OMP_MAP_SELF a part of some bigger plan? Are you planning to add more
reviewers? I'd like to see what others think about this.
[1] It doesn't have to be a pointer, just something that fits in a register.
https://github.com/llvm/llvm-project/pull/134131
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits