Skip to content

Commit 44df8eb

Browse files
authored
Deprecated flags ZE_COMMAND_LIST_FLAG_EXPLICIT_ONLY and ZE_COMMAND_QUEUE_FLAG_EXPLICIT_ONLY (#335)
Removed the description for driver optimization acrosss sub devices when these flags are not used. Signed-off-by: PRADEEP BG <[email protected]>
1 parent 6019607 commit 44df8eb

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

scripts/core/PROG.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -821,11 +821,6 @@ Execution
821821
- Command queue submission is free-threaded, allowing multiple Host threads to share the same command queue.
822822
- If multiple Host threads enter the same command queue simultaneously, then execution order is undefined.
823823
- Command lists can only be executed on a command queue with an identical command queue group ordinal.
824-
- If a device contains multiple sub-devices, then command lists submitted to a device-level command queue
825-
may be optimized by the driver to fully exploit the concurrency of the sub-devices by distributing command lists across sub-devices.
826-
- If the application prefers to opt-out of these optimizations, such as when the application plans to perform this distribution itself,
827-
then it should use ${X}_COMMAND_QUEUE_FLAG_EXPLICIT_ONLY. Only command lists created using ${X}_COMMAND_LIST_FLAG_EXPLICIT_ONLY
828-
can be executed on a command queue created using ${X}_COMMAND_QUEUE_FLAG_EXPLICIT_ONLY.
829824

830825

831826
Destruction
@@ -869,11 +864,6 @@ Appending
869864
- For usage-models where maximum throughput is desired, applications should
870865
use ${X}_COMMAND_LIST_FLAG_MAXIMIZE_THROUGHPUT. This flag will indicate to the driver
871866
it may perform additional device-specific optimizations.
872-
- If a device contains multiple sub-devices, then commands submitted to a device-level
873-
command list may be optimized by the driver to fully exploit the concurrency of the
874-
sub-devices by distributing commands across sub-devices. If the application prefers
875-
to opt-out of these optimizations, such as when the application plans to perform this
876-
distribution itself, then it should use ${X}_COMMAND_LIST_FLAG_EXPLICIT_ONLY.
877867

878868
The following pseudo-code demonstrates a basic sequence for creation of command lists:
879869

scripts/core/cmdlist.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ etors:
3030
command list should be optimized for submission to a single command queue and device engine.
3131
driver **must** disable any implicit optimizations for distributing work across multiple engines.
3232
this flag should be used when applications want full control over multi-engine submission and scheduling.
33+
This flag is **DEPRECATED** and implementations are not expected to support this feature.
3334
- name: IN_ORDER
3435
version: "1.7"
3536
desc: |

scripts/core/cmdqueue.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ etors:
2020
command queue should be optimized for submission to a single device engine.
2121
driver **must** disable any implicit optimizations for distributing work across multiple engines.
2222
this flag should be used when applications want full control over multi-engine submission and scheduling.
23+
This flag is **DEPRECATED** as flag ${X}_COMMAND_LIST_FLAG_EXPLICIT_ONLY is **DEPRECATED**.
2324
- name: IN_ORDER
2425
version: "1.7"
2526
desc: |
@@ -72,7 +73,7 @@ members:
7273
name: index
7374
desc: |
7475
[in] command queue index within the group;
75-
must be zero if $X_COMMAND_QUEUE_FLAG_EXPLICIT_ONLY is not set
76+
must be zero if $X_COMMAND_QUEUE_FLAG_EXPLICIT_ONLY is not set.
7677
- type: $x_command_queue_flags_t
7778
name: flags
7879
desc: |

0 commit comments

Comments
 (0)