From 88cfe56ee5b23d2e4f67bca8d145a7a8afcd14b9 Mon Sep 17 00:00:00 2001 From: Ritanya B Bharadwaj Date: Tue, 1 Jul 2025 10:00:06 -0500 Subject: [PATCH] [Clang][OpenMP] OpenMP self_map clause - basic runtime --- offload/include/omptarget.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/offload/include/omptarget.h b/offload/include/omptarget.h index 6971780c7bdb5..935954b22a1f0 100644 --- a/offload/include/omptarget.h +++ b/offload/include/omptarget.h @@ -80,6 +80,8 @@ enum tgt_map_type { // the structured region // This is an OpenMP extension for the sake of OpenACC support. OMP_TGT_MAPTYPE_OMPX_HOLD = 0x2000, + // do a self map + OMP_TGT_MAPTYPE_SELF = 0x4000, // descriptor for non-contiguous target-update OMP_TGT_MAPTYPE_NON_CONTIG = 0x100000000000, // member of struct, member given by [16 MSBs] - 1