[Openmp-commits] [PATCH] D142514: [OpenMP][libomptarget] Notify the plugins regarding new mapping/unmappings
Ye Luo via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jan 24 19:58:38 PST 2023
ye-luo added inline comments.
================
Comment at: openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp:797
+ auto PinnedPtrOrErr = PinnedAllocs.lockHostBuffer(
+ HstPtr, Size, /* check whether already locked */ true);
+ if (!PinnedPtrOrErr)
----------------
I don't understand this part of code.
The implementation actually lock the host buffer instead of just notifying.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142514/new/
https://reviews.llvm.org/D142514
More information about the Openmp-commits
mailing list