[Openmp-commits] [PATCH] D117997: [libomptarget] Correctly return the implicit device base address when the base itself has not been mapped.
George Rokos via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Jan 27 06:09:04 PST 2022
grokos updated this revision to Diff 403626.
grokos added a comment.
Added a check to catch the error when the user tries to map distinct sections of the same object using different pointers.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117997/new/
https://reviews.llvm.org/D117997
Files:
openmp/libomptarget/include/device.h
openmp/libomptarget/src/api.cpp
openmp/libomptarget/src/device.cpp
openmp/libomptarget/src/omptarget.cpp
openmp/libomptarget/test/mapping/array_section_implicit_capture.c
openmp/libomptarget/test/mapping/array_section_use_device_ptr.c
openmp/libomptarget/test/mapping/two_chunks_via_ptrs.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117997.403626.patch
Type: text/x-patch
Size: 17613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220127/8ca6a7ed/attachment-0001.bin>
More information about the Openmp-commits
mailing list