diff --git a/source/adapters/level_zero/queue.cpp b/source/adapters/level_zero/queue.cpp index 994f595a5d..8d03c2220e 100755 --- a/source/adapters/level_zero/queue.cpp +++ b/source/adapters/level_zero/queue.cpp @@ -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 "