[llvm] [OFFLOAD][L0] Use counter-based events for inorder queues (PR #202301)

Alex Duran via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 08:19:56 PDT 2026


================
@@ -33,9 +33,10 @@ class L0EventTy {
   ze_event_handle_t getZeEvent() const { return ZeEvent; }
   L0QueueTy *getQueue() const { return Queue; }
 
-  Error reset() {
+  Error reset(bool SkipEventReset) {
----------------
adurang wrote:

L0 requires "normal" events to be reset before they can be reused. This has nothing to do with resetting the queue (other than events associated to the queue maybe reset at that point). 

For counter-based events this requirement is lifted and so we try to avoid the reset when we return the events to the pool.

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


More information about the llvm-commits mailing list