We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a289cfe commit b1e1cddCopy full SHA for b1e1cdd
sycl/plugins/level_zero/pi_level_zero.hpp
@@ -340,6 +340,11 @@ struct _pi_queue : _pi_object {
340
// The Level-Zero fence that will be signalled at completion.
341
ze_fence_handle_t ZeFence;
342
// Record if the fence is in use by any command-list.
343
+ // This is needed to avoid leak of the tracked command-list if the fence
344
+ // was not yet signaled at the time all events in that list were already
345
+ // completed (we are polling the fence at events completion). The fence
346
+ // may be still "in-use" due to sporadic delay in HW.
347
+ //
348
bool InUse;
349
} command_list_fence_t;
350
0 commit comments