[llvm] [OFFLOAD] Extend olMemRegister API to handle cases when a memory block may have been mapped outside of liboffload. (PR #172226)
Kevin Sala Penades via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 1 06:08:38 PST 2026
================
@@ -1043,11 +1044,40 @@ Expected<void *> PinnedAllocationMapTy::lockHostBuffer(void *HstPtr,
utils::getPtrDiff(HstPtr, Entry->HstPtr));
}
+ if (RegisterMappedBuffer) {
----------------
kevinsala wrote:
I'm wondering if this should be always be enabled..
https://github.com/llvm/llvm-project/pull/172226
More information about the llvm-commits
mailing list