diff --git a/unified-runtime/source/adapters/offload/queue.hpp b/unified-runtime/source/adapters/offload/queue.hpp index 8561812187e8f..cd7a0db1fee95 100644 --- a/unified-runtime/source/adapters/offload/queue.hpp +++ b/unified-runtime/source/adapters/offload/queue.hpp @@ -22,8 +22,8 @@ struct ur_queue_handle_t_ : RefCounted { ur_queue_handle_t_(ol_device_handle_t Device, ur_context_handle_t UrContext, ur_queue_flags_t Flags) : OffloadQueues((Flags & UR_QUEUE_FLAG_OUT_OF_ORDER_EXEC_MODE_ENABLE) - ? 1 - : OOO_QUEUE_POOL_SIZE), + ? OOO_QUEUE_POOL_SIZE + : 1), QueueOffset(0), Barrier(nullptr), OffloadDevice(Device), UrContext(UrContext), Flags(Flags) {}