[llvm] [offload][l0] Synchronize seed upload in `olMemFill` L0 slow path (PR #215270)
Jan Trusiłło via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 20 05:07:18 PDT 2026
================
@@ -457,6 +445,24 @@ Error L0SyncQueueTy::hostCallImpl(void (*Callback)(void *), void *UserData) {
return CmdList->hostSynchronize();
}
+Error L0SyncQueueTy::memoryFillFallbackImpl(void *Ptr, const void *Pattern,
+ size_t PatternSize, size_t Size) {
+ const auto TgtType = Device.getMemAllocType(Ptr);
+ if (TgtType == ZE_MEMORY_TYPE_HOST || TgtType == ZE_MEMORY_TYPE_SHARED)
+ return memoryFillHostImpl(Ptr, Pattern, PatternSize, Size);
----------------
311Volt wrote:
Changed - replication fallback is now used for shared allocations if the device is discrete.
https://github.com/llvm/llvm-project/pull/215270
More information about the llvm-commits
mailing list