[llvm] [OFFLOAD][L0] Move dataFence logic to L0Queue (PR #201046)
Nick Sarnie via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 2 07:55:11 PDT 2026
================
@@ -221,7 +221,9 @@ Error L0AsyncQueueTy::dataSubmitImpl(void *TgtPtr, const void *HstPtr,
return memoryCopy(TgtPtr, SrcPtr, Size);
}
-Error L0AsyncQueueTy::dataFenceImpl() { return CmdList->appendBarrier(); }
+Error L0AsyncQueueTy::dataFenceImpl() {
+ return CmdList->appendBarrier(nullptr, 0, nullptr);
----------------
sarnex wrote:
can we do inline commends for the args, like
(/*SignalEvent=*/nullptr, /*NumWaitEvents=*/0, /*WaitEvents=*/nullptr)
https://github.com/llvm/llvm-project/pull/201046
More information about the llvm-commits
mailing list