Skip to content

Commit d226e4d

Browse files
add cmdlist flag to hint offloading copy operations to different engines (#418)
This is equivalent of ZE_COMMAND_QUEUE_FLAG_COPY_OFFLOAD_HINT for regular cmdlist Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
1 parent e28a4ec commit d226e4d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

scripts/core/cmdlist.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ etors:
4242
- name: EXP_CLONEABLE
4343
version: "1.9"
4444
desc: "this command list may be cloned using $xCommandListCreateCloneExp after $xCommandListClose."
45+
- name: COPY_OFFLOAD_HINT
46+
version: "1.15"
47+
desc: |
48+
Try to offload copy operations to different engines. Applicable only for compute queues.
49+
This is only a hint. Driver may ignore it per append call, based on platform capabilities or internal heuristics.
4550
--- #--------------------------------------------------------------------------
4651
type: struct
4752
desc: "Command List descriptor"

scripts/core/cmdqueue.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ etors:
3232
- name: COPY_OFFLOAD_HINT
3333
version: "1.14"
3434
desc: |
35-
Try to offload copy operations to different engines. Applicable only for compute queues.
36-
This is only a hint. Driver may ignore it per append call, based on platform capabilities or internal heuristics.
35+
To be used only when creating immediate command lists and only for compute queues.
36+
Try to offload copy operations to different engines. This is only a hint.
37+
Driver may ignore it per append call, based on platform capabilities or internal heuristics.
3738
--- #--------------------------------------------------------------------------
3839
type: enum
3940
desc: "Supported command queue modes"

0 commit comments

Comments
 (0)