[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
Fri Feb 13 05:07:52 PST 2026


================
@@ -905,14 +865,20 @@ struct GenericDeviceTy : public DeviceAllocatorTy {
   /// as source/destination of memory transfers. We can use this information to
   /// lock the host buffer and optimize its memory transfers.
   Error notifyDataMapped(void *HstPtr, int64_t Size) {
----------------
kevinsala wrote:

@fineg74 ?

https://github.com/llvm/llvm-project/pull/172226


More information about the llvm-commits mailing list