Consider checking whether a pointer has been mapped can be achieved via omp_get_mapped_ptr.
omp_target_is_present is more needed to check whether the storage being pointed is mapped.
This restore the old behavior of omp_target_is_present before D123093
Fixes https://github.com/llvm/llvm-project/issues/54899
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM based on your discussion so far with the language committee, but please give Ravi some time to comment.
openmp/libomptarget/test/mapping/target_implicit_partial_map.c | ||
---|---|---|
19 | I suggest checking another boundary case too: &arr[49]. |
I suggest checking another boundary case too: &arr[49].