You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to submit the command-buffer work. However, this level-zero function has
350
+
limitations and, as such, this path is used only when the immediate append
351
+
path is unavailable.
352
+
353
+
#### Immediate Append Path implementation details
354
+
355
+
This path is only available when the device supports immediate command-lists
356
+
and the [zeCommandListImmediateAppendCommandListsExp](https://oneapi-src.github.io/level-zero-spec/level-zero/latest/core/api.html#zecommandlistimmediateappendcommandlistsexp)
357
+
API. This API has a `phWaitEvents` argument which allows for a cleaner and more efficient
358
+
implementation than what can be achieved when using the wait-event path
359
+
(see [this section](#wait-event-path-implementation-details-) for
360
+
more details about the wait-event path).
361
+
362
+
This path relies on 3 different command-lists in order to execute the
363
+
command-buffer:
364
+
365
+
-`ComputeCommandList` - Used to submit command-buffer work that requires
366
+
the compute engine.
367
+
-`CopyCommandList` - Used to submit command-buffer work that requires the
368
+
[copy engine](#copy-engine). This command-list is not created when none of the
369
+
nodes require the copy engine.
370
+
-`EventResetCommandList` - Used to reset the level-zero events that are
371
+
needed for every submission of the command-buffer. This is executed after
372
+
the compute and copy command-lists have finished executing. For the first
373
+
execution, this command-list is skipped since there is no need to reset events
374
+
at this point. When counter-based events are enabled (i.e. the command-buffer
375
+
is in-order), this command-list is not created since counter-based events do
376
+
not need to be reset.
377
+
378
+
The following diagram illustrates which commands are executed on
379
+
each command-list when the command-buffer is enqueued:
0 commit comments