[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:01:08 PDT 2026


================
@@ -126,6 +126,15 @@ class L0CmdListManagerTy {
                       NumWaitEvents, WaitEvents);
     return Plugin::success();
   }
+
+  Error appendBarrier(ze_event_handle_t SignalEvent = nullptr,
----------------
sarnex wrote:

can we avoid the default arguments? they are often the cause for bugs, often it's better to force the args or create seperate functions if we have totally difference call use cases

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


More information about the llvm-commits mailing list