[Openmp-commits] [PATCH] D134845: [OpenMP][libomptarget] Emit runtime message when variable is incorrectly mapped to device
Gheorghe-Teodor Bercea via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Sep 30 13:15:45 PDT 2022
doru1004 added a comment.
In D134845#3827802 <https://reviews.llvm.org/D134845#3827802>, @RaviNarayanaswamy wrote:
> This message could be printed when LIBOMPTARGET_INFO="something". I don't think it should be printed by default as it could be false positive.
Happy to enable it as an INFO.
In D134845#3825276 <https://reviews.llvm.org/D134845#3825276>, @RaviNarayanaswamy wrote:
> I am not sure if we should generate this message. The spec says "Each list item must have a corresponding list item in the device data environment or be accessible on the target device."
> The pointer may be in the unified_shared_memory.
We don't emit the message when IsHostPtr is true (i.e. when USM is enabled and not under close modifier).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134845/new/
https://reviews.llvm.org/D134845
More information about the Openmp-commits
mailing list