Skip to content

Commit

Permalink
[UR][L0] Add support for in-order lists
Browse files Browse the repository at this point in the history
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
  • Loading branch information
Jaime Arteaga committed Nov 9, 2023
1 parent 000a8de commit a01527c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/adapters/level_zero/queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2004,6 +2004,10 @@ ur_command_list_ptr_t &ur_queue_handle_t_::ur_queue_group_t::getImmCmdList() {
}
}

if (Queue->isInOrderQueue()) {
ZeCommandQueueDesc.flags = ZE_COMMAND_QUEUE_FLAG_IN_ORDER;
}

// If cache didn't contain a command list, create one.
if (!ZeCommandList) {
urPrint("[getZeQueue]: create queue ordinal = %d, index = %d "
Expand Down

0 comments on commit a01527c

Please sign in to comment.