Skip to content

Commit a671d25

Browse files
authored
[UR][Offload] Don't default to out of order queues (#20211)
Whoops! Looks like we were checking the flags wrong
1 parent 1034206 commit a671d25

File tree

1 file changed

+2
-2
lines changed
  • unified-runtime/source/adapters/offload

1 file changed

+2
-2
lines changed

unified-runtime/source/adapters/offload/queue.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ struct ur_queue_handle_t_ : RefCounted {
2222
ur_queue_handle_t_(ol_device_handle_t Device, ur_context_handle_t UrContext,
2323
ur_queue_flags_t Flags)
2424
: OffloadQueues((Flags & UR_QUEUE_FLAG_OUT_OF_ORDER_EXEC_MODE_ENABLE)
25-
? 1
26-
: OOO_QUEUE_POOL_SIZE),
25+
? OOO_QUEUE_POOL_SIZE
26+
: 1),
2727
QueueOffset(0), Barrier(nullptr), OffloadDevice(Device),
2828
UrContext(UrContext), Flags(Flags) {}
2929

0 commit comments

Comments
 (0)