aboutsummaryrefslogtreecommitdiff
path: root/offload/include/omptarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'offload/include/omptarget.h')
-rw-r--r--offload/include/omptarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/offload/include/omptarget.h b/offload/include/omptarget.h
index fd458fa0..5dddd00 100644
--- a/offload/include/omptarget.h
+++ b/offload/include/omptarget.h
@@ -80,6 +80,10 @@ enum tgt_map_type {
// Attach pointer and pointee, after processing all other maps.
// Applicable to map-entering directives. Does not change ref-count.
OMP_TGT_MAPTYPE_ATTACH = 0x4000,
+ // When a lookup fails, fall back to using null as the translated pointer,
+ // instead of preserving the original pointer's value. Currently only
+ // useful in conjunction with RETURN_PARAM.
+ OMP_TGT_MAPTYPE_FB_NULLIFY = 0x8000,
// descriptor for non-contiguous target-update
OMP_TGT_MAPTYPE_NON_CONTIG = 0x100000000000,
// member of struct, member given by [16 MSBs] - 1